gi-pango-0.1.38.15: 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 
((~) * signature (m (Int32, Int32)), MonadIO m) => MethodInfo * AttrIteratorRangeMethodInfo AttrIterator signature 
((~) * signature (m Bool), MonadIO m) => MethodInfo * AttrIteratorNextMethodInfo AttrIterator signature 
((~) * signature (FontDescription -> Maybe Language -> [Attribute] -> m ()), MonadIO m) => MethodInfo * AttrIteratorGetFontMethodInfo AttrIterator signature 
((~) * signature (m [Attribute]), MonadIO m) => MethodInfo * AttrIteratorGetAttrsMethodInfo AttrIterator signature 
((~) * signature (m ()), MonadIO m) => MethodInfo * AttrIteratorDestroyMethodInfo AttrIterator signature 
((~) * info (ResolveAttrIteratorMethod t AttrIterator), MethodInfo * info AttrIterator p) => IsLabelProxy t (AttrIterator -> p) 
type AttributeList AttrIterator 

Methods

attrIteratorDestroy

data AttrIteratorDestroyMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * AttrIteratorDestroyMethodInfo AttrIterator signature 

attrIteratorGetAttrs

attrIteratorGetFont

attrIteratorNext

data AttrIteratorNextMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m) => MethodInfo * AttrIteratorNextMethodInfo AttrIterator signature 

attrIteratorRange