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