sending all key events to wx.panel?

KvS keesvanschaik at gmail.com
Thu Nov 24 20:18:53 EST 2005


Hi all,

I have a wxPython GUI consisting of a wxWindow -> wxPanel -> set of
widgets. I need to catch pressed keys no matter which widget has focus,
so I've attached an event handler to the panel but I can't seem to find
a way to do some kind of collective "sending through" of the key event
from all the widgets on the panel to that handler in case the panel
doesn't have focus. Is there some way to do this?

Thanks in advance!

- Kees




More information about the Python-list mailing list