[ CCode ( free_function = "pango_attribute_destroy" , type_id = "pango_attribute_get_type ()" ) ]
[ Compact ]
public class Attribute
The 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
init. By default an attribute will have an all-inclusive range of [0,%G_MAXUINT].
- public Attribute copy ()
Make a copy of an attribute.
- public void destroy ()
Destroy a Attribute and free all associated
- public bool equal (Attribute attr2)
Compare two attributes for equality.
- public void init (AttrClass klass)
Initializes this's klass to
, it's start_index to 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.