gi-pango-1.0.2: Pango bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.AttrIterator

Contents

Description

The #PangoAttrIterator structure is used to represent an iterator 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.

Synopsis

Exported types

newtype AttrIterator Source

Instances

WrappedPtr AttrIterator Source 
((~) * signature (m (Int32, Int32)), MonadIO m) => MethodInfo * AttrIteratorRangeMethodInfo AttrIterator signature Source 
((~) * signature (m Bool), MonadIO m) => MethodInfo * AttrIteratorNextMethodInfo AttrIterator signature Source 
((~) * signature (FontDescription -> Maybe Language -> [Attribute] -> m ()), MonadIO m) => MethodInfo * AttrIteratorGetFontMethodInfo AttrIterator signature Source 
((~) * signature (m [Attribute]), MonadIO m) => MethodInfo * AttrIteratorGetAttrsMethodInfo AttrIterator signature Source 
((~) * signature (m ()), MonadIO m) => MethodInfo * AttrIteratorDestroyMethodInfo AttrIterator signature Source 
((~) * info (ResolveAttrIteratorMethod t AttrIterator), MethodInfo * info AttrIterator p) => IsLabelProxy t (AttrIterator -> p) Source 
type AttributeList AttrIterator Source 

Methods

attrIteratorDestroy

attrIteratorGetAttrs

attrIteratorGetFont

attrIteratorNext

attrIteratorRange