[Pythonmac-SIG] catching the Cmd+Q event

David Warde-Farley dwf at cs.toronto.edu
Mon Aug 25 07:45:26 CEST 2008


Hmm, that's an interesting idea. Do you mean to say __del__ of wx.App?

David

On 24-Aug-08, at 5:08 AM, Henning Hraban Ramm wrote:

> Am 2008-08-24 um 10:41 schrieb David Warde-Farley:
>
>> I was wondering if anyone knew of a way to catch Cmd+Q in a  
>> threaded wx/Tkinter/etc. event loop.
>
> I remember catching the quit event of a wxPython loop on Windows  
> several years ago, because there was a zombie process left if I  
> didn't close the last window carefully.
> As far as I can remember, I overwrote the __del__ method of the  
> application.
>
>
> Greetlings from Lake Constance!
> Hraban
> ---
> http://www.fiee.net
> https://www.cacert.org (I'm an assurer)
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list