#### PyKDE - Python Bindings for KDE

# class KLanguageButton

Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KLanguageButton
Inherits | TQWidget

### methods

- KLanguageButton (parent = 0, name = 0)

  returns a KLanguageButton instance
  In versions KDE 3.3.0 and above only

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

- KLanguageButton (text, parent = 0, name = 0)

  returns a KLanguageButton instance
  In versions KDE 3.3.0 and above only

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

- activated (id)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | TQString |

- clear ()

  returns nothing
  In versions KDE 3.3.0 and above only

- contains (id)

  returns (bool)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | TQString |

- count ()

  returns (int)
  In versions KDE 3.3.0 and above only

- current ()

  returns (TQString)
  In versions KDE 3.3.0 and above only

- highlighted (id)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | TQString |

- id (i)

  returns (TQString)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  i | int |

- insertItem (icon, text, id, submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  icon | TQIconSet |
  text | TQString |
  id | TQString |
  submenu | TQString | TQString .null
  index | int | -1

- insertItem (text, id, submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  id | TQString |
  submenu | TQString | TQString .null
  index | int | -1

- insertLanguage (path, name, sub = TQString .null, submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  name | TQString |
  sub | TQString | TQString .null
  submenu | TQString | TQString .null
  index | int | -1

- insertSeparator (submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  submenu | TQString | TQString .null
  index | int | -1

- insertSubmenu (icon, text, id, submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  icon | TQIconSet |
  text | TQString |
  id | TQString |
  submenu | TQString | TQString .null
  index | int | -1

- insertSubmenu (text, id, submenu = TQString .null, index = -1)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  id | TQString |
  submenu | TQString | TQString .null
  index | int | -1

- setCurrentItem (id)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | TQString |

- setText (text)

  returns nothing
  In versions KDE 3.3.0 and above only

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