Create a new empty attribute list with a reference count of one.
Insert the given attribute into the pango.attr_list.AttrList.
Copy list and return an identical new list.
Checks whether list and other_list contain the same attributes and whether those attributes apply to the same ranges.
Given a pango.attr_list.AttrList and callback function, removes any elements of list for which func returns true and inserts them into a new list.
Gets a list of all attributes in list.
Create a iterator initialized to the beginning of the list.
Insert the given attribute into the pango.attr_list.AttrList.
Insert the given attribute into the pango.attr_list.AttrList.
This function opens up a hole in list, fills it in with attributes from the left, and then merges other on top of the hole.
Serializes a pango.attr_list.AttrList to a string.
Update indices of attributes in list for a change in the text they refer to.
Deserializes a pango.attr_list.AttrList from a string.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
A pango.attr_list.AttrList represents a list of attributes that apply to a section of text.
The attributes in a pango.attr_list.AttrList are, in general, allowed to overlap in an arbitrary fashion. However, if the attributes are manipulated only through pango.attr_list.AttrList.change, the overlap between properties will meet stricter criteria.
Since the pango.attr_list.AttrList structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single pango.attr_list.AttrList for more than one paragraph of text.