[pygtk] global keyboard shortcut (hotkey) in pygtk

Péter Szabó ptspts at gmail.com
Tue Apr 28 02:10:25 WST 2009


Hi,

Is it possible to install a global keyboard shortcut, so if the user
presses Ctrl-Alt-X anywhere, and my pygtk application is running, my
application would get an event? The C program xbindkeys uses the
XGrabKey function for that. Is there a pygtk equivalent? I'm using
Linux.

Thanks,

Péter


More information about the pygtk mailing list