Re: [PythonCE] Tkinter captures the little "X" close window button?

2008-03-05 Thread Frédéric Mantegazza
On mercredi 05 mars 2008, Jim Walsh wrote: > I want to do something when the user taps the little "X" in the upper > right hand corner. Can we do the default action of hiding the app? I use something like: self.protocol("WM_DELETE_WINDOW", self._quit) to bind the X close button to my _quit

[PythonCE] Tkinter captures the little "X" close window button?

2008-03-05 Thread Jim Walsh
I remember something about capturing Windows events with Tkinter but can't seem to find it now. I want to do something when the user taps the little "X" in the upper right hand corner. Can we do the default action of hiding the app? I use SmallMenu to switch apps and it shows the PythonCE windo