TextTag.language

string language() @property

Get language property.

Returns

The language this text is in, as an ISO code. Pango can use this as a

hint when rendering the text. If not set, an appropriate default will be used.

Note that the initial value of this property depends on the current locale, see also [gtk.global.getDefaultLanguage].

void language(string propval) @property

Set language property.

Parameters

propvalThe language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used. Note that the initial value of this property depends on the current locale, see also [gtk.global.getDefaultLanguage].