root.quit

Gorny gorny at hobbiton.org
Fri Jun 8 14:38:26 EDT 2001


Hai,

When I'm creating a windows with tkinter and I close it with a
Quit command in the menu it quits nicely:

self.filemenu.add_command(label='Quit', underline = 0,
command=self.master.quit)

But when I'm closing the window with the cross (X) in the right-upper-corner
of the window the window is gone but pythonw still runs in the background.
An root.destory and a root.quit after the root.mainloop won't work.. :(

Greetz,
Gorny


--
Never trust anything that bleeds for 3-5 days and doesn't die...
http://gorny.cjb.net





More information about the Python-list mailing list