| 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 |
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].
- newtype Attribute = Attribute (ForeignPtr 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 ()
- attributeEndIndex :: AttrLabelProxy "endIndex"
- getAttributeEndIndex :: MonadIO m => Attribute -> m Word32
- setAttributeEndIndex :: MonadIO m => Attribute -> Word32 -> m ()
- attributeKlass :: AttrLabelProxy "klass"
- clearAttributeKlass :: MonadIO m => Attribute -> m ()
- getAttributeKlass :: MonadIO m => Attribute -> m (Maybe AttrClass)
- setAttributeKlass :: MonadIO m => Attribute -> Ptr AttrClass -> m ()
- attributeStartIndex :: AttrLabelProxy "startIndex"
- getAttributeStartIndex :: MonadIO m => Attribute -> m Word32
- setAttributeStartIndex :: MonadIO m => Attribute -> Word32 -> m ()
Exported types
Constructors
| Attribute (ForeignPtr Attribute) |
Instances
| WrappedPtr Attribute Source # | |
| ((~) * 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 # | |
| HasAttributeList * Attribute Source # | |
| ((~) * signature (AttrClass -> m ()), MonadIO m) => MethodInfo * AttributeInitMethodInfo Attribute signature Source # | |
| ((~) * signature (Attribute -> m Bool), MonadIO m) => MethodInfo * AttributeEqualMethodInfo Attribute signature Source # | |
| ((~) * signature (m ()), MonadIO m) => MethodInfo * AttributeDestroyMethodInfo Attribute signature Source # | |
| type AttributeList Attribute Source # | |
Methods
attributeDestroy
attributeDestroy :: MonadIO m => Attribute -> m () Source #
attributeEqual
attributeInit
Properties
EndIndex
attributeEndIndex :: AttrLabelProxy "endIndex" Source #
Klass
attributeKlass :: AttrLabelProxy "klass" Source #
clearAttributeKlass :: MonadIO m => Attribute -> m () Source #
StartIndex
attributeStartIndex :: AttrLabelProxy "startIndex" Source #