[Tkinter-discuss] How to dettach a Toplevel

Sorin Schwimmer sxn02 at yahoo.com
Tue Nov 28 18:25:06 CET 2006


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?

Thanks,
Sorin




 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20061128/302ea94e/attachment.htm 


More information about the Tkinter-discuss mailing list