Method

GtkMenuset_active

Declaration [src]

void
gtk_menu_set_active (
  GtkMenu* menu,
  guint index
)

Description [src]

Selects the specified menu item within the menu. This is used by the GtkComboBox and should not be used by anyone else.

Sets propertyGtk.Menu:active

Parameters

index

Type: guint

The index of the menu item to select. Index values are from 0 to n-1.