Desktop (gb.qt4)
This class is used to get information about the desktop and the screen.
This class is static.
Constants
Charset
|
Returns the charset used by the graphical interface for displaying text.
|
Static properties
H
|
A synonymous of the Height property.
|
HasSystemTray
|
Return if the desktop has a system tray.
|
Height
|
Return the height of the usable desktop rectangle displayed on the default monitor.
|
Platform
|
Return the underlying desktop platform.
|
Resolution
|
Returns the desktop screen resolution in DPI.
|
Scale
|
Returns half of the height of the default desktop font in pixels.
|
Type
|
Return the current desktop environment name.
|
Types
|
Return all desktop types defined by the environment.
|
W
|
A synonymous of the Width property.
|
Width
|
Return the width of the usable desktop rectangle displayed on the default monitor.
|
X
|
Return the left coordinate of the usable desktop rectangle displayed on the default monitor.
|
Y
|
Return the top coordinate of the usable desktop rectangle displayed on the default monitor.
|
Static methods
Is
|
Return if the current desktop has a specific type.
|
Screenshot
|
Return a screenshot of the desktop as a Picture object.
|
Examples
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component