class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeCanvasItemControl MenuBar
A horizontal menu bar that creates a MenuButton for each PopupMenu child.

A horizontal menu bar that creates a MenuButton for each PopupMenu child. New items are created by adding PopupMenus to this node.

bool flat<>():bool

Flat MenuBar don't display item decoration.

String language<>():String

Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead.

bool prefer_global_menu<>():bool

If true, MenuBar will use system global menu when supported.

int start_index<>():int

Position in the global menu to insert first MenuBar item at.

bool switch_on_hover<>():bool

If true, when the cursor hovers above menu item, it will close the current PopupMenu and open the other one.

TextDirection text_direction<>():TextDirection

Base text writing direction.

int get_menu_count<>():int

Returns number of menu items.

PopupMenu get_menu_popup<>( int menu=, menu:int=, ):PopupMenu

Returns PopupMenu associated with menu item.

String get_menu_title<>( int menu=, menu:int=, ):String

Returns menu item title.

String get_menu_tooltip<>( int menu=, menu:int=, ):String

Returns menu item tooltip.

bool is_menu_disabled<>( int menu=, menu:int=, ):bool

Returns true, if menu item is disabled.

bool is_menu_hidden<>( int menu=, menu:int=, ):bool

Returns true, if menu item is hidden.

bool is_native_menu<>():bool

Returns true, if system global menu is supported and used by this MenuBar.

void set_disable_shortcuts<>( bool disabled=, disabled:bool=, ):void

If true, shortcuts are disabled and cannot be used to trigger the button.

void set_menu_disabled<>( int menu=, menu:int=, bool disabled=, disabled:bool=, ):void

If true, menu item is disabled.

void set_menu_hidden<>( int menu=, menu:int=, bool hidden=, hidden:bool=, ):void

If true, menu item is hidden.

void set_menu_title<>( int menu=, menu:int=, String title=, title:String=, ):void

Sets menu item title.

void set_menu_tooltip<>( int menu=, menu:int=, String tooltip=, tooltip:String=, ):void

Sets menu item tooltip.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...