Pango.AttrLanguage

Fields

Name

Type

Access

Description

attr

Pango.Attribute

r/w

the common portion of the attribute

value

Pango.Language

r/w

the PangoLanguage which is the value of the attribute

Methods

class

new (language)

Details

class Pango.AttrLanguage

The PangoAttrLanguage structure is used to represent attributes that are languages.

classmethod new(language)[source]
Parameters:

language (Pango.Language) – language tag

Returns:

the newly allocated PangoAttribute, which should be freed with [method`Pango`.Attribute.destroy]

Return type:

Pango.Attribute

Create a new language tag attribute.