.. include:: headings.inc .. module:: lib.langlistctrl .. currentmodule:: lib.langlistctrl .. highlight:: python .. _lib.langlistctrl: ========================================================================================================================================== |phoenix_title| **langlistctrl** ========================================================================================================================================== ListCtrl and functions to display languages and the flags of their countries | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for module **langlistctrl** .. raw:: html

Inheritance diagram of langlistctrl

| |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~lib.langlistctrl.BuildLanguageCountryMapping` Builds a mapping of language ids to LANG_COUNTRY codes :func:`~lib.langlistctrl.CreateLanguagesResourceLists` Returns a tuple of (bitmaps, language descriptions, language ids) :func:`~lib.langlistctrl.GetLanguageFlag` Returns a bitmap of the flag for the country of the language id :func:`~lib.langlistctrl.GetWxIdentifierForLanguage` Returns the language id as a string ================================================================================ ================================================================================ | |class_summary| Classes Summary =============================== ================================================================================ ================================================================================ :ref:`lib.langlistctrl.LanguageListCtrl` wx.ListCtrl derived control that displays languages and flags ================================================================================ ================================================================================ | .. toctree:: :maxdepth: 1 :hidden: lib.langlistctrl.LanguageListCtrl Functions ------------ .. function:: BuildLanguageCountryMapping() Builds a mapping of language ids to LANG_COUNTRY codes .. function:: CreateLanguagesResourceLists(filter=LC_AVAILABLE, only=()) Returns a tuple of (bitmaps, language descriptions, language ids) .. function:: GetLanguageFlag(lang) Returns a bitmap of the flag for the country of the language id .. function:: GetWxIdentifierForLanguage(lang) Returns the language id as a string