loadDialogPrototype

Loads the dialog identified by the dialogPrototype parameter as a child of the parent container and centers the dialog on the window.

Syntax

loadDialogPrototype(parent,
                    dialogPrototype);

Parameters

  • parent - (jsx3.gui.Block) The parent container.
  • dialogPrototype - (String) The path to the dialog.xml file.

Returns

  • jsx3.gui.Dialog - The loaded dialog instance.