PHP 7.4.24 Released!

Control Box (Arrangement)

(UI 0.9.9)

Giriş

A Box allows the arrangement of other controls

Sınıf Sözdizimi

class UI\Controls\Box extends UI\Control {
/* Constants */
const int Vertical;
const int Horizontal;
/* Özellikler */
protected $controls;
/* Constructor */
public __construct(int $orientation = UI\Controls\Box::Horizontal)
/* Yöntemler */
public append(Control $control, bool $stretchy = false): int
public delete(int $index): bool
public getOrientation(): int
public isPadded(): bool
public setPadded(bool $padded)
/* Miras alınan yöntemler */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Özellikler

controls

Contains controls, should not be manipulated directly

Öntanımlı Sabitler

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

İçindekiler

add a note add a note

User Contributed Notes

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