#### PyKDE - Python Bindings for KDE

# class NETRootInfo |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | NETRootInfo
Inherits | NET

### enums

- (anonymous) = {PROTOCOLS, WINDOW_TYPES, STATES, PROTOCOLS2, ACTIONS, PROPERTIES_SIZE }

### methods

- NETRootInfo (supportWindow, wmName, properties, screen = -1, doActivate = True)

  returns a NETRootInfo instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  supportWindow | Window |
  wmName | a Python string |
  properties | a Python list |
  screen | int | -1
  doActivate | bool | True

- NETRootInfo (supportWindow, wmName, properties, screen = -1, doActivate = 1)

  returns a NETRootInfo instance
  Argument | Type | Default
  --- | --- | ---
  supportWindow | Window |
  wmName | a Python string |
  properties | ulong |
  screen | int | -1
  doActivate | bool | 1

- NETRootInfo (properties, screen = -1, doActivate = 1)

  returns a NETRootInfo instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  properties | ulong |
  screen | int | -1
  doActivate | bool | 1

- NETRootInfo (properties, screen = -1, doActivate = 1)

  returns a NETRootInfo instance
  Argument | Type | Default
  --- | --- | ---
  properties | ulong |
  screen | int | -1
  doActivate | bool | 1

- NETRootInfo (rootinfo)

  returns a NETRootInfo instance
  Argument | Type | Default
  --- | --- | ---
  rootinfo | NETRootInfo |

- activate ()

  returns nothing

- activeWindow ()

  returns (Window)

- addClient (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- addSystemTrayWin (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- changeActiveWindow (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- changeCurrentDesktop (desktop)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- changeDesktopGeometry (desktop, geom)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  geom | NETSize |

- changeDesktopViewport (desktop, viewport)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  viewport | NETPoint |

- changeNumberOfDesktops (numberOfDesktops)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  numberOfDesktops | int |

- clientList ()

  returns a Python list of Window,

- clientListCount ()

  returns (int)

- clientListStacking ()

  returns a Python list of Window,

- clientListStackingCount ()

  returns (int)

- closeWindow (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- closeWindowRequest (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- currentDesktop ()

  returns (int)

- desktopGeometry (desktop)

  returns (NETSize)
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- desktopName (desktop)

  returns (char)
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- desktopViewport (desktop)

  returns (NETPoint)
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- event (event, properties_size)

  Not Implemented

- event (event)

  Not Implemented

- isSupported (property)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  property | NET.Property |

- isSupported (property)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  property | NET.Property2 |

- isSupported (type)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  type | NET.WindowType |

- isSupported (state)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  state | NET.State |

- isSupported (action)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | NET.Action |

- kdeSystemTrayWindows ()

  returns a Python list of Window,

- kdeSystemTrayWindowsCount ()

  returns (int)

- moveResize (window, x_root, y_root, direction)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  x_root | int |
  y_root | int |
  direction | ulong |

- moveResizeRequest (window, x_root, y_root, direction)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  x_root | int |
  y_root | int |
  direction | Direction |

- moveResizeWindowRequest (window, flags, x, y, width, height)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  flags | int |
  x | int |
  y | int |
  width | int |
  height | int |

- numberOfDesktops ()

  returns (int)

- passedProperties ()

  returns a Python list of ulong,
  In versions KDE 3.2.0 and above only

- removeClient (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- removeSystemTrayWin (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- restackRequest (window, source, above, detail, timestamp)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  source | RequestSource |
  above | Window |
  detail | int |
  timestamp | Time |

- restackRequest (window, above, detail)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  above | Window |
  detail | int |

- rootWindow ()

  returns (Window)

- screenNumber ()

  returns (int)

- setActiveWindow (window, src, timestamp, active_window)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  src | NET.RequestSource |
  timestamp | Time |
  active_window | Window |

- setActiveWindow (window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  window | Window |

- setClientList (windows)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  windows | a Python list of Window |

- setClientListStacking (windows)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  windows | a Python list of Window |

- setCurrentDesktop (desktop)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- setDesktopGeometry (desktop, geometry)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  geometry | NETSize |

- setDesktopName (desktop, desktopName)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  desktopName | char |

- setDesktopViewport (desktop, viewport)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  viewport | NETPoint |

- setKDESystemTrayWindows (windows)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  windows | a Python list of Window |

- setNumberOfDesktops (numberOfDesktops)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  numberOfDesktops | int |

- setShowingDesktop (showing)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  showing | bool |

- setVirtualRoots (windows)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  windows | a Python list of Window |

- setWorkArea (desktop, workArea)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  desktop | int |
  workArea | NETRect |

- showingDesktop ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- supportWindow ()

  returns (Window)

- supported ()

  returns (ulong)

- supportedProperties ()

  returns a Python list of ulong,
  In versions KDE 3.2.0 and above only

- virtualRoots ()

  returns a Python list of Window,

- virtualRootsCount ()

  returns (int)

- wmName ()

  returns (char)

- workArea (desktop)

  returns (NETRect)
  Argument | Type | Default
  --- | --- | ---
  desktop | int |

- x11Display ()

  returns (Display)