Re: Tkinter and dialogs

2006-07-08 Thread madpython
dwelch91 wrote: > I'm trying unsuccessfully to do something in Tk that I though would be > easy. It is easy. > The basic idea is that my application will consist of a series of modal > dialogs, that are chained together in "wizard" fashion. Didn't have time to get into the code you posted. Just thi

Re: Tkinter and dialogs

2006-07-06 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, dwelch91 wrote: > When I run this (Ubuntu 6.06), I get no windows, not even the root Tk one. > > Any ideas??? > > […] > > global root > root = Tk() > root.after_idle(show_ui) > root.mainloop() What is this `after_idle()` call supposed to do? The main loop isn't running

Re: Tkinter and dialogs

2006-07-06 Thread Fredrik Lundh
dwelch91 wrote: > I get no windows, not even the root Tk one. no time to dig deeper into this right now, but the culprit is probably a combination of this line self.transient(parent) and the after_idle approach to create the Dialog (Toplevel) window. the transient call tells Tkint

Tkinter and dialogs

2006-07-06 Thread dwelch91
I'm trying unsuccessfully to do something in Tk that I though would be easy. After Googling this all day, I think I need some help. I am admittedly very novice with Tk (I started with it yesterday), so I am sure I am overlooking something simple. The basic idea is that my application will consi