Control Grid (Arrangement)

Introduction

A Grid is a control which is allows the arrangement of children into a grid

Class synopsis

UI\Controls\Grid
class UI\Controls\Grid extends UI\Control {
/* Constants */
const int UI\Controls\Grid::Fill;
const int UI\Controls\Grid::Start;
const int UI\Controls\Grid::Center;
const int UI\Controls\Grid::End;
const int UI\Controls\Grid::Leading;
const int UI\Controls\Grid::Top;
const int UI\Controls\Grid::Trailing;
const int UI\Controls\Grid::Bottom;
/* Properties */
protected $controls;
/* Methods */
public append(
    UI\Control $control,
    int $left,
    int $top,
    int $xspan,
    int $yspan,
    bool $hexpand,
    int $halign,
    bool $vexpand,
    int $valign
)
public bool isPadded()
public setPadded(bool $padding)
/* 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()
}

Predefined Constants

UI\Controls\Grid::Fill

UI\Controls\Grid::Start

UI\Controls\Grid::Center

UI\Controls\Grid::End

UI\Controls\Grid::Leading

UI\Controls\Grid::Top

UI\Controls\Grid::Trailing

UI\Controls\Grid::Bottom

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents