#### PyKDE - Python Bindings for KDE

# class KTabWidget |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KTabWidget
Inherits | QTabWidget

### methods

- KTabWidget (parent = 0, name = 0, f = 0)

  returns a KTabWidget instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0
  f | WFlags | 0

- automaticResizeTabs ()

  returns (bool)
  In versions KDE 3.4.0 and above only

- changeTab (a0, a1)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QString |

- changeTab (child, iconset, label)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  child | QWidget |
  iconset | QIconSet |
  label | QString |

- closeRequest (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- closeRequest (a0)

  Not Implemented

- contextMenu (a0)

  Not Implemented

- contextMenu (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QPoint |

- contextMenu (a0, a1)

  Not Implemented

- dragMoveEvent (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QDragMoveEvent |

- dropEvent (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QDropEvent |

- hoverCloseButton ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- hoverCloseButtonDelayed ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- initiateDrag (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- initiateDrag (a0)

  Not Implemented

- insertTab (a0, a1, index = -1)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QString |
  index | int | -1

- insertTab (child, iconset, label, index = -1)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  child | QWidget |
  iconset | QIconSet |
  label | QString |
  index | int | -1

- insertTab (a0, a1, index = -1)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QTab |
  index | int | -1

- isTabBarHidden ()

  returns (bool)
  In versions KDE 3.4.0 and above only

- isTabReorderingEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- label (a0)

  returns (QString)
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- mouseDoubleClick ()

  returns nothing
  In versions KDE 3.3.0 and above only

- mouseDoubleClick (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- mouseDoubleClick (a0)

  Not Implemented

- mouseDoubleClickEvent (e)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | QMouseEvent |

- mouseMiddleClick ()

  returns nothing
  In versions KDE 3.2.0 and above only

- mouseMiddleClick (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- mouseMiddleClick (a0)

  Not Implemented

- mousePressEvent (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QMouseEvent |

- moveTab (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | int |

- movedTab (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | int |

- receivedDropEvent (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QDropEvent |

- receivedDropEvent (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QDropEvent |

- receivedDropEvent (a0, a1)

  Not Implemented

- removePage (w)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  w | QWidget |

- resizeEvent (a0)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QResizeEvent |

- setAutomaticResizeTabs (enable)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setHoverCloseButton (enable)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setHoverCloseButtonDelayed (delayed)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  delayed | bool |

- setTabBarHidden (hide)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  hide | bool |

- setTabCloseActivatePrevious (previous)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  previous | bool |

- setTabColor (a0, color)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  color | QColor |

- setTabLabel (a0, a1)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QString |

- setTabReorderingEnabled (enable)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- tabBarWidthForMaxChars (maxLength)

  returns (uint)
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  maxLength | uint |

- tabCloseActivatePrevious ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- tabColor (a0)

  returns (QColor)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- tabLabel (a0)

  returns (QString)
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- testCanDecode (e)

  Not Implemented

- wheelDelta (a0)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- wheelEvent (e)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | QWheelEvent |