Changes

Jump to navigation Jump to search

toolpalette.register

No change in size, 23:28, 24 May 2011
Line 19: Line 19:  
== Example  ==
 
== Example  ==
   −
The script app uses this routine to register its tool palette with the Nspire framework. The menu structure is a table describing the name of each tool box, the menus that appear in each tool box, and the function to call when the user invokes the menu item.
+
The script app uses this routine to register its tool palette with the Nspire framework. The menu structure is a table describing the name of each toolbox, the menus that appear in each tool box, and the function to call when the user invokes the menu item.
 
This example demonstrates the layout of a toolpalette’s menu structure.<br />
 
This example demonstrates the layout of a toolpalette’s menu structure.<br />
   Line 40: Line 40:  
     },
 
     },
 
}
 
}
 +
 
toolpalette.register(menu)</syntaxhighlight>
 
toolpalette.register(menu)</syntaxhighlight>
  

Navigation menu