hi people.
when i create a widget, such as a toplevel window, and then i destroy
it, how can i test that it has been destroyed? the problem is that even
after it has been destroyed, the instance still exists and has a tkinter
name, so testing for None is not feasible:
[color=blue][color=green][color=darkred]
>>> import Tkinter
>>> fin = None
>>> fin1 = Tkinter.Topleve l()
>>> fin1.destroy()
>>> print fin1[/color][/color][/color]
..1075951116
any help?
bye
macs
when i create a widget, such as a toplevel window, and then i destroy
it, how can i test that it has been destroyed? the problem is that even
after it has been destroyed, the instance still exists and has a tkinter
name, so testing for None is not feasible:
[color=blue][color=green][color=darkred]
>>> import Tkinter
>>> fin = None
>>> fin1 = Tkinter.Topleve l()
>>> fin1.destroy()
>>> print fin1[/color][/color][/color]
..1075951116
any help?
bye
macs
Comment