Method

GtkMenuShellactivate_item

Declaration [src]

void
gtk_menu_shell_activate_item (
  GtkMenuShell* menu_shell,
  GtkWidget* menu_item,
  gboolean force_deactivate
)

Description [src]

Activates the menu item within the menu shell.

Parameters

menu_item

Type: GtkWidget

The GtkMenuItem to activate.

The data is owned by the caller of the method.
force_deactivate

Type: gboolean

If TRUE, force the deactivation of the menu shell after the menu item is activated.