AttrList.insert

Insert the given attribute into the pango.attr_list.AttrList.

It will be inserted after all other attributes with a matching start_index.

class AttrList
void
insert

Parameters

attr pango.attribute.Attribute

the attribute to insert