NET Class Reference
Base namespace class. More...
#include <netwm_def.h>
Inheritance diagram for NET:

Public Types | |
enum | Role { Client, WindowManager } |
enum | WindowType { Unknown = -1, Normal = 0, Desktop = 1, Dock = 2, Toolbar = 3, Menu = 4, Dialog = 5, Override = 6, TopMenu = 7, Tool = Toolbar, Utility = 8, Splash = 9 } |
enum | WindowTypeMask { NormalMask = 1<<0, DesktopMask = 1<<1, DockMask = 1<<2, ToolbarMask = 1<<3, MenuMask = 1<<4, DialogMask = 1<<5, OverrideMask = 1<<6, TopMenuMask = 1<<7, UtilityMask = 1<<8, SplashMask = 1<<9 } |
enum | { AllTypesMask = -1LU } |
enum | State { Modal = 1<<0, Sticky = 1<<1, MaxVert = 1<<2, MaxHoriz = 1<<3, Max = MaxVert | MaxHoriz, Shaded = 1<<4, SkipTaskbar = 1<<5, KeepAbove = 1<<6, StaysOnTop = KeepAbove, SkipPager = 1<<7, Hidden = 1<<8, FullScreen = 1<<9, KeepBelow = 1<<10, DemandsAttention = 1<<11 } |
enum | Direction { TopLeft = 0, Top = 1, TopRight = 2, Right = 3, BottomRight = 4, Bottom = 5, BottomLeft = 6, Left = 7, Move = 8, KeyboardSize = 9, KeyboardMove = 10 } |
enum | MappingState { Visible, Withdrawn, Iconic } |
enum | Action { ActionMove = 1<<0, ActionResize = 1<<1, ActionMinimize = 1<<2, ActionShade = 1<<3, ActionStick = 1<<4, ActionMaxVert = 1<<5, ActionMaxHoriz = 1<<6, ActionMax = ActionMaxVert | ActionMaxHoriz, ActionFullScreen = 1<<7, ActionChangeDesktop = 1<<8, ActionClose = 1<<9 } |
enum | Property { Supported = 1<<0, ClientList = 1<<1, ClientListStacking = 1<<2, NumberOfDesktops = 1<<3, DesktopGeometry = 1<<4, DesktopViewport = 1<<5, CurrentDesktop = 1<<6, DesktopNames = 1<<7, ActiveWindow = 1<<8, WorkArea = 1<<9, SupportingWMCheck = 1<<10, VirtualRoots = 1<<11, KDESystemTrayWindows = 1<<12, CloseWindow = 1<<13, WMMoveResize = 1<<14, WMName = 1<<15, WMVisibleName = 1<<16, WMDesktop = 1<<17, WMWindowType = 1<<18, WMState = 1<<19, WMStrut = 1<<20, WMIconGeometry = 1<<21, WMIcon = 1<<22, WMPid = 1<<23, WMHandledIcons = 1<<24, WMPing = 1<<25, WMKDESystemTrayWinFor = 1<<26, XAWMState = 1<<27, WMKDEFrameStrut = 1<<28, WMIconName = 1<<29, WMVisibleIconName = 1<<30, WMGeometry = 1<<31 } |
enum | Property2 { WM2UserTime = 1<<0, WM2StartupId = 1<<1, WM2TransientFor = 1<<2, WM2GroupLeader = 1<<3, WM2AllowedActions = 1<<4, WM2RestackWindow = 1<<5, WM2MoveResizeWindow = 1<<6, WM2ExtendedStrut = 1<<7, WM2TakeActivity = 1<<8, WM2KDETemporaryRules = 1<<9, WM2WindowClass = 1<<10, WM2WindowRole = 1<<11, WM2ClientMachine = 1<<12 } |
enum | { OnAllDesktops = -1 } |
enum | RequestSource { FromUnknown, FromApplication, FromTool } |
Static Public Member Functions | |
bool | typeMatchesMask (WindowType type, unsigned long mask) |
Detailed Description
Base namespace class.The NET API is an implementation of the NET Window Manager Specification.
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.
Definition at line 233 of file netwm_def.h.
Member Enumeration Documentation
|
Application role. This is used internally to determine how several action should be performed (if at all).
|
|
Window type.
|
|
Values for WindowType when they should be OR'ed together, e.g. for the properties argument of the NETRootInfo constructor.
|
|
Window state.
|
|
Direction for WMMoveResize. When a client wants the Window Manager to start a WMMoveResize, it should specify one of:
|
|
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.
|
|
Actions that can be done with a window (_NET_WM_ALLOWED_ACTIONS).
|
|
Supported properties. Clients and Window Managers must define which properties/protocols it wants to support. Root/Desktop window properties and protocols:
|
|
Supported properties. This enum is an extension to NET::Property, because them enum is limited only to 32 bits. Client window properties and protocols:
|
|
Sentinel value to indicate that the client wishes to be visible on all desktops.
|
|
Source of the request.
|
Member Function Documentation
|
Returns true if the given window type matches the mask given using WindowTypeMask flags. Definition at line 4122 of file netwm.cpp. References Splash, and Utility. Referenced by NETWinInfo::windowType(). |
The documentation for this class was generated from the following files: