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
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Language self()Returns `this`, for use in `with` statements.
string getSampleString()Get a string that is representative of the characters needed to render a particular language.
pango.types.Script[] getScripts()Determines the scripts used to to write language.
bool includesScript(pango.types.Script script)Determines if script is one of the scripts used to write language.
bool matches(string rangeList)Checks if a language tag matches one of the elements in a list of language ranges.
string toString_()Gets the RFC-3066 format string representing the given language tag.
pango.language.Language fromString(string language = null)Convert a language tag to a [pango.language.Language].
pango.language.Language getDefault()Returns the [pango.language.Language] for the current locale of the process.
pango.language.Language[] getPreferred()Returns the list of languages that the user prefers.
Constructors
this(void * ptr, Flag!"Take" take)