#### PyKDE - Python Bindings for KDE

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

Module | tdeui
Class | KPushButton
Inherits | TQPushButton

### methods

- KPushButton (parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget |
  name | char | 0

- KPushButton (text, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  parent | TQWidget |
  name | char | 0

- KPushButton (icon, text, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  icon | TQIconSet |
  text | TQString |
  parent | TQWidget |
  name | char | 0

- KPushButton (item, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  item | KGuiItem |
  parent | TQWidget |
  name | char | 0

- dragObject ()

  returns (TQDragObject)

- guiItem ()

  returns (KStdGuiItem.StdItem)
  In versions KDE 3.4.0 and above only

- guiItm ()

  returns (int)
  In versions KDE 3.4.0 and above only

- isDragEnabled ()

  returns (bool)

- mouseMoveEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQMouseEvent |

- mousePressEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQMouseEvent |

- setDragEnabled (enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setGuiItem (item)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KGuiItem |

- setGuiItem (item)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  item | KStdGuiItem.StdItem |

- setGuiItm (itm)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  itm | int |

- setIconSet (iconSet)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  iconSet | TQIconSet |

- setText (text)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- startDrag ()

  returns nothing