|
|
Common API for root window properties/protocols.
The NETRootInfo class provides a commom API for clients and window managers to set/read/change properties on the root window as defined by the NET Window Manager Specification..
|
Window Managers should use this constructor to create a NETRootInfo object, which will be used to set/update information stored on the rootWindow. The application role is automatically set to WindowManager when using this constructor.
Taken arguments:
|
Clients should use this constructor to create a NETRootInfo object, which will be used to query information set on the root window. The application role is automatically set to Client when using this constructor.
Taken arguments:
|
Creates a shared copy of the specified NETRootInfo object.
~ |
[virtual]
Destroys the NETRootInfo object.
Display * |
[const]
Returns the X11 Display struct used.
Window |
[const]
Returns the Window id of the rootWindow.
Window |
[const]
Returns the Window id of the supportWindow.
const char * |
[const]
Returns the name of the Window Manager.
int |
[const]
Returns the screenNumber.
unsigned long |
[const]
Returns an OR'ed list of supported protocols and properties.
const Window * |
[const]
Returns an array of Window id's, which contain all managed windows.
int |
[const]
Returns the number of managed windows in clientList array.
const Window * |
[const]
Returns an array of Window id's, which contain all managed windows in stacking order.
int |
[const]
Returns the number of managed windows in the clientListStacking array.
const Window * |
[const]
Returns an array of Window id's, which contain all KDE system tray windows.
int |
[const]
Returns the number of windows in the kdeSystemTrayWindows array.
NETSize |
[const]
Returns the size of the specified desktop.
NETPoint |
[const]
Returns the viewport of the specified desktop.
NETRect |
[const]
Returns the workArea for the specified desktop.
const char * |
[const]
Returns the name for the specified desktop.
const Window * |
[const]
Returns an array of Window id's, which contain the virtual root windows.
int |
[const]
Returns the number of window in the virtualRoots array.
int |
[const]
Returns the number of desktops.
int |
[const]
Returns the current desktop.
Window |
[const]
Returns the active (focused) window.
void |
Window Managers must call this after creating the NETRootInfo object, and before using any other method in the class. This method sets initial data on the root window and does other post-construction duties.
Clients must also call this after creating the object to do an initial data read/update.
void |
Sets the list of managed windows on the Root/Desktop window.
Taken arguments:
void |
Sets the list of managed windows in stacking order on the Root/Desktop window.
Taken arguments:
void |
Sets the list of KDE system tray windows on the root window.
Taken arguments:
void |
Sets the current desktop to the specified desktop.
void |
Sets the specified desktop geometry to the specified geometry.
void |
Sets the specified desktop viewport to the specified viweport.
void |
Sets the number of desktops the the specified number.
void |
Sets the name of the specified desktop.
void |
Sets the active (focused) window the specified window.
void |
Sets the workarea for the specified desktop
void |
Sets the list of virtual root windows on the root window.
Taken arguments:
const NETRootInfo & |
Assignment operator. Ensures that the shared data reference counts are correct.
void |
Clients (such as pagers/taskbars) that wish to close a window should call this function. This will send a request to the Window Manager, which usually can usually decide how to react to such requests.
void |
Clients (such as pagers/taskbars) that wish to start a WMMoveResize (where the window manager controls the resize/movement) should call this function. This will send a request to the Window Manager.
Taken arguments:
unsigned long |
This function takes the passed XEvent and returns an OR'ed list of NETRootInfo properties that have changed. The new information will be read immediately by the class.
void |
[protected virtual]
A Client should subclass NETRootInfo and reimplement this function when it wants to know when a window has been added.
void |
[protected virtual]
A Client should subclass NETRootInfo and reimplement this function when it wants to know when a window has been removed.
void |
[protected virtual]
A Client should subclass NETRootInfo and reimeplement this function when it wants to know when a system tray window has been added. This is a KDE 2.0 extension.
void |
[protected virtual]
A Client should subclass NETRootInfo and reimplement this function when it wants to know when a system tray window has been removed. This is a KDE 2.0 extension.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the number of desktops.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the specified desktop geometry.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the specified desktop viewport.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the current desktop.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the active (focused) window.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to close a window.
void |
[protected virtual]
A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to start a move/resize.
Taken arguments: