Difference between revisions of "Life Cycle"
Jump to navigation
Jump to search
(Created page with "This image represents the "life cycle" of a ScriptApp (''lua program'') File:life_cycle.png") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This image represents the "life cycle" of a ScriptApp (''lua program'') | + | This image represents the "life cycle" of a ScriptApp (''lua program'')<br /> |
+ | |||
+ | NB : on OS >= 3.2 (apilevel 2.0+), the event [[on.create]] disappeared. You can replace its usage by [[on.construction]] if you're not using any Nspire-specific API. If you do, you can use on.resize as a"first time" initializer (with a flag if needed) | ||
[[File:life_cycle.png]] | [[File:life_cycle.png]] | ||
+ | |||
+ | In 3.2, here's what happens, following a "Set Script" in the Software SDK: | ||
+ | |||
+ | [[File:EventsSequence.jpg]] | ||
+ | |||
+ | (Credits to John Powers, TI) |
Latest revision as of 20:04, 7 May 2014
This image represents the "life cycle" of a ScriptApp (lua program)
NB : on OS >= 3.2 (apilevel 2.0+), the event on.create disappeared. You can replace its usage by on.construction if you're not using any Nspire-specific API. If you do, you can use on.resize as a"first time" initializer (with a flag if needed)
In 3.2, here's what happens, following a "Set Script" in the Software SDK:
(Credits to John Powers, TI)