Detect TKinter window being closed?

Fredrik Lundh fredrik at pythonware.com
Fri Dec 2 11:24:42 EST 2005


Glen wrote:

> Is it possible to to detect a Tkinter top-level window being closed with the
> close icon/button (top right), for example to call a function before the
> window actually closes?

http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm#protocols

</F> 






More information about the Python-list mailing list