You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Platform Library > window

14.7 window

platform.window

Returns the window object that the script application currently owns. The window consists of the portion of the page allotted to the script app. Several applications can be visible when the page is arranged in a split layout. Each visible application has its own window.

The window object has several methods of particular interest.

Introduced in platform.apiLevel = '1.0'

height and width

invalidate

setBackgroundColor

setFocus

getScrollHeight

setScrollHeight

displayInvalidatedRectangles