AttrList.insertBefore

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

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

class AttrList
void
insertBefore

Parameters

attr pango.attribute.Attribute

the attribute to insert