#### PyKDE - Python Bindings for KDE

# class KJanusWidget

Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KJanusWidget
Inherits | TQWidget

### enums

- Face = {TreeList, Tabbed, Plain, Swallow, IconList }

### methods

- FindParent ()

  returns (TQWidget)

- InsertTreeListItem (items, pixmap, page)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |
  pixmap | TQPixmap |
  page | TQFrame |

- KJanusWidget (parent = 0, name = 0, face = Plain)

  returns a KJanusWidget instance

  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0
  face | int | Plain

- aboutToShowPage (page)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  page | TQWidget |

- activePageIndex ()

  returns (int)

- addButtonBelowList (text, recv, slot)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  recv | TQObject |
  slot | char |

- addButtonBelowList (guiitem, recv, slot)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  guiitem | KGuiItem |
  recv | TQObject |
  slot | char |

- addGridPage (n, dir, itemName, header = TQString .null, pixmap = TQPixmap ())

  returns (TQGrid)

  Argument | Type | Default
  --- | --- | ---
  n | int |
  dir | TQt.Orientation |
  itemName | TQString |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addGridPage (n, dir, items, header = TQString .null, pixmap = TQPixmap ())

  returns (TQGrid)

  Argument | Type | Default
  --- | --- | ---
  n | int |
  dir | TQt.Orientation |
  items | TQStringList |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addHBoxPage (itemName, header = TQString .null, pixmap = TQPixmap ())

  returns (TQHBox)

  Argument | Type | Default
  --- | --- | ---
  itemName | TQString |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addHBoxPage (items, header = TQString .null, pixmap = TQPixmap ())

  returns (TQHBox)

  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addPage (item, header = TQString .null, pixmap = TQPixmap ())

  returns (TQFrame)

  Argument | Type | Default
  --- | --- | ---
  item | TQString |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addPage (items, header = TQString .null, pixmap = TQPixmap ())

  returns (TQFrame)

  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addPageWidget (page, items, header, pixmap)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  page | TQFrame |
  items | TQStringList |
  header | TQString |
  pixmap | TQPixmap |

- addVBoxPage (item, header = TQString .null, pixmap = TQPixmap ())

  returns (TQVBox)

  Argument | Type | Default
  --- | --- | ---
  item | TQString |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addVBoxPage (items, header = TQString .null, pixmap = TQPixmap ())

  returns (TQVBox)

  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |
  header | TQString | TQString .null
  pixmap | TQPixmap | TQPixmap ()

- addWidgetBelowList (widget)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  widget | TQWidget |

- eventFilter (o, e)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  o | TQObject |
  e | TQEvent |

- face ()

  returns (int)

- isValid ()

  returns (bool)

- minimumSizeHint ()

  returns (TQSize)

- pageIndex (widget)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  widget | TQWidget |

- pageTitle (index)

  returns (TQString)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  index | int |

- pageWidget (index)

  returns (TQWidget)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  index | int |

- plainPage ()

  returns (TQFrame)

- removePage (page)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  page | TQWidget |

- setFocus ()

  returns nothing

- setFolderIcon (path, pixmap)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | TQStringList |
  pixmap | TQPixmap |

- setIconListAllVisible (state)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | bool |

- setRootIsDecorated (state)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | bool |

- setShowIconsInTreeList (state)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | bool |

- setSwallowedWidget (widget)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  widget | TQWidget |

- setTreeListAutoResize (state)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | bool |

- showEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | TQShowEvent |

- showPage (index)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  index | int |

- showPage (w)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  w | TQWidget |

- sizeHint ()

  returns (TQSize)

- unfoldTreeList (persist = 0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  persist | bool | 0