DAZ Script | |
---|---|
Boolean | close () |
Boolean | exec () |
DzWidget | extension () |
void | hideExtension () |
void | setAcceptButton ( DzButton btn ) |
void | setExtension ( DzWidget extension ) |
void | setRejectButton ( DzButton btn ) |
void | showExtension ( Boolean onOff ) |
void | showExtension () |
This is the basic building block for script interfaces. DzDialog provides an independent window widget that can act as the parent for other script widgets. Most custom script interfaces will be built starting with a DzDialog (or subclass) customized with DzLayout and DzWidget components.
Holds the title of the dialog.
DzWidget::Orientation : orientation
Holds the orientation of the dialog extension.
Holds whether or not the size grip is enabled.
Closes the dialog.
Return Value:
true
if the dialog was closed, otherwise false
.Displays the dialog to the user.
Return Value:
true
if the box was accepted, otherwise false
.Return Value:
undefined
.void : hideExtension()
Causes the extension widget for the dialog to be hidden.
void : setAcceptButton( DzButton btn )
Sets the button that will cause the dialog to close and return true
.
Parameter(s):
void : setExtension( DzWidget extension )
Sets the extension widget for the dialog.
Parameter(s):
undefined
or null
to clear the extension.void : setRejectButton( DzButton btn )
Sets the button that will cause the dialog to close and return false
.
Parameter(s):
void : showExtension( Boolean onOff )
Sets the extension widget visibility.
Parameter(s):
true
, the extension (if any) is shown.void : showExtension()
Causes the extension widget for the dialog to be shown.