DAZ Script |
---|
DzDesktopWidget () |
DAZ Script | |
---|---|
Rect | availableGeometry ( Number screen=-1 ) |
Rect | availableGeometry ( QWidget widget ) |
Rect | availableGeometry ( Point point ) |
Object | screen ( Number index=-1 ) |
Rect | screenGeometry ( Point point ) |
Rect | screenGeometry ( Number screen=-1 ) |
Rect | screenGeometry ( QWidget widget ) |
Number | screenNumber ( Point point ) |
Number | screenNumber ( QWidget widget=0 ) |
void | resized ( Number screen ) |
void | screenCountChanged ( Number newCount ) |
void | workAreaResized ( Number screen ) |
Provides information about the user's desktop, such as its total size, number of screens, the geometry of each screen, and whether they are configured as separate desktops or a single virtual desktop.
Since:
Holds the index of the screen that is configured to be the primary screen on the system.
Holds the number of screens currently available on the system.
Holds if the system manages the available screens in a virtual desktop.
Rect : availableGeometry( Number screen=-1 )
Parameter(s):
Return Value:
Rect : availableGeometry( QWidget widget )
Parameter(s):
Return Value:
widget
.Rect : availableGeometry( Point point )
Parameter(s):
Return Value:
point
.Object : screen( Number index=-1 )
Parameter(s):
Return Value:
(function(){ var wDesktop = new DzDesktopWidget(); print( JSON.stringify( wDesktop.screen( 0 ), null, "\t" ) ); })();
Since:
Rect : screenGeometry( Point point )
Parameter(s):
Return Value:
point
.Rect : screenGeometry( Number screen=-1 )
Parameter(s):
Return Value:
Rect : screenGeometry( QWidget widget )
Parameter(s):
Return Value:
widget
.Number : screenNumber( Point point )
Parameter(s):
Return Value:
Number : screenNumber( QWidget widget=0 )
Parameter(s):
Return Value:
widget
, or -1 if the widget not on a screen.See Also:
void : resized( Number screen )
Signature:“resized(int)”
Emitted when the size of a screen changes.
Parameter(s):
void : screenCountChanged( Number newCount )
Signature:“screenCountChanged(int)”
Emitted when the number of screens changes to newCount.
Parameter(s):
void : workAreaResized( Number screen )
Signature:“workAreaResized(int)”
Emitted when the work area available on a screen changes.
Parameter(s):