Provides a script defined widget that participates in a widget stack.
Inherits :
DAZ Script | |
---|---|
String | defaultScriptPath () |
Boolean | isCurrentPage () |
void | makeCurrentPage ( Boolean onOff ) |
DzError | reload () |
String | scriptFilename () |
DzError | setUiScript ( String scriptPath ) |
Guide Pages are intended as a dynamic means of providing users with instructions on how to use a portion of the User Interface (UI), and/or provide widgets that simplify the process of getting started where an otherwise non-descript area of the UI would be displayed.
These pages are typically found within a DzPane via instances of filecontenttab_dz or productcontenttab_dz, or within an embedded instance of productassetsview_dz or associatedassetsview_dz.
Return Value:
See Also:
Since:
Boolean : isCurrentPage()
Return Value:
true
if the page is the current widget in the stack, otherwise false
.void : makeCurrentPage( Boolean onOff )
Sets whether the guide page is the current widget in the stack.
Parameter(s):
true
, the guide page is set as the current widget, otherwise the other widget in the stack is raised.Loads the contents of the page by calling the current script. A special script context is provided to this script which exposes a global “getWidget()” function that returns a DzWidget wrapper. This DzWidget can be used by the script to create, populate, and connect the UI components inside the widget.
Return Value:
See Also:
Since:
String : scriptFilename()
Return Value:
See Also:
Since:
DzError : setUiScript( String scriptPath )
Loads the contents of the page by calling the script at scriptPath
. A special script context is provided to this script which exposes a global “getWidget()” function that returns a DzWidget wrapper. This DzWidget can be used by the script to create, populate, and connect the UI components inside the widget.
Parameter(s):
Return Value:
See Also: