On Tue, 28 Nov 2006 09:25:06 -0800 (PST) Sorin Schwimmer <[EMAIL PROTECTED]> wrote:
> Hi, > > If I have: > > <code> > from Tkinter import * > root=Tk() > tl=Toplevel() > root.mainloop() > </code> > > and then close the root window, it will take tl with it. Is there a way to > keep tl alive after root dies? > Hi Sorin, maybe what you actually want is *two* Toplevels and *no* root: from Tkinter import * root = Tk() root.withdraw() t1 = Toplevel() t2 = Toplevel() root.mainloop() I hope this helps Michael _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss