Gio.Menu.new

function new(): Gio.Menu {
    // Gjs wrapper for g_menu_new()
}
  

Creates a new Gio.Menu.

The new menu has no items.

Since 2.32

Returns

a new Gio.Menu