Gtk.MenuBar

const Gtk = imports.gi.Gtk;

let menu_bar = new Gtk.MenuBar({
    child_pack_direction: value,
    pack_direction: value,
});
  

The Gtk.MenuBar is a subclass of Gtk.MenuShell which contains one or more #GtkMenuItems. The result is a standard menu bar which can hold many menu items.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.MenuShell
            • Gtk.MenuBar