IButton

A clickable button.

Members

Functions

onClick
void delegate() onClick()

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

onClick
void onClick(void delegate() callback)

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

text
string text()

Gets the text displayed on the button.

text
void text(string text)

Sets the text displayed on the button.

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