Class (GI Struct)

Pango-1.0PangoAttribute

The Pango.Attribute structure represents the common portions of all attributes.

Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies and should be initialized using Pango.Attribute.init. By default, an attribute will have an all-inclusive range of [0,G_MAXUINT].

Index

Constructors

Properties

end_index: number
start_index: number

Methods

  • Initializes attr's klass to klass, it's start_index to PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING and end_index to PANGO_ATTR_INDEX_TO_TEXT_END such that the attribute applies to the entire text by default.

    Parameters

    Returns void