On Tue, 2007-02-20 at 20:10 +0100, David Nečas (Yeti) wrote: > On Tue, Feb 20, 2007 at 10:30:08AM -0800, Brian J. Tarricone wrote: > > On Tue, 20 Feb 2007 22:34:38 +1100 Justin Clift wrote: > > > Whenever any gtk program has its menu open, keystrokes don't seem to > > > be processed for anything other than what's in the menu itself. i.e. > > > the up, down, and enter keys work (and maybe shortcuts), and that's > > > it. (These keys move the selection up and down the menu that's open) > > > > > > There doesn't seem to be a way to gets other keys fed through to > > > things expecting them. > > > > Yes, when gtk pops up a menu, it does a keyboard grab to ensure that > > the menu gets all key events. > > > > > So, recommendations on what to do from here? Is there a way to tell > > > GTK to feed keystrokes onwards when a menu is open? > > > > I don't believe so, no, but someone else may have a better answer.
I'm not sure what you're looking for, seems normal behaviour for menus to grab the focus when they're active (at least I'm used to that behaviour) - if your app has a specific need to trap a key when a popup menu is active - is there any reason why using a keyboard snooper[1] wouldnt work ? Cheers, -Tristan [1] http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-key-snooper-install _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list