Menu.getActive

gtk.widget.Widget getActive()

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

Returns

the #GtkMenuItem that was last selected

in the menu. If a selection has not yet been made, the first menu item is selected.