Table Of Contents

Previous topic

ItemsPicker

Next topic

LanguageListCtrl

This Page

phoenix_title langlistctrl

ListCtrl and functions to display languages and the flags of their countries


class_hierarchy Inheritance Diagram

Inheritance diagram for module langlistctrl

Inheritance diagram of langlistctrl


function_summary Functions Summary

BuildLanguageCountryMapping Builds a mapping of language ids to LANG_COUNTRY codes
CreateLanguagesResourceLists Returns a tuple of (bitmaps, language descriptions, language ids)
GetLanguageFlag Returns a bitmap of the flag for the country of the language id
GetWxIdentifierForLanguage Returns the language id as a string

class_summary Classes Summary

LanguageListCtrl wx.ListCtrl derived control that displays languages and flags

Functions



BuildLanguageCountryMapping()

Builds a mapping of language ids to LANG_COUNTRY codes



CreateLanguagesResourceLists(filter=LC_AVAILABLE, only=())

Returns a tuple of (bitmaps, language descriptions, language ids)



GetLanguageFlag(lang)

Returns a bitmap of the flag for the country of the language id



GetWxIdentifierForLanguage(lang)

Returns the language id as a string