Package: pango

Function pango:attr-iterator-range

Lambda List

pango:attr-iterator-range (iterator)

Syntax

(pango:attr-iterator-range iterator) => start, end

Arguments

iterator -- a pango:attr-iterator instance
start -- an integer for the start index of the range
end -- an integer for the end index of the range

Details

Get the range of the current segment. Note that the stored return values are signed, not unsigned like the values in the pango:attribute instance. To deal with this API oversight, stored return values that would not fit into a signed integer are clamped to G_MAXINT.
 

See also

2025-08-17