I would 开发者_如何学JAVAlike to be able to have a keyboard shortcut to do a certain thing, like CTRL+O, or something else...
xlib or pyGTK will work well.
The gtk.AccelGroup class (PyGTK) might be a good place to start. There are some examples in Virtaal's source (1 2 3 and more around the source).
精彩评论