[pygtk] Add global event handler
Fredrik Corneliusson
fredrik.corneliusson at gmail.com
Wed Mar 12 20:51:07 WST 2008
Hi Folks,
I want to add a function similar to MS Windows Alt keycodes
("http://en.wikipedia.org/wiki/Windows_Alt_keycodes") to be able to
enter special characters in any widget.
Now I've added event handler for the main window but my application
uses multiple windows (search/replace etc.) and I would prefer to not
explicitly add event handlers for every window.
What would be the best way (and is is possible in pygtk) to do this so
all widgets support this?
BTW, I'm aware of the default GTK way ("CTRL+SHIFT+uNNNN") of entering
characters by their hexadecimal value but that is not an option for
this application as it needs to integrate well in win32.
Regards,
Fredrik
More information about the pygtk
mailing list