[wxPython-users] Question about events
Shoemaker, Ronnie A.
Ronnie.A.Shoemaker at usa-spaceops.com
Mon Jun 4 08:52:47 PDT 2007
Try:
self.Bind(wx.EVT_BUTTON, self.EvtSomething, btn)
---------------------------------------
Ron Shoemaker
---------------------------------------
-----Original Message-----
From: Hugues JEAN-BAPTISTE [mailto:hjb at agorinfo.fr]
Sent: Monday, June 04, 2007 8:56 AM
To: wxPython-users at lists.wxwidgets.org
Subject: [wxPython-users] Question about events
Hi all,
Is it possible to know if a user has clicked or done "Enter" on a button ?
I tried :
btn.Bind(wx.EVT_CHAR, self.EvtChar)
For "F6" key, I go to self.EvtChar, but for "Enter" key, not ...
Friendly.
--
Hugues JEAN-BAPTISTE (hjb at agorinfo.fr)
AGORINFO S.A.S. (http://www.agorinfo.fr)
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
More information about the wxpython-users
mailing list