#### PyKDE - Python Bindings for KDE

# class NET

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | NET
Inherits |

### enums

- (anonymous) = {AllTypesMask }
- (anonymous) = {OnAllDesktops }
- (anonymous) = {AllTypesMask }
- Action = {ActionMove, ActionResize, ActionMinimize, ActionShade, ActionStick, ActionMaxVert, ActionMaxHoriz, ActionMax, ActionFullScreen, ActionChangeDesktop, ActionClose }
- Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move, KeyboardSize, KeyboardMove, MoveResizeCancel }
- Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move, KeyboardSize, KeyboardMove }
- Direction = {TopLeft, Top, TopRight, Right, BottomRight, Bottom, BottomLeft, Left, Move }
- MappingState = {Visible, Withdrawn, Iconic }
- Property = {Supported, ClientList, ClientListStacking, NumberOfDesktops, DesktopGeometry, DesktopViewport, CurrentDesktop, DesktopNames, ActiveWindow, WorkArea, SupportingWMCheck, VirtualRoots, KDESystemTrayWindows, CloseWindow, WMMoveResize, WMName, WMVisibleName, WMDesktop, WMWindowType, WMState, WMStrut, WMIconGeometry, WMIcon, WMPid, WMHandledIcons, WMPing, WMKDESystemTrayWinFor, XAWMState, WMFrameExtents, WMKDEFrameStrut, WMIconName, WMVisibleIconName, WMGeometry }
- Property = {Supported, ClientList, ClientListStacking, NumberOfDesktops, DesktopGeometry, DesktopViewport, CurrentDesktop, DesktopNames, ActiveWindow, WorkArea, SupportingWMCheck, VirtualRoots, KDESystemTrayWindows, CloseWindow, WMMoveResize, WMName, WMVisibleName, WMDesktop, WMWindowType, WMState, WMStrut, WMIconGeometry, WMIcon, WMPid, WMHandledIcons, WMPing, WMKDESystemTrayWinFor, XAWMState, WMKDEFrameStrut, WMIconName, WMVisibleIconName, WMGeometry }
- 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, WM2ShowingDesktop = 8192 }
- Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow, WM2ExtendedStrut, WM2TakeActivity, WM2KDETemporaryRules, WM2WindowClass, WM2WindowRole, WM2ClientMachine }
- Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow, WM2ExtendedStrut, WM2TakeActivity, WM2KDETemporaryRules }
- Property2 = {WM2UserTime, WM2StartupId, WM2TransientFor, WM2GroupLeader, WM2AllowedActions, WM2RestackWindow, WM2MoveResizeWindow }
- RequestSource = {FromUnknown, FromApplication, FromTool }
- Role = {Client, WindowManager }
- State = {Modal, Sticky, MaxVert, MaxHoriz, Max, Shaded, SkipTaskbar, KeepAbove, StaysOnTop, SkipPager, Hidden, FullScreen, KeepBelow, DemandsAttention }
- State = {Modal, Sticky, MaxVert, MaxHoriz, Max, Shaded, SkipTaskbar, StaysOnTop, SkipPager }
- WindowType = {Unknown, Normal, Desktop, Dock, Toolbar, Menu, Dialog, Override, TopMenu, Tool, Utility, Splash }
- WindowType = {Unknown, Normal, Desktop, Dock, Toolbar, Menu, Dialog, Override, TopMenu, Tool }
- WindowType = {Unknown, Normal, Desktop, Dock, Tool, Menu, Dialog, Override, Toolbar }
- WindowTypeMask = {NormalMask, DesktopMask, DockMask, ToolbarMask, MenuMask, DialogMask, OverrideMask, TopMenuMask, UtilityMask, SplashMask }

### methods

- timestampCompare (time1, time2)

  returns (int)
  In versions KDE 3.5.3 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  time1 | ulong |
  time2 | ulong |

- timestampDiff (time1_, time2_)

  returns (int)
  In versions KDE 3.5.3 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  time1_ | ulong |
  time2_ | ulong |

- typeMatchesMask (type, mask)

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

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