Package: pango

Function pango:attr-iterator-get

Lambda List

pango:attr-iterator-get (iterator type)

Arguments

iterator -- a pango:attr-iterator instance
type -- a pango:attr-type value for the type of attribute to find

Return Value

The current pango:attribute instance of the given type, or nil if no attribute of that type applies to the current location.

Details

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.
 

See also

2025-1-1