UI UI\Controls\Grid
(UI 0.9.9)
소개
그리드는 자식을 그리드로 배열할 수 있는 컨트롤입니다.
클래스 개요
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 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)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control::getParent(): UI\Control
public UI\Control::getTopLevel(): int
public UI\Control::hide()
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}
미리 정의된 상수
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
- 컨트롤이 포함되어 있으므로 직접 조작해서는 안 됩니다.
목차
- UI\Controls\Grid::append — Append Control
- UI\Controls\Grid::isPadded — Padding Detection
- UI\Controls\Grid::setPadded — Set Padding