A horizontal menu bar that creates a MenuButton for each PopupMenu child. New items are created by adding PopupMenus to this node.
Flat MenuBar don't display item decoration.
Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.
If true
, MenuBar will use system global menu when supported.
Position in the global menu to insert first MenuBar item at.
If true
, when the cursor hovers above menu item, it will close the current PopupMenu and open the other one.
Base text writing direction.
Returns number of menu items.
Returns PopupMenu associated with menu item.
Returns menu item title.
Returns menu item tooltip.
Returns true
, if menu item is disabled.
Returns true
, if menu item is hidden.
Returns true
, if system global menu is supported and used by this MenuBar.
If true
, shortcuts are disabled and cannot be used to trigger the button.
If true
, menu item is disabled.
If true
, menu item is hidden.
Sets menu item title.
Sets menu item tooltip.