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)
- noAttribute :: Maybe Attribute
- attributeDestroy :: MonadIO m => Attribute -> m ()
- attributeEqual :: MonadIO m => Attribute -> Attribute -> m Bool
- attributeInit :: MonadIO m => Attribute -> AttrClass -> m ()
- attributeReadEndIndex :: Attribute -> IO Word32
- attributeReadKlass :: Attribute -> IO AttrClass
- attributeReadStartIndex :: Attribute -> IO Word32
Exported types
Methods
attributeDestroy
attributeDestroy :: MonadIO m => Attribute -> m () Source
attributeEqual
attributeInit
attributeInit :: MonadIO m => Attribute -> AttrClass -> m () Source