Capturing exit

Fredrik Lundh effbot at telia.com
Thu Oct 5 11:06:36 EDT 2000


Hans Kristian Ruud wrote:
> Is there any way of capturing the event "Exit" in Tkinter
> ( for Window users, this occurs when the user
> clicks the 'x'-button in the upper right corner of the window)

sure.  see "Protocols" towards the end of this page:
http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm

</F>




More information about the Python-list mailing list