Gio.Menu.prototype.prepend_item

function prepend_item(item: Gio.MenuItem): void {
    // Gjs wrapper for g_menu_prepend_item()
}
  

Prepends item to the start of menu.

See Gio.Menu.prototype.insert_item for more information.

Since 2.32

item

a Gio.MenuItem to prepend