#### PyKDE - Python Bindings for KDE

# class KParts.Part |
Table of contents
Modules
tdeparts Classes
All Classes

Module | tdeparts
Class | KParts.Part
Inherits | TQObject, KParts.PartBase

### methods

- Part (parent = 0, name = 0)

  returns a Part instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQObject | 0
  name | char | 0

- customEvent (event)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  event | TQCustomEvent |

- embed (parentWidget)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  parentWidget | TQWidget |

- guiActivateEvent (event)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  event | KParts.GUIActivateEvent |

- hitTest (widget, globalPos)

  returns (KParts.Part)
  Argument | Type | Default
  --- | --- | ---
  widget | TQWidget |
  globalPos | TQPoint |

- hostContainer (containerName)

  returns (TQWidget)
  Argument | Type | Default
  --- | --- | ---
  containerName | TQString |

- isSelectable ()

  returns (bool)

- manager ()

  returns (KParts.PartManager)

- partActivateEvent (event)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  event | KParts.PartActivateEvent |

- partSelectEvent (event)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  event | KParts.PartSelectEvent |

- setManager (manager)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  manager | KParts.PartManager |

- setSelectable (selectable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  selectable | bool |

- setStatusBarText (text)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setWidget (widget)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  widget | TQWidget |

- setWindowCaption (caption)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  caption | TQString |

- widget ()

  returns (TQWidget)