#### PyKDE - Python Bindings for KDE

# class TDEToolBarButton

Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | TDEToolBarButton
Inherits | TQToolButton

### methods

- TDEToolBarButton (icon, id, parent, name = 0, txt = TQString .null, _instance = TDEGlobal .instance ())

  returns a TDEToolBarButton instance

  Argument | Type | Default
  --- | --- | ---
  icon | TQString |
  id | int |
  parent | TQWidget |
  name | char | 0
  txt | TQString | TQString .null
  _instance | TDEInstance | TDEGlobal .instance ()

- TDEToolBarButton (pixmap, id, parent, name = 0, txt = TQString .null)

  returns a TDEToolBarButton instance

  Argument | Type | Default
  --- | --- | ---
  pixmap | TQPixmap |
  id | int |
  parent | TQWidget |
  name | char | 0
  txt | TQString | TQString .null

- TDEToolBarButton (parent = 0, name = 0)

  returns a TDEToolBarButton instance

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

- buttonClicked (a0, state)

  returns nothing
  In versions KDE 3.4.2 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  state | TQt.ButtonState |

- clicked (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- doubleClicked (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- drawButton (p)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  p | TQPainter |

- enterEvent (e)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  e | TQEvent |

- event (e)

  returns (bool)
  In versions KDE 3.5.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | TQEvent |

- eventFilter (o, e)

  returns (bool)

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

- highlighted (a0, a1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | bool |

- iconTextMode ()

  returns (int)
  In versions KDE 3.0.1 and above only

- id ()

  returns (int)
  In versions KDE 3.2.0 and above only

- isActive ()

  returns (bool)
  In versions KDE 3.0.1 and above only

- isRaised ()

  returns (bool)
  In versions KDE 3.0.1 and above only

- leaveEvent (e)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  e | TQEvent |

- minimumSize ()

  returns (TQSize)

- minimumSizeHint ()

  returns (TQSize)

- modeChange ()

  returns nothing

- mousePressEvent (a0)

  returns nothing
  In versions KDE 3.4.2 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | TQMouseEvent |

- mouseReleaseEvent (a0)

  returns nothing
  In versions KDE 3.4.2 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | TQMouseEvent |

- on (flag = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  flag | bool | 1

- paletteChange (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | TQPalette |

- popup ()

  returns (TQPopupMenu)

- pressed (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- released (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- setDefaultIcon (icon)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  icon | TQString |

- setDefaultPixmap (pixmap)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pixmap | TQPixmap |

- setDelayedPopup (p, unused = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  p | TQPopupMenu |
  unused | bool | 0

- setDisabledIcon (icon)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  icon | TQString |

- setDisabledPixmap (pixmap)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pixmap | TQPixmap |

- setIcon (icon)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  icon | TQString |

- setIcon (pixmap)

  returns nothing
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  pixmap | TQPixmap |

- setIcon (icon, generate)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  icon | TQString |
  generate | bool |

- setIconSet (iconset)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  iconset | TQIconSet |

- setNoStyle (no_style = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  no_style | bool | 1

- setPixmap (pixmap)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pixmap | TQPixmap |

- setPopup (p, unused)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  p | TQPopupMenu |
  unused | bool |

- setRadio (f = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  f | bool | 1

- setText (text)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setTextLabel (a0, tipToo)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  tipToo | bool |

- setToggle (toggle = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  toggle | bool | 1

- showMenu ()

  returns nothing

- sizeHint ()

  returns (TQSize)

- slotClicked ()

  returns nothing

- slotDelayTimeout ()

  returns nothing

- slotPressed ()

  returns nothing

- slotReleased ()

  returns nothing

- slotToggled ()

  returns nothing

- toggle ()

  returns nothing

- toggled (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |