Window

Introduction

Represents a UI Window

Class synopsis

UI\Window
class UI\Window extends UI\Control {
/* Properties */
protected $controls;
/* Constructor */
public __construct(string $title, Size $size, bool $menu = false)
/* Methods */
public add(UI\Control $control)
public error(string $title, string $msg)
public UI\Size getSize()
public string getTitle()
public bool hasBorders()
public bool hasMargin()
public bool isFullScreen()
public msg(string $title, string $msg)
protected int onClosing()
public string open()
public string save()
public setBorders(bool $borders)
public setFullScreen(bool $full)
public setMargin(bool $margin)
public setSize(UI\Size $size)
public setTitle(string $title)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents