AttrList.insert

void insert(pango.attribute.Attribute attr)

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

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

Parameters

attrthe attribute to insert