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.