Re: Button and Key Event

2006-03-16 Thread lux
Thanks, I think that the solution for my problem is only to use an AcceleratorTable. In this way I can capture the key pressed event without the "button problem" Luca -- http://mail.python.org/mailman/listinfo/python-list

Re: Button and Key Event

2006-03-15 Thread [EMAIL PROTECTED]
assuming you have a button instantiated and named myButton in 2.6 (namespace is relevant I think prior to 2.4 you had a diff namespace for wx) for this example i am guessing you are creating the button as part of a panel or some other object you are extending (ie self) self.myButton.Bind(wx.E

Button and Key Event

2006-03-15 Thread lux
Hi, how to enable EVT_CHAR or EVT_KEY_DOWN in a wxButton? Thank's, Luca -- http://mail.python.org/mailman/listinfo/python-list