#### PyKDE - Python Bindings for KDE

# class KLanguageButton

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KLanguageButton
Inherits | QWidget

### methods

- KLanguageButton (parent = 0, name = 0)

  returns a KLanguageButton instance
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 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 | QString |
  parent | QWidget | 0
  name | char | 0

- activated (id)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | QString |

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

- count ()

  returns (int)
  In versions KDE 3.3.0 and above only

- current ()

  returns (QString)
  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 | QString |

- id (i)

  returns (QString)
  In versions KDE 3.3.0 and above only

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

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

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  icon | QIconSet |
  text | QString |
  id | QString |
  submenu | QString | QString .null
  index | int | -1

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

  returns nothing
  In versions KDE 3.3.0 and above only

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

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

  returns nothing
  In versions KDE 3.3.0 and above only

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

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

  returns nothing
  In versions KDE 3.3.0 and above only

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

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

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  icon | QIconSet |
  text | QString |
  id | QString |
  submenu | QString | QString .null
  index | int | -1

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

  returns nothing
  In versions KDE 3.3.0 and above only

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

- setCurrentItem (id)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | QString |

- setText (text)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |