Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
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].
- newtype Attribute = Attribute (ForeignPtr Attribute)
- newZeroAttribute :: MonadIO m => m Attribute
- noAttribute :: Maybe Attribute
- data AttributeDestroyMethodInfo
- attributeDestroy :: MonadIO m => Attribute -> m ()
- data AttributeEqualMethodInfo
- attributeEqual :: MonadIO m => Attribute -> Attribute -> m Bool
- data AttributeInitMethodInfo
- attributeInit :: MonadIO m => Attribute -> AttrClass -> m ()
- attributeReadEndIndex :: Attribute -> IO Word32
- attributeReadKlass :: Attribute -> IO AttrClass
- attributeReadStartIndex :: Attribute -> IO Word32
Exported types
((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabel t (Attribute -> p) Source | |
((~) * info (ResolveAttributeMethod t Attribute), MethodInfo * info Attribute p) => IsLabelProxy t (Attribute -> p) Source | |
((~) (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
data AttributeDestroyMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) AttributeDestroyMethodInfo Attribute signature Source | |
attributeDestroy :: MonadIO m => Attribute -> m () Source
attributeEqual
attributeInit
data AttributeInitMethodInfo Source
((~) (TYPE Lifted) signature (AttrClass -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) AttributeInitMethodInfo Attribute signature Source | |
attributeInit :: MonadIO m => Attribute -> AttrClass -> m () Source