Difference between revisions of "Category:Events"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 1: Line 1:
*'''[[:Category:on.paint|on.paint]]''' is called when the GUI is painted. [[:Category:gc|'gc' is the Graphics Context]]  
+
*'''[[on.paint]]''' is called when the GUI is painted. [[:Category:gc|'gc' is the Graphics Context]]  
*'''[[:Category:on.resize|on.resize]]''' is called when the window is rezised
+
*'''[[on.resize]]''' is called when the window is rezised
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.timer|on.timer]]''' is called at each timer ticks. See [[:Category:timer|timer]].
+
*'''[[on.timer]]''' is called at each timer ticks. See [[:Category:timer|timer]].
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.arrowKey|on.arrowKey]]''' is called when an '''arrow key''' from the clickPad/TouchPad is pressed (right, left, up, down)  
+
*'''[[on.arrowKey]]''' is called when an '''arrow key''' from the clickPad/TouchPad is pressed (right, left, up, down)  
*'''[[:Category:on.arrowLeft|on.arrowLeft]]''' is called when the '''left''' arrow is pressed  
+
*'''[[on.arrowLeft]]''' is called when the '''left''' arrow is pressed  
*'''[[:Category:on.arrowRight|on.arrowRight]]''' is called when the '''right''' arrow is pressed  
+
*'''[[on.arrowRight]]''' is called when the '''right''' arrow is pressed  
*'''[[:Category:on.arrowUp|on.arrowUp]]''' is called when the up '''arrow''' is pressed  
+
*'''[[on.arrowUp]]''' is called when the up '''arrow''' is pressed  
*'''[[:Category:on.arrowDown|on.arrowDown]]''' is called when the '''down''' arrow is pressed  
+
*'''[[on.arrowDown]]''' is called when the '''down''' arrow is pressed  
*'''[[:Category:on.up|on.up]]''' -- probably for the touchpad up motion  
+
*'''[[on.up]]''' -- probably for the touchpad up motion  
*'''[[:Category:on.down|on.down]]''' -- probably for the touchpad down motion
+
*'''[[on.down]]''' -- probably for the touchpad down motion
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.enterKey|on.enterKey]]''' is called when the '''enter''' key is pressed.  
+
*'''[[on.enterKey]]''' is called when the '''enter''' key is pressed.  
*'''[[:Category:on.escapeKey|on.escapeKey]]''' is called when the '''escape''' key is pressed.  
+
*'''[[on.escapeKey]]''' is called when the '''escape''' key is pressed.  
*'''[[:Category:on.tabKey|on.tabKey]]''' is called when the '''tab''' key is pressed.  
+
*'''[[on.tabKey]]''' is called when the '''tab''' key is pressed.  
*'''[[:Category:on.deleteKey|on.deleteKey]]''' is called when the '''delete''' key is pressed.  
+
*'''[[on.deleteKey]]''' is called when the '''delete''' key is pressed.  
*'''[[:Category:on.backspaceKey|on.backspaceKey]]''' is called when the '''clear''' key is pressed.  
+
*'''[[on.backspaceKey]]''' is called when the '''clear''' key is pressed.  
*'''[[:Category:on.returnKey|on.returnKey]]''' is called when the '''return''' key is pressed.  
+
*'''[[on.returnKey]]''' is called when the '''return''' key is pressed.  
*'''[[:Category:on.contextMenu|on.contextMenu]]''' is called when the combo-key '''Ctrl Menu''' is pressed.  
+
*'''[[on.contextMenu]]''' is called when the combo-key '''Ctrl Menu''' is pressed.  
*'''[[:Category:on.backtabKey|on.backtabKey]]''' is called when the combo-key '''Maj Tab''' is pressed.  
+
*'''[[on.backtabKey]]''' is called when the combo-key '''Maj Tab''' is pressed.  
*'''[[:Category:on.clearKey|on.clearKey]]''' is called when the combo-key '''Ctrl Clear''' is pressed.  
+
*'''[[on.clearKey]]''' is called when the combo-key '''Ctrl Clear''' is pressed.  
*'''[[:Category:on.help|on.help]]''' is called when the combo-key '''Ctrl H''' is pressed.
+
*'''[[on.help]]''' is called when the combo-key '''Ctrl H''' is pressed.
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.charIn|on.charIn]]''' is called when the Nspire detects a non arrow key being pressed.
+
*'''[[on.charIn]]''' is called when the Nspire detects a non arrow key being pressed.
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.blink|on.blink]]''' called when the focus is lost on the page (like launching the document, changing page etc...)  
+
*'''[[on.blink]]''' called when the focus is lost on the page (like launching the document, changing page etc...)  
*'''[[:Category:on.create|on.create]]''' called when the script gets created.  
+
*'''[[on.create]]''' called when the script gets created.  
*'''[[:Category:on.deactivate|on.deactivate]]''' called when the focus is lost on the page (like launching the document, changing page etc...)  
+
*'''[[on.deactivate]]''' called when the focus is lost on the page (like launching the document, changing page etc...)  
*'''[[:Category:on.activate|on.activate]]''' called when the focus is on the page (like launching the document, changing page etc...)  
+
*'''[[on.activate]]''' called when the focus is on the page (like launching the document, changing page etc...)  
*'''[[:Category:on.destroy|on.destroy]]''' is called when the document is about to get closed (or cut)
+
*'''[[on.destroy]]''' is called when the document is about to get closed (or cut)
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.mouseDown|on.mouseDown]]''' is called when we press the left mouse button. X and Y are the pressed point coordinates.  
+
*'''[[on.mouseDown]]''' is called when we press the left mouse button. X and Y are the pressed point coordinates.  
*'''[[:Category:on.mouseUp|on.mouseUp]]''' is called when we release the left mouse button.  
+
*'''[[on.mouseUp]]''' is called when we release the left mouse button.  
*'''[[:Category:on.mouseMove|on.mouseMove]]''' is called when the mouse moves  
+
*'''[[on.mouseMove]]''' is called when the mouse moves  
*'''[[:Category:on.grabDown|on.grabDown]]'''  
+
*'''[[on.grabDown]]'''  
*'''[[:Category:on.grabMove|on.grabMove]]'''
+
*'''[[on.grabMove]]'''
*'''[[:Category:on.grabUp|on.grabUp]]'''  
+
*'''[[on.grabUp]]'''  
*'''[[:Category:on.rightMouseDown|on.rightMouseDown]]'''  
+
*'''[[on.rightMouseDown]]'''  
*'''[[:Category:on.rightMouseUp|on.rightMouseUp]]'''
+
*'''[[on.rightMouseUp]]'''
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.cutEnabled|on.cutEnabled]]'''  
+
*'''[[on.cutEnabled]]'''  
*'''[[:Category:on.copyEnabled|on.copyEnabled]]'''  
+
*'''[[on.copyEnabled]]'''  
*'''[[:Category:on.pasteEnabled|on.pasteEnabled]]'''
+
*'''[[on.pasteEnabled]]'''
*'''[[:Category:on.cut|on.cut]]'''  
+
*'''[[on.cut]]'''  
*'''[[:Category:on.copy|on.copy]]'''
+
*'''[[on.copy]]'''
*'''[[:Category:on.paste|on.paste]]'''
+
*'''[[on.paste]]'''
 
<br> <br>
 
<br> <br>

Revision as of 13:01, 22 May 2011



  • on.arrowKey is called when an arrow key from the clickPad/TouchPad is pressed (right, left, up, down)
  • on.arrowLeft is called when the left arrow is pressed
  • on.arrowRight is called when the right arrow is pressed
  • on.arrowUp is called when the up arrow is pressed
  • on.arrowDown is called when the down arrow is pressed
  • on.up -- probably for the touchpad up motion
  • on.down -- probably for the touchpad down motion



  • on.charIn is called when the Nspire detects a non arrow key being pressed.


  • on.blink called when the focus is lost on the page (like launching the document, changing page etc...)
  • on.create called when the script gets created.
  • on.deactivate called when the focus is lost on the page (like launching the document, changing page etc...)
  • on.activate called when the focus is on the page (like launching the document, changing page etc...)
  • on.destroy is called when the document is about to get closed (or cut)