phoenix_title wx.LanguageInfo

Encapsulates a wx.Language identifier together with OS-specific information related to that language.


class_hierarchy Class Hierarchy

Inheritance diagram for class LanguageInfo:

method_summary Methods Summary

GetLocaleName

Return the locale name corresponding to this language usable with setlocale() on the current system.


property_summary Properties Summary

LocaleName

See GetLocaleName

CanonicalName

A public C++ attribute of type string. Canonical name of the language, e.g. fr_FR .

Description

A public C++ attribute of type string. Human-readable name of the language.

Language

A public C++ attribute of type int. wx.Language id.

LayoutDirection

A public C++ attribute of type LayoutDirection . The layout direction used for this language.


api Class API

class wx.LanguageInfo(object)

Encapsulates a Language identifier together with OS-specific information related to that language.


Methods

GetLocaleName(self)

Return the locale name corresponding to this language usable with setlocale() on the current system.

If setting locale for this language is not supported, the returned string is empty.

Return type

string


Properties

CanonicalName

A public C++ attribute of type string. Canonical name of the language, e.g. fr_FR .



Description

A public C++ attribute of type string. Human-readable name of the language.



Language

A public C++ attribute of type int. wx.Language id.



LayoutDirection

A public C++ attribute of type LayoutDirection . The layout direction used for this language.



LocaleName

See GetLocaleName