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.Item

Contents

Description

The #PangoItem structure stores information about a segment of text.

Synopsis

Exported types

newtype Item Source #

Constructors

Item (ManagedPtr Item) 

Instances

BoxedObject Item Source # 

Methods

boxedType :: Item -> IO GType

(~) AttrOpTag tag AttrSet => Constructible Item tag Source # 

Methods

new :: MonadIO m => (ManagedPtr Item -> Item) -> [AttrOp Item tag] -> m Item

((~) * info (ResolveItemMethod t Item), MethodInfo * info Item p) => IsLabel t (Item -> p) Source # 

Methods

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

((~) * info (ResolveItemMethod t Item), MethodInfo * info Item p) => IsLabelProxy t (Item -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Item -> p

HasAttributeList * Item Source # 
((~) * signature (Int32 -> Int32 -> m Item), MonadIO m) => MethodInfo * ItemSplitMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemSplitMethodInfo Item -> signature -> s

((~) * signature (m ()), MonadIO m) => MethodInfo * ItemFreeMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemFreeMethodInfo Item -> signature -> s

((~) * signature (m (Maybe Item)), MonadIO m) => MethodInfo * ItemCopyMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemCopyMethodInfo Item -> signature -> s

type AttributeList Item Source # 
type AttributeList Item

newZeroItem :: MonadIO m => m Item Source #

Construct a Item struct initialized to zero.

Methods

copy

data ItemCopyMethodInfo Source #

Instances

((~) * signature (m (Maybe Item)), MonadIO m) => MethodInfo * ItemCopyMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemCopyMethodInfo Item -> signature -> s

free

data ItemFreeMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * ItemFreeMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemFreeMethodInfo Item -> signature -> s

itemFree :: MonadIO m => Item -> m () Source #

new

split

data ItemSplitMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m Item), MonadIO m) => MethodInfo * ItemSplitMethodInfo Item signature Source # 

Methods

overloadedMethod :: MethodProxy ItemSplitMethodInfo Item -> signature -> s

Properties

analysis

item_analysis :: AttrLabelProxy "analysis" Source #

length

item_length :: AttrLabelProxy "length" Source #

setItemLength :: MonadIO m => Item -> Int32 -> m () Source #

numChars

item_numChars :: AttrLabelProxy "numChars" Source #

offset

item_offset :: AttrLabelProxy "offset" Source #

setItemOffset :: MonadIO m => Item -> Int32 -> m () Source #