[wxPython-users] Re: fixed key bindings in notebook
Robin Dunn
robin at alldunn.com
Wed Mar 19 17:51:04 PDT 2008
Franz Steinhaeusler wrote:
>> For the record, this works because wxSTC is a generic control and so it
>> is driven all from wx events. If you had tried doing the same with a
>> native widget such as a wxTextCtrl it would not work because an
>> unhandled key event sent this way does not get converted to a native
>> platform event and forwarded on to the native widget as if the user had
>> pressed the key.
>
> Thank for your info. So with other words I had luck. ;)
> Is this limitation fix or could that be changed in a future version?
>
Probably not. I doubt that we want to deal with the complexity that it
would take to perfectly simulate turning all wx events into native
platform events. We do have EmulateKeypress however, that works fairly
well with wx.TextCtrl on Windows, and to a lesser extent on the other
platforms.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list