Difference between revisions of "Category:toolpalette"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with " ==Quick Overview== The tool palette provides a menu of commands, selectable by the user, that invoke functionality of the script app. *'''register'''...")
 
Line 5: Line 5:
 
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.
  
*'''[[toolpalette.register|register]]'''(menuStructure) :  Registers the menuStructure table.  
+
*'''[[toolpalette.register|register]]'''(menuStructure) :  Registers the ''menuStructure'' table.  
  
 
*'''[[toolpalette.enable|enable]]'''(toolname, itemname, state) : Enables or disables a menu item in the tool palette.     
 
*'''[[toolpalette.enable|enable]]'''(toolname, itemname, state) : Enables or disables a menu item in the tool palette.     

Revision as of 22:37, 24 May 2011

Quick Overview

The tool palette provides a menu of commands, selectable by the user, that invoke functionality of the script app.

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