![]() |
Public Types | |
| typedef std::forward_iterator_tag | iterator_category |
| typedef int | difference_type |
Public Member Functions | |
| AttrIter (PangoAttrIterator* castitem, bool take_copy=true) | |
| AttrIter (const AttrIter& src) | |
| ~AttrIter () | |
| AttrIter& | operator= (const AttrIter& src) |
| AttrIter& | operator++ () |
| Advance the iterator until the next change of style. | |
| const AttrIter | operator++ (int) |
| operator bool () const | |
| Check whether the iterator is valid. | |
| bool | next () |
| The same as operator++(). | |
| void | get_range (int& start, int& end) const |
| Attribute | get_attribute (AttrType type) const |
| FontDescription | get_font_desc () const |
| Get the font description used at the current iterator position. | |
| Language | get_language () const |
| Gets the language tag used at current iterator position. | |
| SListHandle_Attribute | get_extra_attrs () const |
| Gets a list of non-font attributes at the the current iterator position. | |
| PangoAttrIterator* | gobj () |
| const PangoAttrIterator* | gobj () const |
Protected Member Functions | |
| AttrIter () | |
Protected Attributes | |
| PangoAttrIterator* | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| Pango::AttrIter | wrap (PangoAttrIterator* object, bool take_copy=false) |
A new iterator is created with Pango::AttrList::get_iter(). Once the iterator is created, it can be advanced through the style changes in the text using Pango::AttrIter::next(). At each style change, the range of the current style segment and the attributes currently in effect can be queried.
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets a list of non-font attributes at the the current iterator position. Only the highest priority value of each attribute will be added to this list.
|
|
|
Get the font description used at the current iterator position.
|
|
|
Gets the language tag used at current iterator position.
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
The same as operator++().
|
|
|
Check whether the iterator is valid.
|
|
|
|
|
|
Advance the iterator until the next change of style. The iterator becomes invalid if the end of the list is reached.
|
|
|
|
|
||||||||||||
|
|
|
|
|