Difference between revisions of "Category:platform.window"
Jump to navigation
Jump to search
(Added a link to a new page that was linked elsewhere already. Page has yet to be created) |
|||
(6 intermediate revisions by one other user not shown) | |||
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 == | == Quick Overview == | ||
− | *[[platform.window | + | *[[platform.window:height|height]] : Returns the height in pixel of the current display window. |
− | *[[platform.window | + | *[[platform.window:invalidate|invalidate]] : Sets a flag to invalidate [a region of] the window by firing the [[on.paint]] event. |
− | *[[platform.window | + | *[[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]] |
Latest revision as of 12:12, 20 August 2018
Returns the window object currently owned by the script application. 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.
Quick Overview
- height : Returns the height in pixel of the current display window.
- invalidate : Sets a flag to invalidate [a region of] the window by firing the on.paint event.
- width : Returns the width in pixel of the current display window.
- setFocus(true or false) : Focus/Unfocus the script's window.
- setBackgroundColor(color) : Sets the background color of the script's window. Available only when used with apilevel '2.4' or above
Pages in category "platform.window"
The following 4 pages are in this category, out of 4 total.