PHP 8.0.12 Released!

Control Grid (Arrangement)

(UI 0.9.9)

Introduction

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

Synopsis de la classe

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;
/* Propriétés */
protected $controls;
/* Méthodes */
public append(
    UI\Control $control,
    int $left,
    int $top,
    int $xspan,
    int $yspan,
    bool $hexpand,
    int $halign,
    bool $vexpand,
    int $valign
)
public isPadded(): bool
public setPadded(bool $padding)
/* Méthodes héritées */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Constantes pré-définies

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

Propriétés

controls

Contains controls, should not be manipulated directly

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top