AttrIterator


Object Hierarchy:

Pango.AttrIterator Pango.AttrIterator Pango.AttrIterator

Description:

[ CCode ( free_function = "pango_attr_iterator_destroy" , type_id = "pango_attr_iterator_get_type ()" ) ]
[ Compact ]
public class AttrIterator

A `PangoAttrIterator` is used to iterate through a `PangoAttrList`.

A new iterator is created with [method@Pango.AttrList.get_iterator]. Once the iterator is created, it can be advanced through the style changes in the text using [method@Pango.AttrIterator.next]. At each style change, the range of the current style segment and the attributes currently in effect can be queried.


Namespace: Pango
Package: pango

Content:

Methods: