DuButton()

For use with DuAEF.DuScriptUI.
An Image Button.
This is not a real class, and cannot be instanciated.
Use DuAEF.DuScriptUI.addButton to create an Image Button.
The Image Button inherits the Group object from ScriptUI and has all of its properties and methods.

new DuButton()

Properties:
Name Type Description
standardImage string The path to the image (or a PNG as a string representation)
imageOver string The path to the image (or a PNG as a string representation) to display when mouseover
image Image The scriptui object representing the image
label StaticText The label
onClick DuButton~onClick The function to execute when the button is clicked
onClick DuButton~onAltClick The function to execute when the button is Alt + clicked
onClick DuButton~onCtrlClick The function to execute when the button is Ctrl + clicked
onClick DuButton~onCtrlAltClick The function to execute when the button is Ctrl + Alt + clicked

Type Definitions

onAltClick()

The function to execute when the button is Alt + clicked.

onClick()

The function to execute when the button is clicked.

onCtrlAltClick()

The function to execute when the button is Ctrl + Alt + clicked.

onCtrlClick()

The function to execute when the button is Ctrl + clicked.