Class

DuToolBar

DuToolBar()

For use with DuScriptUI.
A Tool Bar.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.toolBar to create a Tool Bar.
The DuToolBar inherits the Group object from ScriptUI and has all of its properties and methods.
Constructor

# new DuToolBar()

View Source DuAEF.jsxinc, line 15059

Methods

# static addButton(text, iconopt, helpTipopt, addOptionsopt, optionsWithoutPanelopt)

Changes the background color of the button.
Parameters:
Name Type Attributes Default Description
text string The button text.
icon string <optional>
The path to the icon
helpTip string <optional>
The button help tip
addOptions Boolean <optional>
false Whether to add more options
optionsWithoutPanel Boolean <optional>
false Whether the options need a dedicated panel

View Source DuAEF.jsxinc, line 15070