DuPopup()

For use with DuAEF.DuScriptUI.
A borderless popup, to be tied to a ui control.
This is not a real class, and cannot be instanciated.
Use DuAEF.DuScriptUI.createPopup to create a Popup.
The DuPopup inherits the Window object from ScriptUI and has all of its properties and methods.

new DuPopup()

Properties:
Name Type Description
contents 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.

Methods

static pin(pinnedopt)

Pins the popup (it won't be hidden anymore when deactivated).
Parameters:
Name Type Attributes Default Description
pinned boolean <optional>
true true to pin the popup, false to un-pin it.

static tieTo(controlopt)

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.
Parameters:
Name Type Attributes Description
control ScriptUI <optional>
The control