Difference between revisions of "Category:toolpalette"

From Inspired-Lua Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
 
==Quick Overview==
 
==Quick Overview==
  
  
The tool palette provides a menu of commands, selectable by the user, that invoke functionality of the script app.
+
The tool palette provides a menu of commands, selectable by the user, that invoke functionality of the script app. The menu itself is accessible by pressing the "Menu" button.  
  
 
*'''[[toolpalette.register|register]]'''(menuStructure) :  Registers the ''menuStructure'' table.  
 
*'''[[toolpalette.register|register]]'''(menuStructure) :  Registers the ''menuStructure'' table.  

Latest revision as of 09:36, 25 August 2011

Quick Overview

The tool palette provides a menu of commands, selectable by the user, that invoke functionality of the script app. The menu itself is accessible by pressing the "Menu" button.

  • register(menuStructure) : Registers the menuStructure table.
  • enable(toolname, itemname, state) : Enables or disables a menu item in the tool palette.
  • enableCopy(state) : This routine enables / disables the Edit > Copy menu command.
  • enableCut(state) : This routine enables / disables the Edit > Cut menu command.
  • enablePaste(state) : This routine enables / disables the Edit > Paste menu command.


Pages in category "toolpalette"

The following 3 pages are in this category, out of 3 total.