Re: [Pythonmac-SIG] Button Label change on EVT_BUTTON in wxpython!!!

2011-08-29 Thread Chris.Barker
A) this is a good question for the wxPython list -- probably not a Mcac issue B) http://wiki.wxpython.org/MakingSampleApps That being said: self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install') self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON) I prefer this style: self.ru

[Pythonmac-SIG] PyObjC and signal handling

2011-08-29 Thread Vinay Sajip
How does PyObjC deal with signals received by an application? If I run a windowed PyObjC application, I can't interrupt it with Ctrl-C (this is on Leopard). I know this is no big deal, since I can always use Cmd-., but there are instances where a signal might be sent programmatically to a process.