[pygtk] Adding key bindings to a SourceView instance

Oliver Andrich oliver.andrich at gmail.com
Tue Jun 7 02:39:34 WST 2005


Hi,

after returning to python after somewhat getting of the right way :),
I am toying around pygtk and GtkSourceView. May be I have missed
something, overread a part of the tutorial, but how do I add a key
binding to a pygtk widget? Or SourceView?

What I like to achieve is, that as soon as I hit "STRG+Space" oder
"STRG+O" a method is called, that I provide.

Any hints would be highly appreciated. May be I just experience the
information overload. :)

Best regards,
Oliver


More information about the pygtk mailing list