Detect TKinter window being closed?

Fredrik Lundh fredrik at pythonware.com
Fri Dec 2 17:24:42 CET 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