class Pango::AttrIterator
- Pango::AttrIterator
- Reference
- Object
Overview
A Pango::AttrIterator
is used to iterate through a Pango::AttrList
.
A new iterator is created with Pango::AttrList#iterator
.
Once the iterator is created, it can be advanced through the style
changes in the text using Pango::AttrIterator#next
. At each
style change, the range of the current style segment and the attributes
currently in effect can be queried.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/attr_iterator.crConstructors
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #attrs : GLib::SList
- #copy : Pango::AttrIterator
- #destroy : Nil
- #finalize
- #font(desc : Pango::FontDescription) : Nil
- #get(type : Pango::AttrType) : Pango::Attribute | Nil
- #next : Bool
- #range(start : Int32, end _end : Int32) : Nil
- #to_unsafe : Pointer(Void)
Constructor Detail
Class Method Detail
Returns the type id (GType) registered in GLib type system.