#### PyKDE - Python Bindings for KDE

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

Module | kdecore
Class | KWinModule
Inherits | QObject

### enums

- (anonymous) = {INFO_DESKTOP = 1, INFO_WINDOWS = 2, INFO_ALL = 32767 }

### methods

- KWinModule (parent, what)

  returns a KWinModule instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | QObject |
  what | int |

- KWinModule (parent = 0)

  returns a KWinModule instance
  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0

- activeWindow ()

  returns (WId)

- activeWindowChanged (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- connectNotify (signal)

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

- currentDesktop ()

  returns (int)

- currentDesktopChanged (desktop)

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

- desktopName (desktop)

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

- desktopNamesChanged ()

  returns nothing

- doNotManage (title)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  title | QString |

- hasWId (id)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- numberOfDesktops ()

  returns (int)

- numberOfDesktopsChanged (num)

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

- setDesktopName (desktop, name)

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

- stackingOrder ()

  returns (QValueList)

- stackingOrderChanged ()

  returns nothing

- strutChanged ()

  returns nothing

- systemTrayWindowAdded (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- systemTrayWindowRemoved (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- systemTrayWindows ()

  returns (QValueList)

- windowAdded (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- windowChanged (id)

  Not Implemented

- windowChanged (id, properties)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |
  properties | uint |

- windowChanged (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- windowRemoved (id)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  id | WId |

- windows ()

  returns (QValueList)

- workArea (desktop = -1)

  returns (QRect)
  Argument | Type | Default
  --- | --- | ---
  desktop | int | -1

- workArea (excludes, desktop = -1)

  returns (QRect)
  Argument | Type | Default
  --- | --- | ---
  excludes | QValueList |
  desktop | int | -1

- workAreaChanged ()

  returns nothing