new DuPopup()
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7943
Properties:
Name | Type | Description |
---|---|---|
content |
Group | The ScriptUI group where the new controls must be added. Do not add any control directly inside the DuPopup. |
pinned |
boolean | true if this popup is "pinned", which means it won't hide when the user clicks outside of the window. |
build |
DuPopup~build | You can use this callback to add a function which builds the UI of the popup, it will be called on first display. |
Members
-
staticDuPopup.blockBoolean
-
Sets this parameter to
true
to prevent the next show of the popup.
This will prevent it from showing once (and only once).- Default Value:
- false
Methods
-
cancel()
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7988 -
Hides the popup (alias for
DuPopup.hidePopup
). -
staticDuPopup.hidePopup()
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7981 -
Hides the popup.
-
staticDuPopup.pin(pinned)
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7973 -
Pins the popup (it won't be hidden anymore when deactivated).
Name Type Default Description pinned
boolean true optional true to pin the popup, false to un-pin it. -
staticDuPopup.tieTo(control, onShift)
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7963 -
Ties the popup to a ui control. The popup will be shown just above the control when it is clicked.
The control must have an addEventListener method.Name Type Default Description control
ScriptUI optional The control onShift
Boolean false optional If set to true, the popup is tied on Shift + Click only
Type Definitions
-
build()
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7956 -
You can use this callback to add a function which builds the UI 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 add controls in thethis.content
object.