Difference between revisions of "platform.window:width"

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

Revision as of 23:59, 30 May 2011

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

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

Returns the width in pixel of the current display window.

Syntax

platform.window:width()
(No arguments)

Example

ww = platform.window:width()