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] Button Label change on EVT_BUTTON in wxpython!!!

2011-08-28 Thread Praveen
Some system info before proceeding further: Platform: Mac OS X 10.7.1 Python Version: ActiveState Python 2.7.1 wxPython Version: [url= http://downloads.sourceforge.net/wxpython/wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7[/url ] I want the button label to be changed while p