Returns the attribute cast to Pango.AttrColor.
This is mainly useful for language bindings.
The attribute as Pango.AttrColor, or null if it's not a color attribute
Returns the attribute cast to Pango.AttrFloat.
This is mainly useful for language bindings.
The attribute as Pango.AttrFloat, or null if it's not a floating point attribute
Returns the attribute cast to Pango.AttrFontDesc.
This is mainly useful for language bindings.
The attribute as Pango.AttrFontDesc, or null if it's not a font description attribute
Returns the attribute cast to Pango.AttrFontFeatures.
This is mainly useful for language bindings.
The attribute as Pango.AttrFontFeatures, or null if it's not a font features attribute
Returns the attribute cast to Pango.AttrInt.
This is mainly useful for language bindings.
The attribute as Pango.AttrInt, or null if it's not an integer attribute
Returns the attribute cast to Pango.AttrLanguage.
This is mainly useful for language bindings.
The attribute as Pango.AttrLanguage, or null if it's not a language attribute
Returns the attribute cast to Pango.AttrShape.
This is mainly useful for language bindings.
The attribute as Pango.AttrShape, or null if it's not a shape attribute
Returns the attribute cast to Pango.AttrSize.
This is mainly useful for language bindings.
The attribute as Pango.AttrSize, or NULL if it's not a size attribute
Returns the attribute cast to Pango.AttrString.
This is mainly useful for language bindings.
The attribute as Pango.AttrString, or null if it's not a string attribute
Make a copy of an attribute.
the newly allocated Pango.Attribute, which should be freed with Pango.Attribute.destroy.
Destroy a Pango.Attribute and free all associated memory.
Compare two attributes for equality.
This compares only the actual value of the two attributes and not the ranges that the attributes apply to.
another Pango.Attribute
true if the two attributes have the same value
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.
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].