An enumeration representing directional movements within a menu.
GTK_MENU_DIR_PARENT
To the parent menu shell
GTK_MENU_DIR_CHILD
To the submenu, if any, associated with the item
GTK_MENU_DIR_NEXT
To the next menu item
GTK_MENU_DIR_PREV
To the previous menu item
Property Details
The "take-focus" property
"take-focus" gboolean : Read / Write
A boolean that determines whether the menu and its submenus grab the
keyboard focus. See gtk_menu_shell_set_take_focus() and
gtk_menu_shell_get_take_focus().
Default value: TRUE
Since 2.8
Signal Details
The "activate-current" signal
void user_function (GtkMenuShell *menushell,
gboolean force_hide,
gpointer user_data) : Action
An action signal that activates the current menu item within
the menu shell.
menushell :
the object which received the signal
force_hide :
if TRUE, hide the menu after activating the menu item
user_data :
user data set when the signal handler was connected.
An enumeration representing directional movements within a menu. GTK_MENU_DIR_PARENT To the parent menu shell GTK_MENU_DIR_CHILD To the submenu, if any, associated with the item GTK_MENU_DIR_NEXT To the next menu item GTK_MENU_DIR_PREV To the previous menu item Property Details The "take-focus" property "take-focus" gboolean : Read / Write A boolean that determines whether the menu and its submenus grab the keyboard focus. See gtk_menu_shell_set_take_focus() and gtk_menu_shell_get_take_focus(). Default value: TRUE Since 2.8 Signal Details The "activate-current" signal void user_function (GtkMenuShell *menushell, gboolean force_hide, gpointer user_data) : Action An action signal that activates the current menu item within the menu shell. menushell : the object which received the signal force_hide : if TRUE, hide the menu after activating the menu item user_data : user data set when the signal handler was connected.