Difference between revisions of "platform.window:width"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
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'''()  
+
'''platform.window.width'''()
 +
 
 +
<br />
 +
(No arguments)
  
 
== Example  ==
 
== Example  ==

Revision as of 16:34, 26 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()