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)
/* 继承的方法 */
}

属性

controls

Contains controls, should not be manipulated directly

目录

add a note

User Contributed Notes

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