Class

DuMultiButton

DuMultiButton()

For use with DuScriptUI.
A multi button popup.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.multiButton to create a DuMultiButton.
The DuMultiButton inherits the Group object from ScriptUI and has all of its properties and methods.
Constructor

# new DuMultiButton()

Properties:
Name Type Description
label StaticText The current text
buttons Array.<DuButton> The buttons
text string The current text
build DuMultiButton~build You can use this callback to add a function which builds the UI of the popup, it will be called on first display.

View Source DuAEF_DuGR_api.jsxinc, line 13237

Type Definitions

# build()

You can use this callback to add a function which builds the content of the popup, it will be called on first display.
This allows a faster startup of your script by delaying the creation of the tabs which are hidden at startup.
You can use this.addButton to add buttons in the popup.

View Source DuAEF_DuGR_api.jsxinc, line 13252