#### PyKDE - Python Bindings for KDE

# class NET

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | NET
Inherits |

### enums

- (anonymous) = {AllTypesMask = -1L U }
- (anonymous) = {OnAllDesktops = -1 }
- (anonymous) = {AllTypesMask = -1 }
- Action = {ActionMove = 1, ActionResize = 2, ActionMinimize = 4, ActionShade = 8, ActionStick = 16, ActionMaxVert = 32, ActionMaxHoriz = 64, ActionMax = ActionMaxVert |ActionMaxHoriz , ActionFullScreen = 128, ActionChangeDesktop = 256, ActionClose = 512 }
- Direction = {TopLeft = 0, Top = 1, TopRight = 2, Right = 3, BottomRight = 4, Bottom = 5, BottomLeft = 6, Left = 7, Move = 8, KeyboardSize = 9, KeyboardMove = 10 }
- Direction = {TopLeft = 0, Top = 1, TopRight = 2, Right = 3, BottomRight = 4, Bottom = 5, BottomLeft = 6, Left = 7, Move = 8 }
- MappingState = {Visible, Withdrawn, Iconic }
- Property = {Supported = 1, ClientList = 2, ClientListStacking = 4, NumberOfDesktops = 8, DesktopGeometry = 16, DesktopViewport = 32, CurrentDesktop = 64, DesktopNames = 128, ActiveWindow = 256, WorkArea = 512, SupportingWMCheck = 1024, VirtualRoots = 2048, KDESystemTrayWindows = 4096, CloseWindow = 8192, WMMoveResize = 16384, WMName = 32768, WMVisibleName = 65536, WMDesktop = 131072, WMWindowType = 262144, WMState = 524288, WMStrut = 1048576, WMIconGeometry = 2097152, WMIcon = 4194304, WMPid = 8388608, WMHandledIcons = 16777216, WMPing = 33554432, WMKDESystemTrayWinFor = 67108864, XAWMState = 134217728, WMKDEFrameStrut = 268435456, WMIconName = 536870912, WMVisibleIconName = 1073741824, WMGeometry = -2147483648 }
- Property2 = {WM2UserTime = 1, WM2StartupId = 2, WM2TransientFor = 4, WM2GroupLeader = 8, WM2AllowedActions = 16, WM2RestackWindow = 32, WM2MoveResizeWindow = 64, WM2ExtendedStrut = 128, WM2TakeActivity = 256, WM2KDETemporaryRules = 512, WM2WindowClass = 1024, WM2WindowRole = 2048, WM2ClientMachine = 4096 }
- Property2 = {WM2UserTime = 1, WM2StartupId = 2, WM2TransientFor = 4, WM2GroupLeader = 8, WM2AllowedActions = 16, WM2RestackWindow = 32, WM2MoveResizeWindow = 64, WM2ExtendedStrut = 128, WM2TakeActivity = 256, WM2KDETemporaryRules = 512 }
- Property2 = {WM2UserTime = 1, WM2StartupId = 2, WM2TransientFor = 4, WM2GroupLeader = 8, WM2AllowedActions = 16, WM2RestackWindow = 32, WM2MoveResizeWindow = 64 }
- RequestSource = {FromUnknown, FromApplication, FromTool }
- Role = {Client, WindowManager }
- State = {Modal = 1, Sticky = 2, MaxVert = 4, MaxHoriz = 8, Max = MaxVert |MaxHoriz , Shaded = 16, SkipTaskbar = 32, KeepAbove = 64, StaysOnTop = KeepAbove , SkipPager = 128, Hidden = 256, FullScreen = 512, KeepBelow = 1024, DemandsAttention = 2048 }
- State = {Modal = 1, Sticky = 2, MaxVert = 4, MaxHoriz = 8, Max = MaxVert |MaxHoriz , Shaded = 16, SkipTaskbar = 32, StaysOnTop = 64, SkipPager = 128 }
- 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 }
- WindowType = {Unknown = -1, Normal = 0, Desktop = 1, Dock = 2, Toolbar = 3, Menu = 4, Dialog = 5, Override = 6, TopMenu = 7, Tool = Toolbar }
- WindowType = {Unknown = -1, Normal = 0, Desktop = 1, Dock = 2, Tool = 3, Menu = 4, Dialog = 5, Override = 6, Toolbar = Tool }
- WindowTypeMask = {NormalMask = 1, DesktopMask = 2, DockMask = 4, ToolbarMask = 8, MenuMask = 16, DialogMask = 32, OverrideMask = 64, TopMenuMask = 128, UtilityMask = 256, SplashMask = 512 }

### methods

- typeMatchesMask (type, mask)

  returns (bool)
  In versions KDE 3.3.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  type | NET.WindowType |
  mask | ulong |