.TH "NET" 3 "28 Jan 2004" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
NET \- Base namespace class.  

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

.in +1c
.ti -1c
.RI "enum \fBRole\fP { \fBClient\fP, \fBWindowManager\fP }"
.br
.RI "\fIApplication role. \fP"
.ti -1c
.RI "enum \fBWindowType\fP { \fBUnknown\fP =  -1, \fBNormal\fP =  0, \fBDesktop\fP =  1, \fBDock\fP =  2, \fBToolbar\fP =  3, \fBMenu\fP =  4, \fBDialog\fP =  5, \fBOverride\fP =  6, \fBTopMenu\fP =  7, \fBTool\fP =  Toolbar }"
.br
.RI "\fIWindow type. \fP"
.ti -1c
.RI "enum \fBState\fP { \fBModal\fP =  1<<0, \fBSticky\fP =  1<<1, \fBMaxVert\fP =  1<<2, \fBMaxHoriz\fP =  1<<3, \fBMax\fP =  MaxVert | MaxHoriz, \fBShaded\fP =  1<<4, \fBSkipTaskbar\fP =  1<<5, \fBStaysOnTop\fP =  1<<6, \fBSkipPager\fP =  1<<7 }"
.br
.RI "\fIWindow state. \fP"
.ti -1c
.RI "enum \fBDirection\fP { \fBTopLeft\fP =  0, \fBTop\fP =  1, \fBTopRight\fP =  2, \fBRight\fP =  3, \fBBottomRight\fP =  4, \fBBottom\fP =  5, \fBBottomLeft\fP =  6, \fBLeft\fP =  7, \fBMove\fP =  8 }"
.br
.RI "\fIDirection for WMMoveResize. \fP"
.ti -1c
.RI "enum \fBMappingState\fP { \fBVisible\fP, \fBWithdrawn\fP, \fBIconic\fP }"
.br
.RI "\fIClient window mapping state. \fP"
.ti -1c
.RI "enum \fBProperty\fP { \fBSupported\fP =  1<<0, \fBClientList\fP =  1<<1, \fBClientListStacking\fP =  1<<2, \fBNumberOfDesktops\fP =  1<<3, \fBDesktopGeometry\fP =  1<<4, \fBDesktopViewport\fP =  1<<5, \fBCurrentDesktop\fP =  1<<6, \fBDesktopNames\fP =  1<<7, \fBActiveWindow\fP =  1<<8, \fBWorkArea\fP =  1<<9, \fBSupportingWMCheck\fP =  1<<10, \fBVirtualRoots\fP =  1<<11, \fBKDESystemTrayWindows\fP =  1<<12, \fBCloseWindow\fP =  1<<13, \fBWMMoveResize\fP =  1<<14, \fBWMName\fP =  1<<15, \fBWMVisibleName\fP =  1<<16, \fBWMDesktop\fP =  1<<17, \fBWMWindowType\fP =  1<<18, \fBWMState\fP =  1<<19, \fBWMStrut\fP =  1<<20, \fBWMIconGeometry\fP =  1<<21, \fBWMIcon\fP =  1<<22, \fBWMPid\fP =  1<<23, \fBWMHandledIcons\fP =  1<<24, \fBWMPing\fP =  1<<25, \fBWMKDESystemTrayWinFor\fP =  1<<26, \fBXAWMState\fP =  1<<27, \fBWMKDEFrameStrut\fP =  1<<28, \fBWMIconName\fP =  1<<29, \fBWMVisibleIconName\fP =  1<<30, \fBWMGeometry\fP =  1<<31 }"
.br
.RI "\fISupported properties. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Base namespace class. 

The NET API is an implementation of the NET Window Manager Specification.
.PP
This class is the base class for the NETRootInfo and NETWinInfo classes, which are used to retrieve and modify the properties of windows. To keep the namespace relatively clean, all enums are defined here.
.PP
\fBSee also:\fP
.RS 4
http://www.freedesktop.org/standards/wm-spec/ 
.RE
.PP

.PP
Definition at line 190 of file netwm_def.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBNET::Role\fP"
.PP
Application role. This is used internally to determine how several action should be performed (if at all).
.PP
.IP "\(bu" 2
Client indicates that the application is a client application.
.PP
.IP "\(bu" 2
WindowManager indicates that the application is a window manager application. 
.PP
Definition at line 202 of file netwm_def.h.
.SS "enum \fBNET::WindowType\fP"
.PP
Window type. .IP "\(bu" 2
Unknown indicates that the window did not define a window type.
.PP
.IP "\(bu" 2
Normal indicates that this is a normal, top-level window. Windows with Unknown window type or WM_TRANSIENT_FOR unset must be taken as this type.
.PP
.IP "\(bu" 2
Desktop indicates a desktop feature. This can include a single window containing desktop icons with the same dimensions as the screen, allowing the desktop environment to have full control of the desktop, without the need for proxying root window clicks.
.PP
.IP "\(bu" 2
Dock indicates a dock or panel feature. Typically a window manager would keep such windows on top of all other windows.
.PP
.IP "\(bu" 2
Toolbar and Menu indicate toolbar and pinnable menu windows, respectively.
.PP
.IP "\(bu" 2
Dialog indicates that this is a dialog window. If _NET_WM_WINDOW_TYPE is not set, then windows with WM_TRANSIENT_FOR set must be taken as this type.
.PP
.IP "\(bu" 2
Override indicates that this window wants to have no Window Manager decorations. This is for windows that would normally use either override_redirect or Motif hints to give no decorations. This is a \fBKDE\fP extension to the _NET_WM_WINDOW_TYPE mechanism.
.PP
.IP "\(bu" 2
TopMenu indicates a toplevel menu (AKA macmenu). This is a \fBKDE\fP extension to the _NET_WM_WINDOW_TYPE mechanism. 
.PP
Definition at line 237 of file netwm_def.h.
.SS "enum \fBNET::State\fP"
.PP
Window state. .IP "\(bu" 2
Modal ndicates that this is a modal dialog box. The WM_TRANSIENT_FOR hint MUST be set to indicate which window the dialog is a modal for, or set to the root window if the dialog is a modal for its window group.
.PP
.IP "\(bu" 2
Sticky indicates that the Window Manager SHOULD keep the window's position fixed on the screen, even when the virtual desktop scrolls.
.PP
.IP "\(bu" 2
Max{Vert,Horiz} indicates that the window is {vertically,horizontally} maximized.
.PP
.IP "\(bu" 2
Max is more convenient than MaxVert | MaxHoriz.
.PP
.IP "\(bu" 2
Shaded indicates that the window is shaded (rolled-up).
.PP
.IP "\(bu" 2
SkipTaskbar indicates that a window should not be included on a taskbar.
.PP
.IP "\(bu" 2
StaysOnTop indicate that a window should be kept on top of other windows.
.PP
.IP "\(bu" 2
SkipPager indicates that a window should not be included on a pager. 
.PP
Definition at line 274 of file netwm_def.h.
.SS "enum \fBNET::Direction\fP"
.PP
Direction for WMMoveResize. When a client wants the Window Manager to start a WMMoveResize, it should specify one of:
.PP
.IP "\(bu" 2
TopLeft 
.IP "\(bu" 2
Top 
.IP "\(bu" 2
TopRight 
.IP "\(bu" 2
Right 
.IP "\(bu" 2
BottomRight 
.IP "\(bu" 2
Bottom 
.IP "\(bu" 2
BottomLeft 
.IP "\(bu" 2
Left 
.IP "\(bu" 2
Move (for movement only) 
.PP
Definition at line 303 of file netwm_def.h.
.SS "enum \fBNET::MappingState\fP"
.PP
Client window mapping state. The class automatically watches the mapping state of the client windows, and uses the mapping state to determine how to set/change different properties.
.PP
.IP "\(bu" 2
Visible indicates the client window is visible to the user.
.PP
.IP "\(bu" 2
Withdrawn indicates that neither the client window nor its icon is visible.
.PP
.IP "\(bu" 2
Iconic indicates that the client window is not visible, but its icon is. 
.PP
Definition at line 327 of file netwm_def.h.
.SS "enum \fBNET::Property\fP"
.PP
Supported properties. Clients and Window Managers must define which properties/protocols it wants to support.
.PP
Root/Desktop window properties and protocols:
.PP
.IP "\(bu" 2
Supported 
.IP "\(bu" 2
ClientList 
.IP "\(bu" 2
ClientListStacking 
.IP "\(bu" 2
NumberOfDesktops 
.IP "\(bu" 2
DesktopGeometry 
.IP "\(bu" 2
DesktopViewport 
.IP "\(bu" 2
CurrentDesktop 
.IP "\(bu" 2
DesktopNames 
.IP "\(bu" 2
ActiveWindow 
.IP "\(bu" 2
WorkArea 
.IP "\(bu" 2
SupportingWMCheck 
.IP "\(bu" 2
VirtualRoots 
.IP "\(bu" 2
CloseWindow 
.IP "\(bu" 2
WMMoveResize
.PP
Client window properties and protocols:
.PP
.IP "\(bu" 2
WMName 
.IP "\(bu" 2
WMVisibleName 
.IP "\(bu" 2
WMDesktop 
.IP "\(bu" 2
WMWindowType 
.IP "\(bu" 2
WMState 
.IP "\(bu" 2
WMStrut 
.IP "\(bu" 2
WMIconGeometry 
.IP "\(bu" 2
WMIcon 
.IP "\(bu" 2
WMPid
.PP
ICCCM properties (provided for convenience):
.PP
.IP "\(bu" 2
XAWMState
.PP
Extended \fBKDE\fP protocols and properties (NOT STANDARD):
.PP
.IP "\(bu" 2
KDESystemTrayWindows 
.IP "\(bu" 2
WMKDESystemTrayWinFor 
.IP "\(bu" 2
WMKDEFrameStrut 
.PP
Definition at line 377 of file netwm_def.h.

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