Gtk.ApplicationWindow.prototype.set_show_menubar

function set_show_menubar(show_menubar:Boolean):void {
    // Gjs wrapper for gtk_application_window_set_show_menubar()
}

Sets whether the window will display a menubar for the app menu and menubar as needed.

Since 3.4

show_menubar

whether to show a menubar when needed