Tab Control

Introduction

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

Class synopsis

UI\Controls\Tab
class UI\Controls\Tab extends UI\Control {
/* Properties */
protected $controls;
/* Methods */
public int append(string $name, UI\Control $control)
public bool delete(int $index)
public bool hasMargin(int $page)
public insertAt(string $name, int $page, UI\Control $control)
public int pages()
public setMargin(int $page, bool $margin)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents