Difference between revisions of "Changes in OS 3.9"
Jump to navigation
Jump to search
(Created page with "In version 3.9 of the Nspire platform, Lua Scripting changes can be found on the API side and in the general behaviour of the script.<br /> ''This page will be updated as changes...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Behaviour-related == | == Behaviour-related == | ||
− | The window and the Nspire-specific APIs are now available for use when the user code is | + | The window and the Nspire-specific APIs are now available for use when the user code is loaded. |
== API-related == | == API-related == | ||
Line 11: | Line 11: | ||
=== Changes === | === Changes === | ||
* [[platform.apilevel|apilevel]] '2.4' is now available | * [[platform.apilevel|apilevel]] '2.4' is now available | ||
+ | * [[on.paint]] is passed more arguments with apilevel '2.4' : the coordinates and dimensions of the window. You can use on.paint(gc, x, y, w, h). |
Latest revision as of 19:33, 30 May 2014
In version 3.9 of the Nspire platform, Lua Scripting changes can be found on the API side and in the general behaviour of the script.
This page will be updated as changes are found
The window and the Nspire-specific APIs are now available for use when the user code is loaded.
Additions
- platform.window:setBackgroundColor(color) : sets the background color of the script's widget (window). Available only when used with apilevel '2.4'