Button Control

(UI 0.9.9)


Represents a labelled clickable button

Class synopsis

class UI\Controls\Button extends UI\Control {
/* Constructor */
public __construct(string $text)
/* Methods */
public getText(): string
protected onClick()
public setText(string $text)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top