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

inhahe inhahe at gmail.com
Wed Mar 26 00:22:49 CET 2008

oh, duh, i just had to put something after root.mainloop()

On Tue, Mar 25, 2008 at 6:42 PM, inhahe <inhahe at gmail.com> wrote:

> 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/7220afd6/attachment-0001.htm 

More information about the Tkinter-discuss mailing list