How do I catch a keyboard event before the focused widget sees it,
handle it myself, and prevent further processing from sending it to that
focused widget?
Derive a class from wxEvtHandler, and hook events to its methods just like
you do for Windows. Push an instance of this class onto each widget with
PushEventHandler() and then all hooked events will go to that object first.
If you call event.Skip() from within the event handler method then the event
is sent to the widget for normal processing after your handler is done with
it.
ยทยทยท
--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!