Difference between revisions of "Category:platform.window"

From Inspired-Lua Wiki
Jump to navigation Jump to search
m
(:setFocus)
Line 8: Line 8:
 
*[[platform.window:invalidate|invalidate]] : sets a flag to invalidate [a region of] the window by firing the [[on.paint]] event.
 
*[[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: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.
 +
 +
  
 
[[Category:platform]]
 
[[Category:platform]]

Revision as of 02:18, 24 April 2015

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.

Pages in category "platform.window"

The following 4 pages are in this category, out of 4 total.