Detect TKinter window being closed?

Glen stygian at tesco.net
Fri Dec 2 10:48:24 EST 2005


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?

Python 2.4 / Linux (2.6 kernel) if that makes any difference.
Any info would be greatly appreciated.
Thanks
Glen



More information about the Python-list mailing list