Re: [Pythonmac-SIG] catching the Cmd+Q event

2008-08-24 Thread David Warde-Farley
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

Re: [Pythonmac-SIG] catching the Cmd+Q event

2008-08-24 Thread Henning Hraban Ramm
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

[Pythonmac-SIG] catching the Cmd+Q event

2008-08-24 Thread David Warde-Farley
Hi all, I was wondering if anyone knew of a way to catch Cmd+Q in a threaded wx/Tkinter/etc. event loop. The reason is that ipython ( http://ipython.sourceforge.net/ ) supports several plotting toolkits for interactive data analysis, however if you habitually hit Cmd+Q to close the window