[pygtk] Forwarding key-press-event to another widget
Noam Yorav-Raphael
noamraph at gmail.com
Thu Jul 2 09:29:51 WST 2009
I just implemented these by myself (it wasn't *too* hard, although
pgup and pgdn were a bit tricky), so it's ok. Thanks!
2009/7/2 Noam Yorav-Raphael <noamraph at gmail.com>:
> 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