Gtk.MenuShell.prototype.get_parent_shell

function get_parent_shell():Gtk.Widget {
    // Gjs wrapper for gtk_menu_shell_get_parent_shell()
}

Gets the parent menu shell.

The parent menu shell of a submenu is the Gtk.Menu or Gtk.MenuBar from which it was opened up.

Since 3.0

Returns

the parent Gtk.MenuShell