Method

GtkMenuget_active

Declaration [src]

GtkWidget*
gtk_menu_get_active (
  GtkMenu* menu
)

Description [src]

Returns the selected menu item from the menu. This is used by the GtkComboBox.

Gets propertyGtk.Menu:active

Return value

Type: GtkWidget

The GtkMenuItem that was last selected in the menu. If a selection has not yet been made, the first menu item is selected.

The returned data is owned by the instance.