Since it is not a GUI window I wouldn’t expect it to raise GUI events and if you close it by clicking the x you will kill your application. Change your .pay file to .pyw and you will not get it in the first place or if it is showing
useful information change wx.App(redired=) and provide a debug window that you can have an OnClose handler.
···
-----Original Message-----
From: Spondita
Sent: 28 Jun 2012 06:05:26 GMT
To: wxpython-users@googlegroups.com
Subject: [wxPython-users] Event binder to handle closing of python shell window event
Hi all,
Is there any event binder to bind when the following event occurs :
** " Closing of the python shell window " **
I want to do some processing when I manually close the black window that appears with the GUI application.
Hence I am looking for an event binder to handle this event.
Thanks in advance,
Spondita
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en