Window

(PHP 7, UI 0.9.9)

Introduction

Represents a UI Window

Class synopsis

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 getSize ( void ) : UI\Size
public getTitle ( void ) : string
public hasBorders ( void ) : bool
public hasMargin ( void ) : bool
public isFullScreen ( void ) : bool
public msg ( string $title , string $msg )
protected onClosing ( void ) : int
public open ( void ) : string
public save ( void ) : string
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 ( void )
public UI\Control::disable ( void )
public UI\Control::enable ( void )
public UI\Control::getParent ( void ) : UI\Control
public UI\Control::getTopLevel ( void ) : int
public UI\Control::hide ( void )
public UI\Control::isEnabled ( void ) : bool
public UI\Control::isVisible ( void ) : bool
public UI\Control::setParent ( UI\Control $parent )
public UI\Control::show ( void )
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents