Re: Detect TKinter window being closed?

2005-12-02 Thread Glen
Thanks Fredrik and Adonis that's just what I needed, plus a bit more to learn about. -- http://mail.python.org/mailman/listinfo/python-list

Re: Detect TKinter window being closed?

2005-12-02 Thread Fredrik Lundh
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 -- http://mail.python.org/

Re: Detect TKinter window being closed?

2005-12-02 Thread Adonis
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? > > Python 2.4 / Linux (2.6 kernel) if that makes any difference. > Any info would be greatly appreciated.

Detect TKinter window being closed?

2005-12-02 Thread Glen
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 -- http://