Difference between revisions of "platform.window:height"

From Inspired-Lua Wiki
Jump to navigation Jump to search
m (Text replace - "platform.window.height" to "platform.window:height")
Line 1: Line 1:
'''platform.window.height''' is a function that is part of [[:Category:platform.window|platform.window]].
+
'''platform.window:height''' is a function that is part of [[:Category:platform.window|platform.window]].
  
 
{{Since|3.0}}
 
{{Since|3.0}}
 
Returns the height in pixel of the current display window.
 
Returns the height in pixel of the current display window.
 
== Syntax  ==
 
== Syntax  ==
'''platform.window.height'''()<br />
+
'''platform.window:height'''()<br />
 
(No arguments)
 
(No arguments)
  
 
== Example  ==
 
== Example  ==
<syntaxhighlight>wh = platform.window.height()</syntaxhighlight>
+
<syntaxhighlight>wh = platform.window:height()</syntaxhighlight>
  
 
<br /><br />
 
<br /><br />
  
 
[[Category:platform.window]]
 
[[Category:platform.window]]

Revision as of 00:59, 31 May 2011

platform.window:height is a function that is part of platform.window.

This has been introduced in TI-Nspire OS 3.0 (Changes).

Returns the height in pixel of the current display window.

Syntax

platform.window:height()
(No arguments)

Example

wh = platform.window:height()