gi-pango-0.1.38.13: 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.Attribute

Contents

Description

The #PangoAttribute structure represents the common portions of all attributes. Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies and should be initialized using pango_attribute_init(). By default an attribute will have an all-inclusive range of [0,%G_MAXUINT].

Synopsis

Exported types

newtype Attribute Source

Instances

((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabel t (Attribute -> p) Source 

Methods

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

((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabelProxy t (Attribute -> p) Source 

Methods

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

((~) (TYPE Lifted) signature (AttrClass -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) AttributeInitMethodInfo Attribute signature Source 
((~) (TYPE Lifted) signature (Attribute -> m Bool), MonadIO m) => MethodInfo (TYPE Lifted) AttributeEqualMethodInfo Attribute signature Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AttributeDestroyMethodInfo Attribute signature Source 

newZeroAttribute :: MonadIO m => m Attribute Source

Construct a Attribute struct initialized to zero.

Methods

attributeDestroy

attributeEqual

attributeInit

Properties

EndIndex

Klass

StartIndex