====== IToolHandler ====== Scriptable object, inherited from [[:scripting:api:command-handler:start|ICommandHandler]] ===== Description ===== Tool Item object ===== Properties ===== ^Property^ Description^ |[[scripting:api:tool-handler:auto-execute|AutoExecute]]| Gets AutoExecute property| |[[scripting:api:command-handler:back-color|BackColor]]| Background Color| |[[scripting:api:tool-handler:capture-output|CaptureOutput]]| Returns Capture Output flag| |[[scripting:api:command-handler:checked|Checked]]| Checked| |[[scripting:api:command-handler:enabled|Enabled]]| Enabled| |[[scripting:api:command-handler:image|Image]]| Image index| |[[scripting:api:command-handler:name|Name]]| Returns command name/id| |[[scripting:api:command-handler:prompt|Prompt]]| Prompt string| |[[scripting:api:command-handler:radio|Radio]]| Radio| |[[scripting:api:tool-handler:show-in-context-menu|ShowInContextMenu]]| Returns "Show in Context Menu" flag| |[[scripting:api:tool-handler:show-in-toolbar|ShowInToolbar]]| Returns "Show in Toolbar" flag| |[[scripting:api:tool-handler:syntax|Syntax]]| Returns tool associated syntax| |[[scripting:api:command-handler:text-color|TextColor]]| Text Color| |[[scripting:api:command-handler:title|Title]]| Title| ===== Methods ===== ^Method^ Description^ |[[scripting:api:tool-handler:edit|Edit]]| Opens tool configuration dialog| |[[scripting:api:command-handler:equals|equals]]| Compare, if objects are equal| |[[scripting:api:command-handler:execute|Execute]]| Execute command| ===== See Also ===== [[:scripting:api:application:register-tool|IApplication::RegisterTool]], [[:scripting:api:application:un-register-tool|IApplication::UnRegisterTool]], [[:scripting:api:application:register-tool|IScriptApplication::RegisterTool]], [[:scripting:api:application:un-register-tool|IScriptApplication::UnRegisterTool]], [[:scripting:api:tool-handlers:item|IToolHandlers::Item]] #API ~~NOTOC~~