Gtk.Menu.prototype.set_active
function set_active(index:Number):void { // Gjs wrapper for gtk_menu_set_active() }
Selects the specified menu item within the menu. This is used by the Gtk.ComboBox and should not be used by anyone else.
- index
the index of the menu item to select. Iindex values are from 0 to n-1