|
|
Get or modify window properties and to interact with the windowmanager.
It implements the new NET-protocol, a common window manager specification designed by various authors of X11 window managers. TODO: Add more information here, links etc. once the spec is done and fully implemented.
int numberOfDesktops () |
Rerieve the number of virtual desktops.
void setNumberOfDesktops (int num) |
Set the number of virtual desktops.
This is a request to the window manager. It may or may not be obeyed.
int currentDesktop () |
The current virtual desktop.
Returns: On success a number > 0 indicating the desktop. 0 if the desktop is unknown.
void setCurrentDesktop ( int desktop ) |
Set the current virtual desktop
This is a request to the window manager. It may or may not be obeyed.
WId activeWindow () |
Retrieve the window which has the focus, or 0 if no window has the focus.
void setActiveWindow ( WId win) |
Set the active window.
This is a request to the window manager. It may or may not be obeyed.
void setDockWindow (WId dockWin, WId forWin = 0 ) |
Register the window dockWin
as docking window for window
forWin
.
This is a low-level API. See KDockWindow in libkdeui for easier usage.
bool isDockWindow ( WId dockWin, WId *forWin = 0 ) |
Test whether the window dockWin
is a docking window.
If
forWin
is specified, forWin
returns the window dockWin
is
docking for.
WindowState windowState ( WId win ) |
Retrieve the state of the window win
.
Possible states are
NormalState
, IconicState
and WithdrawnState
void invokeContextHelp () |
Invoke interactive context help.