Gtk.Menu.prototype.get_active
function get_active():Gtk.Widget { // Gjs wrapper for gtk_menu_get_active() }
Returns the selected menu item from the menu. This is used by the Gtk.ComboBox.
- Returns
the Gtk.MenuItem that was last selected in the menu. If a selection has not yet been made, the first menu item is selected.