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>