Package: gtk

Class gtk-menu-bar

Superclasses

gtk-menu-shell, gtk-container, gtk-widget, gtk-buildable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

child-pack-direction
The child-pack-direction property of type gtk-pack-direction (Read / Write)
The child pack direction of the menu bar. It determines how the widgets contained in child menuitems are arranged.
Default value: :ltr
pack-direction
The pack-direction property of type gtk-pack-direction (Read / Write)
The pack direction of the menu bar. It determines how menuitems are arranged in the menu bar.
Default value: :ltr

Details

The gtk-menu-bar class is a subclass of the gtk-menu-shell class which contains one or more gtk-menu-item widgets. The result is a standard menu bar which can hold many menu items.

CSS nodes

The gtk-menu-bar implementation has a single CSS node with name menubar.

Style Property Details

internal-padding
The internal-padding style property of type :int (Read)
Amount of border space between the menu bar shadow and the menu items.
Warning: The internal-padding style property has been deprecated since version 3.8 and should not be used in newly written code. Use the standard padding CSS property, through objects like gtk-style-context and gtk-css-provider. The value of this style property is ignored.
Allowed values: >= 0
Default value: 1
shadow-type
The shadow-type style property of type gtk-shadow-type (Read)
Style of bevel around the menu bar.
Warning: The shadow-type style property has been deprecated since version 3.20 and should not be used in newly written code. Use CSS to determine the shadow. The value of this style property is ignored.
Default value: :out
 

Slot Access Functions

Inherited Slot Access Functions

See also

*2021-11-13