### Struct

# Pango AttrIterator

since: 1.0

#### Description [src]

    struct PangoAttrIterator {
      /* No available fields */
    }

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

A new iterator is created with `pango_attr_list_get_iterator()`. Once the iterator is created, it can be advanced through the style changes in the text using `pango_attr_iterator_next()`. At each style change, the range of the current style segment and the attributes currently in effect can be queried.

Available since: 1.0

#### Instance methods

###### pango_attr_iterator_copy

Copy a `PangoAttrIterator`.

since: 1.0

###### pango_attr_iterator_destroy

Destroy a `PangoAttrIterator` and free all associated memory.

since: 1.0

###### pango_attr_iterator_get

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

since: 1.0

###### pango_attr_iterator_get_attrs

Gets a list of all attributes at the current position of the iterator.

since: 1.2

###### pango_attr_iterator_get_font

Get the font and other attributes at the current iterator position.

since: 1.0

###### pango_attr_iterator_next

Advance the iterator until the next change of style.

since: 1.0

###### pango_attr_iterator_range

Get the range of the current segment.

since: 1.0