2.7 <PangoAttrLanguage>

Structure: <PangoAttrLanguage>

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

Fields

attr

the common portion of the attribute

value

the <PangoLanguage> which is the value of the attribute

Procedures

Procedure: attr-language:attr self ⇒ attr
Procedure: attr-language:new language ⇒ %return

Create a new language tag attribute.

language

Passed: a <PangoLanguage>.

language tag

%return

Returned: a <PangoAttribute>.

the newly allocated <PangoAttribute>, which should be freed with attribute:destroy

Procedure: attr-language:value self ⇒ value