Button Control

(UI 0.9.9)

Introduction

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