Window

Window

(UI 0.9.9)

簡介

Represents a UI Window

類摘要

class UI\Window extends UI\Control {
/* 屬性 */
protected $controls;
/* Constructor */
public __construct(string $title, Size $size, bool $menu = false)
/* 方法 */
public add(UI\Control $control)
public error(string $title, string $msg)
public getSize(): UI\Size
public getTitle(): string
public hasBorders(): bool
public hasMargin(): bool
public isFullScreen(): bool
public msg(string $title, string $msg)
protected onClosing(): int
public open(): string
public save(): string
public setBorders(bool $borders)
public setFullScreen(bool $full)
public setMargin(bool $margin)
public setSize(UI\Size $size)
public setTitle(string $title)
/* 繼承的方法 */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

屬性

controls

Contains controls, should not be manipulated directly

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *