Question about Tkinter windows

Hendrik van Rooyen mail at microcorp.co.za
Fri Dec 22 23:41:59 EST 2006


Manuel Malo de Molina  wrote in an email:

>Hi, thanks for answering. The problem is that the window
>can be closed in many ways (including some not
>controlled by the program, as the X on the top right), 
>is there a way to capture the window closing event?

Please keep it on the list so that other people can see it later
in searches...

You should be able to do this with a try ... finally - I don't, 
however, have any experience of this as I have never used it.

Maybe some one else can give a definite answer?

- Hendrik






More information about the Python-list mailing list