#### PyKDE - Python Bindings for KDE

# class KParts.Part

Table of contents
Modules
kparts Classes
All Classes

Module | kparts
Class | KParts.Part
Inherits | QObject, KParts.PartBase

### methods

- Part (parent = 0, name = 0)

  returns a Part instance

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0

- customEvent (event)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  event | QCustomEvent |

- embed (parentWidget)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  parentWidget | QWidget |

- guiActivateEvent (event)

  returns nothing

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

- hitTest (widget, globalPos)

  returns (KParts.Part)

  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  globalPos | QPoint |

- hostContainer (containerName)

  returns (QWidget)

  Argument | Type | Default
  --- | --- | ---
  containerName | QString |

- 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 | QString |

- setWidget (widget)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |

- setWindowCaption (caption)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  caption | QString |

- widget ()

  returns (QWidget)