Skip to content

Pango.AttrLanguage

record (struct)

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

Static functions

new

@staticmethod
def new(language: Language) -> Attribute

Create a new language tag attribute.

Parameters:

  • language — language tag

Properties

attr

attr: Attribute  # read/write

value

value: Language  # read/write