Gio.Menu.prototype.append_item

function append_item(item: Gio.MenuItem): void {
    // Gjs wrapper for g_menu_append_item()
}
  

Appends item to the end of menu.

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

Since 2.32

item

a Gio.MenuItem to append