IMenu

A menu or submenu.

Members

Functions

add
void add(IMenu menu)

Adds a submenu to the menu.

add
void add(IMenuButton button)

Adds a menu button to the menu.

text
string text()

Gets the text for this menu.

text
void text(string )

Sets the text for this menu.

Inherited Members

From IComponent

visible
void visible(bool visible)

Sets the visibility of the component.

visible
bool visible()

Gets the visibility of the component.

getInternal
IComponent getInternal()

Returns the component owned by the backend.

Meta