AttrList.insertBefore

void insertBefore(pango.attribute.Attribute attr)

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

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

Parameters

attrthe attribute to insert