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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
Language self() nothrowReturns `this`, for use in `with` statements.
string getSampleString() nothrowGet a string that is representative of the characters needed to render a particular language.
pango.types.Script[] getScripts() nothrowDetermines the scripts used to to write 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.
string toString_() nothrowGets the RFC-3066 format string representing the given language tag.
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.
Constructors
this(void * ptr, Flag!"Take" take)