Documentation | InterfaceKit | menu_info
DESCRIPTION
Exposes the C++ menu_info
struct as a
native map.
FIELDS
font_size
A floating point number containing the font size (in points).
f_family
A string, the font family.
f_style
A string, the font style.
background_color
An rgb_color object representing the menu background color.
separator
A integer representing the style of the menu separator. BeOS R5 supported
0
, 1
, or 2
here. As far as I can tell, Haiku ignores this value.
click_to_open
A boolean, controls whether clicking on an item will open its submenu. As far as I can tell, Haiku ignores this value and always opens a submenu when you click on the controlling item.
(I'm sure there is an interesting history behind this option; some novel use of menus that made not opening the submenu a good idea.)
triggers_always_shown
A boolean, indicates whether menu triggers are shown. Defaults to false.