|
|
Common API for application window properties/protocols.
The NETWinInfo class provides a common API for clients and window managers to set/read/change properties on an application window as defined by the NET Window Manager Specification.
|
Create a NETWinInfo object, which will be used to set/read/change information stored on an application window.
Taken arguments:
|
Creates a shared copy of the specified NETWinInfo object.
~ |
[virtual]
Destroys the NETWinInfo object.
unsigned long |
[const]
Returns an OR'ed list of supported protocols and properties.
NETRect |
[const]
Returns the icon geometry.
unsigned long |
[const]
Returns the state of the window (see the NET base class documentation for a description of the various states).
NETStrut |
[const]
Returns the strut specified by this client.
WindowType |
[const]
Returns the window type for this client (see the NET base class documentation for a description of the various window types).
const char * |
[const]
Returns the name of the window in UTF-8 format.
const char * |
[const]
Returns the visible name as set by the window manager in UTF-8 format.
int |
[const]
Returns the desktop where the window is residing.
int |
[const]
Returns the process id for the client window.
Bool |
[const]
Returns whether or not this client handles icons.
Window |
[const]
Returns a Window id, telling the window manager which window we are representing.
MappingState |
[const]
Returns the mapping state for the window (see the NET base class documentation for a description of mapping state).
void |
Set icons for the application window. If replace is True, then the specified icon is defined to be the only icon. If replace is False, then the specified icon is added to a list of icons.
void |
Set the icon geometry for the application window.
void |
Set the strut for the application window.
void |
Set the state for the application window (see the NET base class documentation for a description of window state).
void |
Sets the window type for this client (see the NET base class documentation for a description of the various window types).
void |
Sets the name for the application window.
void |
For Window Managers only: set the visible name ( i.e. xterm, xterm <2>, xterm <3>, ... )
void |
Set which window the desktop is (should be) on.
void |
Set the application window's process id.
void |
Set whether this application window handles icons.
void |
Set which window we are representing as a system tray window.
void |
Set the frame decoration strut. This is a KDE 2.0 extension to aid in writing pager applications.
NETIcon |
[const]
Returns an icon. If width and height are passed, the icon returned will be the closest it can find (the next biggest). If width and height are omitted, then the first icon in the list is returned.
void |
Places the window frame geometry in frame, and the application window geometry in window. Both geometries are relative to the root window.
unsigned long |
This function takes the pass XEvent and returns an OR'ed list of NETWinInfo properties that have changed. The new information will be read immediately by the class.
static const int |
Sentinel value to indicate that the client wishes to be visible on all desktops.
void |
[protected virtual]
A Window Manager should subclass NETWinInfo and reimplement this function when it wants to know when a Client made a request to change desktops (ie. move to another desktop).
void |
[protected virtual]
A Window Manager should subclass NETWinInfo and reimplement this function when it wants to know when a Client made a request to change state (ie. to Shade / Unshade).