Method

GtkMenuShellselect_first

Declaration [src]

void
gtk_menu_shell_select_first (
  GtkMenuShell* menu_shell,
  gboolean search_sensitive
)

Description [src]

Select the first visible or selectable child of the menu shell; don’t select tearoff items unless the only item is a tearoff item.

Available since:2.2

Parameters

search_sensitive gboolean
 

If TRUE, search for the first selectable menu item, otherwise select nothing if the first item isn’t sensitive. This should be FALSE if the menu is being popped up initially.