A stacked collection of interface panes that can be docked or float.
Inherits :
DAZ Script | |
---|---|
TabBarPosition | { TabsTop, TabsBottom, TabsLeft, TabsRight } |
DAZ Script | |
---|---|
void | fitScreen () |
void | fitScreenHeight () |
void | fitScreenWidth () |
DzPane | getCurrentPane () |
Point | getDragOffset () |
Number | getNumPanes () |
Number | getNumShownPanes () |
DzPane | getPane ( Number i ) |
void | hideAllPanes () |
void | hidePane ( DzPane pane ) |
void | hideTabBar ( Boolean hide ) |
void | setPaneEnabled ( DzPane pane, Boolean enabled ) |
void | setUndockedTabBarPosition ( TabBarPosition pos ) |
void | showPane ( DzPane pane ) |
Boolean | tabBarHidden () |
TabBarPosition | undockedTabBarPosition () |
void | updateTabPosition () |
Deprecated | |
Boolean | isUndockable () |
void | emptyGroup () |
A Pane Group serves as a collection of container widgets (DzPane) that are themselves used to organize discrete portions of the interface. A pane group is exposed at the top-level of the user interface and is used to stack DzPane instances within the same area.
A pane group can be docked (“anchored”) within a DzDockArea or undocked (“detached”) and made to float above the rest of the interface.
A pane group provides an easy-to-use selection mechanism (i.e., a tab bar) for choosing which DzPane instance in the stack to display to the user. When a pane group contains more DzPane instances than can be sufficiently represented within the tab bar, additional scrolling controls are presented to the user.
Used to define the position of the tab bar for this pane group.
Since:
void : fitScreen()
Resizes this pane group, if it is undocked, to fit the available height and width of the screen it (mostly) currently resides on.
Since:
void : fitScreenHeight()
Resizes this pane group, if it is undocked, to fit the available height of the screen it (mostly) currently resides on.
Since:
void : fitScreenWidth()
Resizes this pane group, if it is undocked, to fit the available width of the screen it (mostly) currently resides on.
Since:
DzPane : getCurrentPane()
Return Value:
Point : getDragOffset()
Return Value:
Number : getNumPanes()
Return Value:
Return Value:
Parameter(s):
Return Value:
void : hideAllPanes()
Hides all panes without changing their group ownership.
void : hidePane( DzPane pane )
Hides the given pane without changing its group ownership.
Parameter(s):
void : hideTabBar( Boolean hide )
Sets whether this pane group's tab bar is hidden or not. Emits DzPane::tabBarHiddenChanged(). When the tab bar is hidden, the options menu for the current pane is not visible. If desired, DzPane instances should connect to it's DzPane::tabBarHiddenChanged() signal to be able to provide an alternate options menu when the tab bar is hidden.
Parameter(s):
true
, hides the tab bar.void : setPaneEnabled( DzPane pane, Boolean enabled )
Enable or disabled the given pane in the interface, if it is a member of this group.
Parameter(s):
true
, the pane will be enabled, otherwise the pane will be disabled.void : setUndockedTabBarPosition( TabBarPosition pos )
TODO: Add description.
void : showPane( DzPane pane )
Makes sure the given pane is showing (if it is a member of this group).
Parameter(s):
Boolean : tabBarHidden()
Return Value:
true
if this pane group's tab bar is hidden, otherwise false
.TabBarPosition : undockedTabBarPosition()
Return Value:
Since:
void : updateTabPosition()
Causes the position of the tab bar for this pane group to be updated.
Boolean : isUndockable()
Deprecated
Exists only to keep old code working. Do not use in new code. Use undockGroup() instead.