#### PyKDE - Python Bindings for KDE

# class NETWinInfo |
Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | NETWinInfo
Inherits | NET

### enums

- (anonymous) = {PROTOCOLS, PROTOCOLS2, PROPERTIES_SIZE }

### methods

- NETWinInfo (window, rootWindow, properties, role, a3 = Client)

  returns a NETWinInfo instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  window | Window |
  rootWindow | Window |
  properties | ulong |
  role | int |
  a3 | Role | Client

- NETWinInfo (window (Window), properties (ulong) = Client)

  returns (),
  Argument | Type | Default
  --- | --- | ---
  window (Window) | ootWindow (Window |
  properties (ulong) | ole (Role | Client

- NETWinInfo (wininfo)

  returns a NETWinInfo instance
  Argument | Type | Default
  --- | --- | ---
  wininfo | NETWinInfo |

- allowedActions ()

  returns (ulong)
  In versions KDE 3.2.0 and above only

- changeDesktop (desktop)

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

- changeState (state, mask)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  state | ulong |
  mask | ulong |

- clientMachine ()

  returns (char)
  In versions KDE 3.3.0 and above only

- desktop ()

  returns (int)

- event (event, properties_size)

  Not Implemented

- event (event)

  Not Implemented

- extendedStrut ()

  returns (NETExtendedStrut)
  In versions KDE 3.3.0 and above only

- groupLeader ()

  returns (Window)
  In versions KDE 3.2.0 and above only

- handledIcons ()

  returns (Bool)

- hasNETSupport ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- icon (width = -1, height = -1)

  Not Implemented

- iconGeometry ()

  returns (NETRect)

- iconName ()

  returns (char)

- kdeGeometry (frame, window)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  frame | NETRect |
  window | NETRect |

- kdeSystemTrayWinFor ()

  returns (Window)

- mappingState ()

  returns (MappingState)

- name ()

  returns (char)

- passedProperties ()

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

- pid ()

  returns (int)

- properties ()

  returns (ulong)

- setAllowedActions (actions)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  actions | ulong |

- setDesktop (desktop)

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

- setExtendedStrut (extended_strut)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  extended_strut | NETExtendedStrut |

- setFrameExtents (strut)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  strut | NETStrut |

- setHandledIcons (handled)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  handled | Bool |

- setIcon (icon, replace = True)

  Not Implemented

- setIconGeometry (geometry)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  geometry | NETRect |

- setIconName (name)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | char |

- setKDEFrameStrut (strut)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  strut | NETStrut |

- setKDESystemTrayWinFor (window)

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

- setName (name)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | char |

- setPid (pid)

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

- setStartupId (startup_id)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  startup_id | char |

- setState (state, mask)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  state | ulong |
  mask | ulong |

- setStrut (strut)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  strut | NETStrut |

- setUserTime (time)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  time | Time |

- setVisibleIconName (name)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | char |

- setVisibleName (visibleName)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  visibleName | char |

- setWindowType (type)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  type | WindowType |

- startupId ()

  returns (char)
  In versions KDE 3.2.0 and above only

- state ()

  returns (ulong)

- strut ()

  returns (NETStrut)

- transientFor ()

  returns (Window)
  In versions KDE 3.2.0 and above only

- userTime ()

  returns (Time)
  In versions KDE 3.2.0 and above only

- visibleIconName ()

  returns (char)

- visibleName ()

  returns (char)

- windowClassClass ()

  returns (char)
  In versions KDE 3.3.0 and above only

- windowClassName ()

  returns (char)
  In versions KDE 3.3.0 and above only

- windowRole ()

  returns (char)
  In versions KDE 3.3.0 and above only

- windowType (supported_types)

  returns (WindowType)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  supported_types | ulong |

- windowType ()

  returns (WindowType)

### variables

- variables

  Variable | Type
  --- | ---
  OnAllDesktops | int