phpday 2027 - Call for Papers

Control Grid (Arrangement)

(UI 0.9.9)

Introduction

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

Class synopsis

class UI\Controls\Grid extends UI\Control {
/* Constants */
const int Fill;
const int Start;
const int Center;
const int End;
const int Leading;
const int Top;
const int Trailing;
const int Bottom;
/* Properties */
protected $controls;
/* Methods */
public function append(
    UI\Control $control,
    int $left,
    int $top,
    int $xspan,
    int $yspan,
    bool $hexpand,
    int $halign,
    bool $vexpand,
    int $valign
)
public function isPadded(): bool
public function setPadded(bool $padding)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top