Menu.setActive

void setActive(uint index)

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

Parameters

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