|
|
Convenience access to certain properties and features of the window manager.
This class is not supposed to be instantiated. It exists mostly as a namespace for the static member functions.
In KDE-2.0, communication with the window manger is done with the NET-protocol, a common window manager specification designed by various authors of X11 window managers (including those of the KDE project). The full specification can be found in kdebase/kwin/wm-spec/
To access features of the NET-protocol, use the classes NETRootInfo and NETWinInfo.
The purpose of this class is to to provide easy access to the most-commonly used NET-features with a simpler, KDEish interface.
In addition, it encapsulates KDE functionality not yet provided by the NET hints. Currently that is invokeContextHelp() and setSystemTrayWindowFor() only.
void |
[static]
Set window win to be the active window.
This is a request to the window manager. It may or may not be obeyed.
void |
[static]
Invoke interactive context help.
void |
[static]
Makes trayWin
a system tray window for forWin.
A system tray window serves as an icon replacement. It's displayed inside the panel's system tray.
Info |
[static]
Retrieves information about window win.
QPixmap |
[static]
Retrieves an icon for window win.
If width
and height
are specified, the best icon for the requested
size is returned.
If scale
is true, the icon is smooth-scaled to have exactly
the requested size.
void |
[static]
Sets an icon
and a miniIcon
on window win
void |
[static]
Sets the type of window win
to windowType.
Possible values are NET::Normal, NET::Desktop, NET::Dock, NET::Tool, NET::Menu, NET::Dialog or NET::Override (== no decoration frame)
void |
[static]
Sets the state of window win
to state.
Possible values are or'ed combinations of NET::Modal, NET::Sticky, NET::MaxVert, NET::MaxHoriz, NET::Shaded, NET::SkipTaskbar, NET::StaysOnTop
void |
[static]
Clears the state of window win
from state.
Possible values are or'ed combinations of NET::Modal, NET::Sticky, NET::MaxVert, NET::MaxHoriz, NET::Shaded, NET::SkipTaskbar, NET::StaysOnTop
void |
[static]
Sets window win
to be present on all virtual desktops if is
true. Otherwise the window lives only on one single desktop.
void |
[static]
Move window win
to desktop desktop.
void |
[static]
Sets the strut of window win
to left,
@right, @top, @bottom.
int |
[static]
Convienence function to access the current desktop. See NETRootInfo.
int |
[static]
Convienence function to access the number of desktops. See NETRootInfo.
void |
[static]
Convienence function to set the current desktop to desktop.
See NETRootInfo.
void |
[static]
Iconifies a window. Compatible to XIconifyWindow but has an
additional parameter animation.
deIconifyWindow()
void |
[static]
DeIconifies a window. Compatible to XMapWindow but has an
additional parameter animation.
iconifyWindow()
void |
[static]
Manual notification that a window has mapped. You can use this to control app-starting notification. Usually, items appear in kicker's taskbar to show that an application is starting up. If you do not map a (toplevel) window, then this notification 'button' will not disappear. You can use this as an alternative method in this case.