.. include:: headings.inc .. currentmodule:: lib.langlistctrl .. highlight:: python .. _lib.langlistctrl.LanguageListCtrl: ========================================================================================================================================== |phoenix_title| **LanguageListCtrl** ========================================================================================================================================== wx.ListCtrl derived control that displays languages and flags | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **LanguageListCtrl** .. raw:: html

Inheritance diagram of LanguageListCtrl

| |super_classes| Known Superclasses ================================== :class:`ListCtrl` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.langlistctrl.LanguageListCtrl.__init__` :meth:`~lib.langlistctrl.LanguageListCtrl.GetLanguage` Returns the language id for the currently selected language in the control :meth:`~lib.langlistctrl.LanguageListCtrl.SetLanguage` Selects the given language ids item in the control :meth:`~lib.langlistctrl.LanguageListCtrl.SetUpFilter` Filters the languages displayed in the control ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~lib.langlistctrl.LanguageListCtrl.Language` See `GetLanguage` and `SetLanguage` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: LanguageListCtrl(ListCtrl) wx.ListCtrl derived control that displays languages and flags .. method:: __init__(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=LC_REPORT | LC_NO_HEADER | LC_SINGLE_SEL, filter=LC_AVAILABLE, only=(), select=None, name='languagelistctrl') .. method:: GetLanguage(self) Returns the language id for the currently selected language in the control .. method:: SetLanguage(self, lang) Selects the given language ids item in the control .. method:: SetUpFilter(self, filter=LC_AVAILABLE, only=()) Filters the languages displayed in the control .. attribute:: Language See :meth:`~LanguageListCtrl.SetLanguage` , :meth:`~LanguageListCtrl.GetLanguage`