[Tkinter-discuss] How to catch when the root window closes?

inhahe inhahe at gmail.com
Tue Mar 25 23:42:56 CET 2008


I tried doing root.bind("<Destroy>",onquit)
but i don't get why onquit is called *18* times when I exit the app.
what's the ideal way to execute something *once* when the app is exited?
Thanks,
inhahe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20080325/77d59a3e/attachment.htm 


More information about the Tkinter-discuss mailing list