Detect TKinter window being closed?

Fredrik Lundh fredrik at
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?


More information about the Python-list mailing list