View on GitHub

Classy

More classy code with class

Window

Constructor

$window:=classy.Window.new(<window ref>)

or for current window

$window:=classy.Window.new()

Functions

Properties

Title

$title:=$window.getTitle()
$window.setTitle("a new title")

Kind

$kind:=$window.kind()

Edge

$edge:=$window.getEdge()
$window.setEdge(classy.Edge.new(10;10;10;10))

Operations

$window.minimize()
$window.maximize()
$window.redraw()
$window.show()
$window.hide()
$window.erase()
$window.close()

Others

nextWindow

$anOtherWindow:=$window.nextWindow()

process associated

$aProcess:=$window.process()