Gtk.MenuShell.prototype.activate_item
function activate_item(menu_item:Gtk.Widget, force_deactivate:Boolean):void { // Gjs wrapper for gtk_menu_shell_activate_item() }
Activates the menu item within the menu shell.
- menu_item
the Gtk.MenuItem to activate
- force_deactivate
if true, force the deactivation of the menu shell after the menu item is activated