change keybindings for pygtk treeview

Fabian Braennstroem f.braennstroem at gmx.de
Fri Oct 27 08:21:17 EDT 2006


Hi,

I am just testing pygtk/glade out and wonder, if I am able
to change the keybindings. E.g. the treeview searches by
default for the entries beginning with the typed keystroke;
moving to the next row works as usual with the Down key. Now
I would like to change the key bindings to e.g. 'j' to move
to the next row (just like in vim) and to use a 'Ctrl' key
combination to search for a certain word beginning with the
typed key stroke.
Is it anyhow possible with pygtk? Would be nice, if somebody
can point my to a small example.

Greetings!
 Fabian




More information about the Python-list mailing list