I have a GTK window with two elements, an Entry that functions as a search input and a ListBox that displays search results. When the ListBox has focus (e.g. the user is navigating it with arrow keys) I'd like to direct any character key presses they make to the search input Entry instead of the ListBox.
I'd appreciate any pointers on redirecting the target of certain GTK events or any other way to handle this situation. I'm using gtk-rs, but I imagine any language's GTK solution will be enough for me to go on.
Thanks!