Difference between revisions of "Category:Events"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
<br>  
 
<br>  
  
*'''[[:Category:on.paint|on.paint]]''' is called when the GUI is painted. [[gc|'gc' is the Graphics Context]]
+
*'''[[:Category:on.paint|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
 
*'''[[:Category:on.resize|on.resize]]''' is called when the window is rezised
  
 +
<br>
  
 
+
*'''[[:Category:on.timer|on.timer]]''' is called at each timer ticks. See [[:Category:timer|timer]].
*'''[[:Category:on.timer|on.timer]]''' is called at each timer ticks. See&nbsp;[[Category:timer|timer]].
 
  
 
<br>  
 
<br>  
Line 50: Line 50:
 
*'''[[:Category:on.mouseUp|on.mouseUp]]''' is called when we release the left mouse button.  
 
*'''[[:Category:on.mouseUp|on.mouseUp]]''' is called when we release the left mouse button.  
 
*'''[[:Category:on.mouseMove|on.mouseMove]]''' is called when the mouse moves  
 
*'''[[:Category:on.mouseMove|on.mouseMove]]''' is called when the mouse moves  
*'''[[:Category:on.grabDown|on.grabDown]]'''
+
*'''[[:Category:on.grabDown|on.grabDown]]'''  
*'''[[:Category:on.grabMove|on.grabMove]]'''&nbsp;
+
*'''[[:Category:on.grabMove|on.grabMove]]'''&nbsp;  
*'''[[:Category:on.grabUp|on.grabUp]]'''
+
*'''[[:Category:on.grabUp|on.grabUp]]'''  
*'''[[:Category:on.rightMouseDown|on.rightMouseDown]]'''
+
*'''[[:Category:on.rightMouseDown|on.rightMouseDown]]'''  
 
*'''[[:Category:on.rightMouseUp|on.rightMouseUp]]'''&nbsp;
 
*'''[[:Category:on.rightMouseUp|on.rightMouseUp]]'''&nbsp;
  
 
<br>  
 
<br>  
  
*'''[[:Category:on.cutEnabled|on.cutEnabled]]'''
+
*'''[[:Category:on.cutEnabled|on.cutEnabled]]'''  
*'''[[:Category:on.copyEnabled|on.copyEnabled]]'''
+
*'''[[:Category:on.copyEnabled|on.copyEnabled]]'''  
*'''[[:Category:on.pasteEnabled|on.pasteEnabled]]'''&nbsp;
+
*'''[[:Category:on.pasteEnabled|on.pasteEnabled]]'''&nbsp;  
*'''[[:Category:on.cut|on.cut]]'''
+
*'''[[:Category:on.cut|on.cut]]'''  
*'''[[:Category:on.copy|on.copy]]'''&nbsp;
+
*'''[[:Category:on.copy|on.copy]]'''&nbsp;  
 
*'''[[:Category:on.paste|on.paste]]'''&nbsp;
 
*'''[[:Category:on.paste|on.paste]]'''&nbsp;
  
<br><br>
+
<br><br>  
 +
 
 +
[[Category:timer|timer]]

Revision as of 12:55, 22 May 2011

Events category.




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