AttrIterator.get

Find the current attribute of a particular type at the iterator location.

When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used.

Parameters

type pango.types.AttrType

the type of attribute to find

Return Value

Type: pango.attribute.Attribute

the current attribute of the given type, or null if no attribute of that type applies to the current location.