.TH "NETWinInfo" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
NETWinInfo \- Common API for application window properties/protocols.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <netwm.h>\fP
.PP
Inherits \fBNET\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum { \fBPROTOCOLS\fP, \fBPROTOCOLS2\fP, \fBPROPERTIES_SIZE\fP }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBNETWinInfo\fP (Display *display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, \fBRole\fP role=Client)"
.br
.ti -1c
.RI "\fBNETWinInfo\fP (Display *display, Window window, Window rootWindow, unsigned long properties, \fBRole\fP role=Client)"
.br
.ti -1c
.RI "\fBNETWinInfo\fP (const \fBNETWinInfo\fP &wininfo)"
.br
.ti -1c
.RI "virtual \fB~NETWinInfo\fP ()"
.br
.ti -1c
.RI "const \fBNETWinInfo\fP & \fBoperator=\fP (const \fBNETWinInfo\fP &wintinfo)"
.br
.ti -1c
.RI "bool \fBhasNETSupport\fP () const "
.br
.ti -1c
.RI "const unsigned long * \fBpassedProperties\fP () const "
.br
.ti -1c
.RI "unsigned long \fBproperties\fP () const KDE_DEPRECATED"
.br
.ti -1c
.RI "\fBNETRect\fP \fBiconGeometry\fP () const "
.br
.ti -1c
.RI "unsigned long \fBstate\fP () const "
.br
.ti -1c
.RI "\fBNETExtendedStrut\fP \fBextendedStrut\fP () const "
.br
.ti -1c
.RI "\fBNETStrut\fP \fBstrut\fP () const "
.br
.ti -1c
.RI "\fBWindowType\fP \fBwindowType\fP (unsigned long supported_types) const "
.br
.ti -1c
.RI "\fBWindowType\fP \fBwindowType\fP () const KDE_DEPRECATED"
.br
.ti -1c
.RI "const char * \fBname\fP () const "
.br
.ti -1c
.RI "const char * \fBvisibleName\fP () const "
.br
.ti -1c
.RI "const char * \fBiconName\fP () const "
.br
.ti -1c
.RI "const char * \fBvisibleIconName\fP () const "
.br
.ti -1c
.RI "int \fBdesktop\fP () const "
.br
.ti -1c
.RI "int \fBpid\fP () const "
.br
.ti -1c
.RI "Bool \fBhandledIcons\fP () const "
.br
.ti -1c
.RI "Window \fBkdeSystemTrayWinFor\fP () const "
.br
.ti -1c
.RI "\fBMappingState\fP \fBmappingState\fP () const "
.br
.ti -1c
.RI "void \fBsetIcon\fP (\fBNETIcon\fP icon, Bool replace=True)"
.br
.ti -1c
.RI "void \fBsetIconGeometry\fP (\fBNETRect\fP geometry)"
.br
.ti -1c
.RI "void \fBsetExtendedStrut\fP (const \fBNETExtendedStrut\fP &extended_strut)"
.br
.ti -1c
.RI "void \fBsetStrut\fP (\fBNETStrut\fP strut)"
.br
.ti -1c
.RI "void \fBsetState\fP (unsigned long state, unsigned long mask)"
.br
.ti -1c
.RI "void \fBsetWindowType\fP (\fBWindowType\fP type)"
.br
.ti -1c
.RI "void \fBsetName\fP (const char *name)"
.br
.ti -1c
.RI "void \fBsetVisibleName\fP (const char *visibleName)"
.br
.ti -1c
.RI "void \fBsetIconName\fP (const char *name)"
.br
.ti -1c
.RI "void \fBsetVisibleIconName\fP (const char *name)"
.br
.ti -1c
.RI "void \fBsetDesktop\fP (int desktop)"
.br
.ti -1c
.RI "void \fBsetPid\fP (int pid)"
.br
.ti -1c
.RI "void \fBsetHandledIcons\fP (Bool handled)"
.br
.ti -1c
.RI "void \fBsetKDESystemTrayWinFor\fP (Window window)"
.br
.ti -1c
.RI "void \fBsetKDEFrameStrut\fP (\fBNETStrut\fP strut)"
.br
.ti -1c
.RI "\fBNETIcon\fP \fBicon\fP (int width=-1, int height=-1) const "
.br
.ti -1c
.RI "void \fBsetUserTime\fP (Time time)"
.br
.ti -1c
.RI "Time \fBuserTime\fP () const "
.br
.ti -1c
.RI "void \fBsetStartupId\fP (const char *startup_id)"
.br
.ti -1c
.RI "const char * \fBstartupId\fP () const "
.br
.ti -1c
.RI "void \fBsetAllowedActions\fP (unsigned long actions)"
.br
.ti -1c
.RI "unsigned long \fBallowedActions\fP () const "
.br
.ti -1c
.RI "Window \fBtransientFor\fP () const "
.br
.ti -1c
.RI "Window \fBgroupLeader\fP () const "
.br
.ti -1c
.RI "const char * \fBwindowClassClass\fP () const "
.br
.ti -1c
.RI "const char * \fBwindowClassName\fP () const "
.br
.ti -1c
.RI "const char * \fBwindowRole\fP () const "
.br
.ti -1c
.RI "const char * \fBclientMachine\fP () const "
.br
.ti -1c
.RI "void \fBkdeGeometry\fP (\fBNETRect\fP &frame, \fBNETRect\fP &window)"
.br
.ti -1c
.RI "void \fBevent\fP (XEvent *event, unsigned long *properties, int properties_size)"
.br
.ti -1c
.RI "unsigned long \fBevent\fP (XEvent *event)"
.br
.in -1c
.SS "Static Public Attributes"

.in +1c
.ti -1c
.RI "static const int \fBOnAllDesktops\fP = NET::OnAllDesktops"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBchangeDesktop\fP (int desktop)"
.br
.ti -1c
.RI "virtual void \fBchangeState\fP (unsigned long state, unsigned long mask)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
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 \fBNET\fP Window Manager Specification.
.PP
\fBAuthor:\fP
.RS 4
Bradley T. Hughes <bhughes@trolltech.com> 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBNET\fP 
.PP
\fBNETRootInfo\fP 
.PP
KWin 
.PP
http://www.freedesktop.org/standards/wm-spec/ 
.RE
.PP

.PP
Definition at line 865 of file netwm.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "anonymous enum"
.PP
Indexes for the properties array. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 872 of file netwm.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "NETWinInfo::NETWinInfo (Display * display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, \fBRole\fP role = \fCClient\fP)"
.PP
Create a NETWinInfo object, which will be used to set/read/change information stored on an application window. 
.PP
\fBParameters:\fP
.RS 4
\fIdisplay\fP An X11 Display struct.
.br
\fIwindow\fP The Window id of the application window.
.br
\fIrootWindow\fP The Window id of the root window.
.br
\fIproperties\fP An array of elements listing all properties the client is interested in.The elements contain OR'ed values of constants from the \fBNET\fP base class, in the following order: [0]= \fBNET::Property\fP, [1]= \fBNET::Property2\fP. In future versions, the list may be extended. In case you pass less elements, the missing ones will be replaced with default values.
.br
\fIproperties_size\fP The number of elements in the properties array.
.br
\fIrole\fP Select the application role. If this argument is omitted, the role will default to Client.
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 2581 of file netwm.cpp.
.SS "NETWinInfo::NETWinInfo (Display * display, Window window, Window rootWindow, unsigned long properties, \fBRole\fP role = \fCClient\fP)"
.PP
This constructor differs from the above one only in the way it accepts the list of properties the client is interested in. 
.PP
The properties argument is equivalent to the first element of the properties array in the above constructor. 
.PP
Definition at line 2644 of file netwm.cpp.
.SS "NETWinInfo::NETWinInfo (const \fBNETWinInfo\fP & wininfo)"
.PP
Creates a shared copy of the specified NETWinInfo object. 
.PP
\fBParameters:\fP
.RS 4
\fIwininfo\fP the NETWinInfo to copy 
.RE
.PP

.PP
Definition at line 2701 of file netwm.cpp.
.SS "NETWinInfo::~\fBNETWinInfo\fP ()\fC [virtual]\fP"
.PP
Destroys the NETWinInfo object. 
.PP
Definition at line 2707 of file netwm.cpp.
.SH "Member Function Documentation"
.PP 
.SS "const \fBNETWinInfo\fP & NETWinInfo::operator= (const \fBNETWinInfo\fP & wintinfo)"
.PP
Assignment operator. 
.PP
Ensures that the shared data reference counts are correct. 
.PP
Definition at line 2716 of file netwm.cpp.
.PP
References p, and role.
.SS "bool NETWinInfo::hasNETSupport () const"
.PP
Returns true if the window has any window type set, even if the type itself is not known to this implementation. 
.PP
Presence of a window type as specified by the NETWM spec is considered as the window supporting this specification. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP
\fBReturns:\fP
.RS 4
true if the window has support for the NETWM spec 
.RE
.PP

.PP
Definition at line 4210 of file netwm.cpp.
.SS "const unsigned long * NETWinInfo::passedProperties () const"
.PP
Returns the properties argument passed to the constructor. 
.PP
The size is the maximum array size the constructor accepts.
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4247 of file netwm.cpp.
.SS "unsigned long NETWinInfo::properties () const"
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP
Returns an OR'ed list of protocols passed to the constructor.
.PP
\fBReturns:\fP
.RS 4
an OR'ed list of protocols
.RE
.PP
\fBSee also:\fP
.RS 4
\fBNET::Property\fP 
.RE
.PP

.PP
Definition at line 4251 of file netwm.cpp.
.PP
Referenced by event().
.SS "\fBNETRect\fP NETWinInfo::iconGeometry () const"
.PP
Returns the icon geometry. 
.PP
\fBReturns:\fP
.RS 4
the geometry of the icon 
.RE
.PP

.PP
Definition at line 4112 of file netwm.cpp.
.SS "unsigned long NETWinInfo::state () const"
.PP
Returns the state of the window (see the \fBNET\fP base class documentation for a description of the various states). 
.PP
\fBReturns:\fP
.RS 4
the state of the window 
.RE
.PP

.PP
Definition at line 4117 of file netwm.cpp.
.PP
Referenced by event().
.SS "\fBNETExtendedStrut\fP NETWinInfo::extendedStrut () const"
.PP
Returns the extended (partial) strut specified by this client. 
.PP
See _NET_WM_STRUT_PARTIAL in the spec. 
.PP
Definition at line 4126 of file netwm.cpp.
.SS "\fBNETStrut\fP NETWinInfo::strut () const"
.PP
\fBDeprecated\fP
.RS 4
use strutPartial() Returns the strut specified by this client. 
.RE
.PP
\fBReturns:\fP
.RS 4
the strut of the window 
.RE
.PP

.PP
Definition at line 4122 of file netwm.cpp.
.SS "\fBNET::WindowType\fP NETWinInfo::windowType (unsigned long supported_types) const"
.PP
Returns the window type for this client (see the \fBNET\fP base class documentation for a description of the various window types). 
.PP
Since clients may specify several windows types for a window in order to support backwards compatibility and extensions not available in the NETWM spec, you should specify all window types you application supports (see the \fBNET::WindowTypeMask\fP mask values for various window types). This method will return the first window type that is listed in the supported types, or NET::Unknown if none of the window types is supported.
.PP
\fBReturns:\fP
.RS 4
the type of the window 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4154 of file netwm.cpp.
.PP
References NET::typeMatchesMask().
.SS "\fBNET::WindowType\fP NETWinInfo::windowType () const"
.PP
\fBDeprecated\fP
.RS 4
Returns the window type for this client (see the \fBNET\fP base class documentation for a description of the various window types). 
.RE
.PP
\fBReturns:\fP
.RS 4
the type of the window 
.RE
.PP

.PP
Definition at line 4165 of file netwm.cpp.
.SS "const char * NETWinInfo::name () const"
.PP
Returns the name of the window in UTF-8 format. 
.PP
\fBReturns:\fP
.RS 4
the name of the window 
.RE
.PP

.PP
Definition at line 4170 of file netwm.cpp.
.SS "const char * NETWinInfo::visibleName () const"
.PP
Returns the visible name as set by the window manager in UTF-8 format. 
.PP
\fBReturns:\fP
.RS 4
the visible name of the window 
.RE
.PP

.PP
Definition at line 4175 of file netwm.cpp.
.PP
Referenced by setVisibleName().
.SS "const char * NETWinInfo::iconName () const"
.PP
Returns the iconic name of the window in UTF-8 format. 
.PP
Note that this has nothing to do with icons, but it's for 'iconic' representations of the window (taskbars etc.), that should be shown when the window is in iconic state. See description of _NET_WM_ICON_NAME for details.
.PP
\fBReturns:\fP
.RS 4
the iconic name 
.RE
.PP

.PP
Definition at line 4180 of file netwm.cpp.
.PP
Referenced by setIconName().
.SS "const char * NETWinInfo::visibleIconName () const"
.PP
Returns the visible iconic name as set by the window manager in UTF-8 format. 
.PP
Note that this has nothing to do with icons, but it's for 'iconic' representations of the window (taskbars etc.), that should be shown when the window is in iconic state. See description of _NET_WM_VISIBLE_ICON_NAME for details.
.PP
\fBReturns:\fP
.RS 4
the visible iconic name 
.RE
.PP

.PP
Definition at line 4185 of file netwm.cpp.
.PP
Referenced by setVisibleIconName().
.SS "int NETWinInfo::desktop () const"
.PP
Returns the desktop where the window is residing. 
.PP
\fBReturns:\fP
.RS 4
the number of the window's desktop
.RE
.PP
\fBSee also:\fP
.RS 4
\fBOnAllDesktops()\fP 
.RE
.PP

.PP
Definition at line 4190 of file netwm.cpp.
.SS "int NETWinInfo::pid () const"
.PP
Returns the process id for the client window. 
.PP
\fBReturns:\fP
.RS 4
the process id of the window 
.RE
.PP

.PP
Definition at line 4194 of file netwm.cpp.
.SS "Bool NETWinInfo::handledIcons () const"
.PP
Returns whether or not this client handles icons. 
.PP
\fBReturns:\fP
.RS 4
true if this client handles icons, false otherwise 
.RE
.PP

.PP
Definition at line 4238 of file netwm.cpp.
.SS "Window NETWinInfo::kdeSystemTrayWinFor () const"
.PP
Returns a Window id, telling the window manager which window we are representing. 
.PP
\fBReturns:\fP
.RS 4
the window id 
.RE
.PP

.PP
Definition at line 4243 of file netwm.cpp.
.SS "\fBNET::MappingState\fP NETWinInfo::mappingState () const"
.PP
Returns the mapping state for the window (see the \fBNET\fP base class documentation for a description of mapping state). 
.PP
\fBReturns:\fP
.RS 4
the mapping state 
.RE
.PP

.PP
Definition at line 4256 of file netwm.cpp.
.SS "void NETWinInfo::setIcon (\fBNETIcon\fP icon, Bool replace = \fCTrue\fP)"
.PP
Set icons for the application window. 
.PP
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.
.PP
\fBParameters:\fP
.RS 4
\fIicon\fP the new icon
.br
\fIreplace\fP true to replace, false to append to the list of icons 
.RE
.PP

.PP
Definition at line 2736 of file netwm.cpp.
.PP
References NETIcon::data, NETSize::height, NETIcon::size, and NETSize::width.
.SS "void NETWinInfo::setIconGeometry (\fBNETRect\fP geometry)"
.PP
Set the icon geometry for the application window. 
.PP
\fBParameters:\fP
.RS 4
\fIgeometry\fP the new icon geometry 
.RE
.PP

.PP
Definition at line 2790 of file netwm.cpp.
.PP
References NETSize::height, NETRect::pos, NETRect::size, NETSize::width, NETPoint::x, and NETPoint::y.
.SS "void NETWinInfo::setExtendedStrut (const \fBNETExtendedStrut\fP & extended_strut)"
.PP
Set the extended (partial) strut for the application window. 
.PP
\fBParameters:\fP
.RS 4
\fIextended_strut\fP the new strut 
.RE
.PP

.PP
Definition at line 2806 of file netwm.cpp.
.SS "void NETWinInfo::setStrut (\fBNETStrut\fP strut)"
.PP
\fBDeprecated\fP
.RS 4
use \fBsetExtendedStrut()\fP Set the strut for the application window. 
.RE
.PP
\fBParameters:\fP
.RS 4
\fIstrut\fP the new strut 
.RE
.PP

.PP
Definition at line 2830 of file netwm.cpp.
.PP
References NETStrut::bottom, NETStrut::left, NETStrut::right, and NETStrut::top.
.SS "void NETWinInfo::setState (unsigned long state, unsigned long mask)"
.PP
Set the state for the application window (see the \fBNET\fP base class documentation for a description of window state). 
.PP
Note that the constructor needs to be passed NET::WMState in properties even if it's only used for setting the state without reading it.
.PP
\fBParameters:\fP
.RS 4
\fIstate\fP the name state
.br
\fImask\fP the mask for the state 
.RE
.PP

.PP
Definition at line 2846 of file netwm.cpp.
.SS "void NETWinInfo::setWindowType (\fBWindowType\fP type)"
.PP
Sets the window type for this client (see the \fBNET\fP base class documentation for a description of the various window types). 
.PP
\fBParameters:\fP
.RS 4
\fItype\fP the window type 
.RE
.PP

.PP
Definition at line 3050 of file netwm.cpp.
.SS "void NETWinInfo::setName (const char * name)"
.PP
Sets the name for the application window. 
.PP
\fBParameters:\fP
.RS 4
\fIname\fP the new name of the window 
.RE
.PP

.PP
Definition at line 3128 of file netwm.cpp.
.SS "void NETWinInfo::setVisibleName (const char * visibleName)"
.PP
For Window Managers only: set the visible name ( i.e. 
.PP
xterm, xterm <2>, xterm <3>, ... )
.PP
\fBParameters:\fP
.RS 4
\fIvisibleName\fP the new visible name 
.RE
.PP

.PP
Definition at line 3142 of file netwm.cpp.
.PP
References visibleName().
.SS "void NETWinInfo::setIconName (const char * name)"
.PP
Sets the iconic name for the application window. 
.PP
\fBParameters:\fP
.RS 4
\fIname\fP the new iconic name 
.RE
.PP

.PP
Definition at line 3156 of file netwm.cpp.
.PP
References iconName().
.SS "void NETWinInfo::setVisibleIconName (const char * name)"
.PP
For Window Managers only: set the visible iconic name ( i.e. 
.PP
xterm, xterm <2>, xterm <3>, ... )
.PP
\fBParameters:\fP
.RS 4
\fIname\fP the new visible iconic name 
.RE
.PP

.PP
Definition at line 3170 of file netwm.cpp.
.PP
References visibleIconName().
.SS "void NETWinInfo::setDesktop (int desktop)"
.PP
Set which window the desktop is (should be) on. 
.PP
\fBParameters:\fP
.RS 4
\fIdesktop\fP the number of the new desktop
.RE
.PP
\fBSee also:\fP
.RS 4
\fBOnAllDesktops()\fP 
.RE
.PP

.PP
Definition at line 3184 of file netwm.cpp.
.PP
References OnAllDesktops.
.SS "void NETWinInfo::setPid (int pid)"
.PP
Set the application window's process id. 
.PP
\fBParameters:\fP
.RS 4
\fIpid\fP the window's process id 
.RE
.PP

.PP
Definition at line 3228 of file netwm.cpp.
.SS "void NETWinInfo::setHandledIcons (Bool handled)"
.PP
Set whether this application window handles icons. 
.PP
\fBParameters:\fP
.RS 4
\fIhandled\fP true if the window handles icons, false otherwise 
.RE
.PP

.PP
Definition at line 3238 of file netwm.cpp.
.SS "void NETWinInfo::setKDESystemTrayWinFor (Window window)"
.PP
Set which window we are representing as a system tray window. 
.PP
\fBParameters:\fP
.RS 4
\fIwindow\fP the window that is represented by the system tray icon 
.RE
.PP

.PP
Definition at line 3290 of file netwm.cpp.
.SS "void NETWinInfo::setKDEFrameStrut (\fBNETStrut\fP strut)"
.PP
Set the frame decoration strut. 
.PP
This is a \fBKDE\fP 2.0 extension to aid in writing pager applications.
.PP
\fBParameters:\fP
.RS 4
\fIstrut\fP the new strut 
.RE
.PP

.PP
Definition at line 3300 of file netwm.cpp.
.PP
References NETStrut::bottom, NETStrut::left, NETStrut::right, and NETStrut::top.
.SS "\fBNETIcon\fP NETWinInfo::icon (int width = \fC-1\fP, int height = \fC-1\fP) const"
.PP
Returns an icon. 
.PP
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.
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP the preferred width for the icon, -1 to ignore
.br
\fIheight\fP the preferred height for the icon, -1 to ignore
.RE
.PP
\fBReturns:\fP
.RS 4
the icon 
.RE
.PP

.PP
Definition at line 3341 of file netwm.cpp.
.PP
References NETIcon::data, NETSize::height, NETIcon::size, and NETSize::width.
.SS "Time NETWinInfo::userTime () const"
.PP
Returns the time of last user action on the window, or -1 if not set. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4198 of file netwm.cpp.
.SS "const char * NETWinInfo::startupId () const"
.PP
Returns the startup notification id of the window. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4202 of file netwm.cpp.
.SS "void NETWinInfo::setAllowedActions (unsigned long actions)"
.PP
Sets actions that the window manager allows for the window. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 3257 of file netwm.cpp.
.SS "unsigned long NETWinInfo::allowedActions () const"
.PP
Returns actions that the window manager allows for the window. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4206 of file netwm.cpp.
.SS "Window NETWinInfo::groupLeader () const"
.PP
Returns the leader window for the group the window is in, if any. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 4218 of file netwm.cpp.
.SS "const char * NETWinInfo::windowClassClass () const"
.PP
Returns the class component of the window class for the window (i.e. 
.PP
WM_CLASS property). 
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 4222 of file netwm.cpp.
.SS "const char * NETWinInfo::windowClassName () const"
.PP
Returns the name component of the window class for the window (i.e. 
.PP
WM_CLASS property). 
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 4226 of file netwm.cpp.
.SS "const char * NETWinInfo::windowRole () const"
.PP
Returns the window role for the window (i.e. 
.PP
WM_WINDOW_ROLE property). 
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 4230 of file netwm.cpp.
.SS "const char * NETWinInfo::clientMachine () const"
.PP
Returns the client machine for the window (i.e. 
.PP
WM_CLIENT_MACHINE property). 
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 4234 of file netwm.cpp.
.SS "void NETWinInfo::kdeGeometry (\fBNETRect\fP & frame, \fBNETRect\fP & window)"
.PP
Places the window frame geometry in frame, and the application window geometry in window. 
.PP
Both geometries are relative to the root window.
.PP
\fBParameters:\fP
.RS 4
\fIframe\fP the geometry for the frame
.br
\fIwindow\fP the geometry for the window 
.RE
.PP

.PP
Definition at line 3316 of file netwm.cpp.
.PP
References NETStrut::bottom, NETStrut::left, NETStrut::right, and NETStrut::top.
.SS "void NETWinInfo::event (XEvent * event, unsigned long * properties, int properties_size)"
.PP
This function takes the passed XEvent and returns an OR'ed list of NETWinInfo properties that have changed in the properties argument. 
.PP
The new information will be read immediately by the class. The elements of the properties argument are as they would be passed to the constructor, if the array is not large enough, changed properties that don't fit in it won't be listed there (they'll be updated in the class though).
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP the event 
.br
\fIproperties\fP properties that changed 
.br
\fIproperties_size\fP size of the passed properties array 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 3386 of file netwm.cpp.
.PP
References changeDesktop(), changeState(), event(), NETSize::height, OnAllDesktops, properties(), NETIcon::size, state(), and NETSize::width.
.PP
Referenced by event().
.SS "unsigned long NETWinInfo::event (XEvent * event)"
.PP
This function takes the pass XEvent and returns an OR'ed list of NETWinInfo properties that have changed. 
.PP
The new information will be read immediately by the class. This overloaded version returns only a single mask, and therefore cannot check state of all properties like the other variant.
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP the event
.RE
.PP
\fBReturns:\fP
.RS 4
the properties 
.RE
.PP

.PP
Definition at line 3379 of file netwm.cpp.
.PP
References event().
.SS "virtual void NETWinInfo::changeDesktop (int desktop)\fC [inline, protected, virtual]\fP"
.PP
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. 
.PP
move to another desktop).
.PP
\fBParameters:\fP
.RS 4
\fIdesktop\fP the number of the desktop 
.RE
.PP

.PP
Definition at line 1359 of file netwm.h.
.PP
Referenced by event().
.SS "virtual void NETWinInfo::changeState (unsigned long state, unsigned long mask)\fC [inline, protected, virtual]\fP"
.PP
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. 
.PP
to Shade / Unshade).
.PP
\fBParameters:\fP
.RS 4
\fIstate\fP the new state
.br
\fImask\fP the mask for the state 
.RE
.PP

.PP
Definition at line 1370 of file netwm.h.
.PP
Referenced by event().
.SH "Member Data Documentation"
.PP 
.SS "const int \fBNETWinInfo::OnAllDesktops\fP = NET::OnAllDesktops\fC [static]\fP"
.PP
Sentinel value to indicate that the client wishes to be visible on all desktops. 
.PP
\fBReturns:\fP
.RS 4
the value to be on all desktops 
.RE
.PP

.PP
Reimplemented from \fBNET\fP.
.PP
Definition at line 2579 of file netwm.cpp.
.PP
Referenced by event(), and setDesktop().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
