wxPython - PLEASE Help
Donnal Walter
donnal at donnal.net
Wed Dec 25 14:58:07 EST 2002
rudy.schockaert at pandora.be (Rudy Schockaert) wrote:
> can you show me with a piece of code how you handle events
> bound to the control?
...
self.load = wxButton(self, -1, "Load")
...
EVT_BUTTON(self, self.load.GetId(), self.onLoad)
def onLoad(self, event):
print 'load button pressed', event
(just in case Cliff is busy today, :-)
Hope this helps,
Donnal Walter
Arkansas Chldren's Hospital
More information about the Python-list
mailing list