wxPython - PLEASE Help
Cliff Wells
clifford.wells at attbi.com
Thu Dec 26 00:54:15 EST 2002
On Wed, 2002-12-25 at 11:58, Donnal Walter wrote:
> 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, :-)
Just what I would have said =)
Rudy,
I suggest you also subscribe to the wxPython user's list:
http://www.wxpython.org/maillist.php
You'll find a very helpful and knowledgeable community there.
Regards,
Cliff
--
Cliff Wells <clifford.wells at attbi.com>
More information about the Python-list
mailing list