gi-pango-1.0.10: 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 #

Constructors

AttrIterator (ManagedPtr AttrIterator) 

Instances

WrappedPtr AttrIterator Source # 
((~) * info (ResolveAttrIteratorMethod t AttrIterator), MethodInfo * info AttrIterator p) => IsLabel t (AttrIterator -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> AttrIterator -> p #

((~) * info (ResolveAttrIteratorMethod t AttrIterator), MethodInfo * info AttrIterator p) => IsLabelProxy t (AttrIterator -> p) Source # 
HasAttributeList * AttrIterator Source # 
((~) * signature (m (Int32, Int32)), MonadIO m) => MethodInfo * AttrIteratorRangeMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorRangeMethodInfo AttrIterator -> signature -> s

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

Methods

overloadedMethod :: MethodProxy AttrIteratorNextMethodInfo AttrIterator -> signature -> s

((~) * signature (FontDescription -> Maybe Language -> [Attribute] -> m ()), MonadIO m) => MethodInfo * AttrIteratorGetFontMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorGetFontMethodInfo AttrIterator -> signature -> s

((~) * signature (m [Attribute]), MonadIO m) => MethodInfo * AttrIteratorGetAttrsMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorGetAttrsMethodInfo AttrIterator -> signature -> s

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

Methods

overloadedMethod :: MethodProxy AttrIteratorDestroyMethodInfo AttrIterator -> signature -> s

type AttributeList AttrIterator Source # 
type AttributeList AttrIterator

Methods

destroy

data AttrIteratorDestroyMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy AttrIteratorDestroyMethodInfo AttrIterator -> signature -> s

getAttrs

data AttrIteratorGetAttrsMethodInfo Source #

Instances

((~) * signature (m [Attribute]), MonadIO m) => MethodInfo * AttrIteratorGetAttrsMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorGetAttrsMethodInfo AttrIterator -> signature -> s

getFont

data AttrIteratorGetFontMethodInfo Source #

Instances

((~) * signature (FontDescription -> Maybe Language -> [Attribute] -> m ()), MonadIO m) => MethodInfo * AttrIteratorGetFontMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorGetFontMethodInfo AttrIterator -> signature -> s

next

data AttrIteratorNextMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy AttrIteratorNextMethodInfo AttrIterator -> signature -> s

range

data AttrIteratorRangeMethodInfo Source #

Instances

((~) * signature (m (Int32, Int32)), MonadIO m) => MethodInfo * AttrIteratorRangeMethodInfo AttrIterator signature Source # 

Methods

overloadedMethod :: MethodProxy AttrIteratorRangeMethodInfo AttrIterator -> signature -> s