[pygtk] Forwarding key-press-event to another widget

Noam Yorav-Raphael noamraph at gmail.com
Thu Jul 2 05:55:27 WST 2009


Hello,

In the code editor I'm writing, I have a list of completions opened in
a popup window. Since it's a popup window, key press events go to the
text view below. I would like the list to scroll when the user presses
up, down, pgup, pgdn, home, end. Is there a way to forward those key
press events to the TreeView so that those keys will act as though the
TreeView had the focus?

Thanks,
Noam


More information about the pygtk mailing list