TextButton

Button with a label.

Constructors

this
this(string text, Font font)

Ctor

Members

Aliases

color
alias color = label.color
Undocumented in source.
text
alias text = label.text
Undocumented in source.

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

label
Label label;

The text of the button.

Inherited Members

From Button

onClick
void function() onClick;

Function callback triggered when *onSubmit* is called.

onSubmit
void onSubmit()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta