Gambas Documentation - /comp/gb.desktop/desktopwatcher

/comp/gb.desktop/desktopwatcher

# DesktopWatcher (gb.desktop)

This class implements an object that watch for many window-manager events.

This class is
Creates a new DesktopWatcher object.
creatable
.

Properties | Events
--- | ---

Returns or sets if the DesktopWatcher object only watches the root window.
RootWindow

Raised if the current active window has changed.
ActiveWindow
Raised if the current virtual desktop has changed.
Change
Raised if the number of virtual desktops has changed.
Count
Raised if the desktop geometry has changed.
Geometry
Raised if a specific window has been moved or resized.
WindowGeometry
Raised if the icon of a specific window has changed.
WindowIcon
Raised if the name or the visible name of a specific window has changed.
WindowName
Raised if the state of a specific window has changed.
WindowState
Raised if the window list has changed, i.e. if a window has been created, destroyed, or if the stacking order has changed.
Windows