TextTag.language

Get language property.

  1. string language [@property getter]
    class TextTag
    @property
    string
    language
    ()
  2. string language [@property setter]

Return Value

Type: string

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 func@Gtk.get_default_language.