#### PyKDE - Python Bindings for KDE

# class KTabBar |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KTabBar
Inherits | TQTabBar

### methods

- KTabBar (parent = 0, name = 0)

  returns a KTabBar instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0

- activateDragSwitchTab ()

  returns nothing
  In versions KDE 3.2.0 and above only

- closeButtonClicked ()

  returns nothing
  In versions KDE 3.2.0 and above only

- closeRequest (a0)

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

- contextMenu (a0, a1)

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

- dragMoveEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQDragMoveEvent |

- dropEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQDropEvent |

- enableCloseButton ()

  returns nothing
  In versions KDE 3.2.0 and above only

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

- insertTab (a0, index = -1)

  returns (int)
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQTab |
  index | int | -1

- isTabReorderingEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- mouseDoubleClick (a0)

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

- mouseDoubleClickEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQMouseEvent |

- mouseMiddleClick (a0)

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

- mouseMoveEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQMouseEvent |

- mousePressEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQMouseEvent |

- mouseReleaseEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQMouseEvent |

- moveTab (a0, a1)

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

- onLayoutChange ()

  returns nothing
  In versions KDE 3.2.0 and above only

- paintLabel (a0, a1, a2, a3)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQPainter |
  a1 | TQRect |
  a2 | TQTab |
  a3 | bool |

- receivedDropEvent (a0, a1)

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

- removeTab (a0)

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

- setHoverCloseButton (a0)

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

- setHoverCloseButtonDelayed (a0)

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

- setTabCloseActivatePrevious (a0)

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

- setTabColor (a0, a1)

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

- setTabEnabled (a0, a1)

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

- setTabReorderingEnabled (enable)

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

- tabCloseActivatePrevious ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- tabColor (a0)

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

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