pango.language
Module for [Language] class
class Language
Types 1
classLanguage : gobject.boxed.Boxed
The pango.language.Language structure is used to represent a language.
pango.language.Language pointers can be efficiently copied and compared with each other.
Methods
string getSampleString() nothrowGet a string that is representative of the characters needed to render a particular language.bool includesScript(pango.types.Script script) nothrowDetermines if script is one of the scripts used to write language.bool matches(string rangeList) nothrowChecks if a language tag matches one of the elements in a list of language ranges.pango.language.Language fromString(string language = null) static nothrowConvert a language tag to a [pango.language.Language].pango.language.Language getDefault() static nothrowReturns the [pango.language.Language] for the current locale of the process.pango.language.Language[] getPreferred() static nothrowReturns the list of languages that the user prefers.