Tab Control

(UI 0.9.9)

Introduction

A Tab can contain many pages of Controls, each with a title, each selectable by the user.

Class synopsis

class UI\Controls\Tab extends UI\Control {
/* Properties */
protected $controls;
/* Methods */
public append(string $name, UI\Control $control): int
public delete(int $index): bool
public hasMargin(int $page): bool
public insertAt(string $name, int $page, UI\Control $control)
public pages(): int
public setMargin(int $page, bool $margin)
/* Inherited methods */
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents