Re: Tkinter, tkMessagebox and overrideredirect

2007-06-07 Thread marcoberi
On Jun 6, 3:38 pm, Eric Brunel [EMAIL PROTECTED] wrote: My only advice would then be to avoid using the standard functions to create dialog boxes, and to create them yourself. For example: -- from Tkinter import * [snip]

Re: Tkinter, tkMessagebox and overrideredirect

2007-06-07 Thread Eric Brunel
On Thu, 07 Jun 2007 09:04:24 +0200, [EMAIL PROTECTED] wrote: [snip] I can't believe there isn't an easier way to make a kiosk application without titlebar. That's not the problem: there *is* an easy way, and you found it: overrideredirect(1). But now you're trying to mix windows ignored by

Re: Tkinter, tkMessagebox and overrideredirect

2007-06-07 Thread marcoberi
On Jun 7, 12:01 pm, Eric Brunel [EMAIL PROTECTED] wrote: BTW, what are you trying to do here? Will your application run on a normal desktop computer? Or will it run on special devices such as vending machines or similar? You got it: it's a special device. in the second case, you shouldn't

Re: Tkinter, tkMessagebox and overrideredirect

2007-06-06 Thread Eric Brunel
On Tue, 05 Jun 2007 18:18:51 +0200, [EMAIL PROTECTED] wrote: Hi everybody. I have this code snippet that shows a window without a titlebar (using overrideredirect) and two buttons on it: one quits and the other one brings up a simple tkMessageBox. On Windows (any flavour) the tkMessagebox

Re: Tkinter, tkMessagebox and overrideredirect

2007-06-06 Thread marcoberi
On Jun 6, 8:55 am, Eric Brunel [EMAIL PROTECTED] wrote: Apparently: Eric, first of all, thanks! def hello(self): self.root.after_idle(self.root.lower) tkMessageBox.showinfo(Popup, Hello!) Well, this lowers the background frame but I want to keep it visible under the popup. As an

Re: Tkinter, tkMessagebox and overrideredirect

2007-06-06 Thread Eric Brunel
On Wed, 06 Jun 2007 14:26:12 +0200, [EMAIL PROTECTED] wrote: As an aside, having a window with overrideredirect(1) creating normal windows such as the one created via tkMessageBox.showinfo is asking for problems. What are you trying to do here? I just need a window without the titlebar as my

Tkinter, tkMessagebox and overrideredirect

2007-06-05 Thread marcoberi
Hi everybody. I have this code snippet that shows a window without a titlebar (using overrideredirect) and two buttons on it: one quits and the other one brings up a simple tkMessageBox. On Windows (any flavour) the tkMessagebox brings up over the underlying window. On Linux (apparently any