PHP Class Gui\Components\Window

It is a visual component for window
Since: 0.1
Author: Rafael Reis @reisraff
Inheritance: extends ContainerObject
Show file Open project: gabrielrcouto/php-gui

Protected Properties

Property Type Description
$lazarusClass string The lazarus class as string

Public Methods

Method Description
getTitle ( ) : String Gets the window title
setIcon ( string $icon ) : self Sets the icon
setTitle ( string $title ) : self Sets the window title
setWindowState ( string $state = 'normal' ) : self Sets the window state. Can be one of the following values: fullscreen, minimized, maximized, normal

Method Details

getTitle() public method

Gets the window title
public getTitle ( ) : String
return String

setIcon() public method

Sets the icon
public setIcon ( string $icon ) : self
$icon string
return self

setTitle() public method

Sets the window title
public setTitle ( string $title ) : self
$title string
return self

setWindowState() public method

Sets the window state. Can be one of the following values: fullscreen, minimized, maximized, normal
public setWindowState ( string $state = 'normal' ) : self
$state string
return self

Property Details

$lazarusClass protected property

The lazarus class as string
protected string $lazarusClass
return string