TKinter-destroying a window

gregholmes at my-deja.com gregholmes at my-deja.com
Tue Apr 18 14:21:51 CEST 2000


Sorry, I'm reading TFM but haven't figured this
out yet. If I am done with a secondary (or
tertiary, or whatever) window (in TKinter), can I
just destroy the window or do I need to get rid
of any class instantiation that is
attached/associated to it? i.e.

....
theWindow=Toplevel()
solveThis=SolveThis(theWindow)
....
theWindow.destroy()
??

Will the class instantiation and its variables
and everything still be laying around?


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list