[Pythonmac-SIG] catching the Cmd+Q event
Henning Hraban Ramm
hraban at fiee.net
Sun Aug 24 11:08:25 CEST 2008
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)
More information about the Pythonmac-SIG
mailing list