Line 1: |
Line 1: |
| + | Returns the window object currently owned by the script application. The window consists of the portion of the page allotted to the script app.<br /> |
| + | Several applications can be visible when the page is arranged in a split layout.<br /> |
| + | Each visible application has its own window. |
| + | |
| + | == Quick Overview == |
| + | |
| + | *[[platform.window:height|height]] : Returns the height in pixel of the current display window. |
| + | *[[platform.window:invalidate|invalidate]] : Sets a flag to invalidate [a region of] the window by firing the [[on.paint]] event. |
| + | *[[platform.window:width|width]] : Returns the width in pixel of the current display window. |
| + | *[[platform.window:setFocus|setFocus]]''(true or false)'' : Focus/Unfocus the script's window. |
| + | *[[platform.window:setBackgroundColor|setBackgroundColor]]''(color)'' : Sets the background color of the script's window. ''Available only when used with apilevel '2.4' or above'' |
| + | |
| | | |
| | | |
| [[Category:platform]] | | [[Category:platform]] |