Gambas Documentation - /comp/gb.desktop/desktopwindow

/comp/gb.desktop/desktopwindow

# DesktopWindow (gb.desktop)

Represents a top-level window.

This class is
Creates a DesktopWindow object from its X11 window handle.
creatable
.

Properties | Methods
--- | ---

Returns or sets the virtual desktop where the window is visible.
Desktop
Frame
Returns or sets if the state of the window is full screen.
FullScreen
Geometry
A synonymous for the Height property.
H
Returns the height of the window.
Height
Returns the icon of the window.
Icon
Returns the X11 handle of the window.
Id
Returns or sets if the window is maximized.
Maximized
Returns or sets if the window is minimized.
Minimized
Returns the name of the window, i.e. its title as specified by the application that owns this window.
Name
Returns or sets if the window should be visible in the taskbar.
SkipTaskbar
Returns or sets if the window is visible on all virtual desktops.
Sticky
Returns the window visible name, i.e. the window title as displayed by the window manager.
VisibleName
A synonymous for the Width property.
W
Returns the width of the window.
Width
Returns the X coordinate of the window.
X
Returns the Y coordinate of the window.
Y

Activate the window.
Activate
Closes the window.
Close
Return the window icon having the specified size.
GetIcon
GetScreenshot
Moves and eventually resizes the window.
Move
Refreshes a DesktopWindow object by querying the geometry of the window again.
Refresh
Resizes the window.
Resize