IMenuButton

A clickable button that is part of a menu.

Members

Functions

onClick
void delegate() onClick()

Gets the callback that is executed when the button is clicked.

onClick
void onClick(void delegate() callback)

Sets the callback that is executed when the button is clicked.

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