Gio.Menu.prototype.remove_all

function remove_all(): void {
    // Gjs wrapper for g_menu_remove_all()
}
  

Removes all items in the menu.

Since 2.38