Re: Inherited Function Key Behavior

2009-02-07 Thread dhk
Larry Reaves wrote: > Googling for "gtk f10" turns up this: > http://markmail.org/message/aff2za6nil5ftzso > > Basically, this should do the trick: > > GtkSettings *gtk_settings; > gtk_settings = gtk_settings_get_for_screen(gdk_screen_get_default()); > g_object_set(gtk_settings, "gtk-menu-bar-acc

Re: Inherited Function Key Behavior

2009-02-07 Thread Larry Reaves
Googling for "gtk f10" turns up this: http://markmail.org/message/aff2za6nil5ftzso Basically, this should do the trick: GtkSettings *gtk_settings; gtk_settings = gtk_settings_get_for_screen(gdk_screen_get_default()); g_object_set(gtk_settings, "gtk-menu-bar-accel", NULL, NULL); What that does is

Inherited Function Key Behavior

2009-02-07 Thread dhk
My GTK program seems to have inherited some function keys from somewhere. When I press F10 the menu in the menu bar opens and when I press F10 again it goes away. The same behavior happens in the gnome-terminal. When I press F10 my key press event isn't even called, but F9 and others work. Does