platform.window:width

From Inspired-Lua Wiki
Revision as of 00:59, 31 May 2011 by Adriweb (talk | contribs) (moved platform.window.width to platform.window:width: Text replace - "platform.window.width" to "platform.window:width")
Jump to navigation Jump to search

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()