| 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.AttrClass
Contents
Description
The #PangoAttrClass structure stores the type and operations for a particular type of attribute. The functions in this structure should not be called directly. Instead, one should use the wrapper functions provided for #PangoAttribute.
- newtype AttrClass = AttrClass (ForeignPtr AttrClass)
- newZeroAttrClass :: MonadIO m => m AttrClass
- noAttrClass :: Maybe AttrClass
- attrClassReadType :: MonadIO m => AttrClass -> m AttrType
- attrClassType :: AttrLabelProxy "type"
- attrClassWriteType :: MonadIO m => AttrClass -> AttrType -> m ()
Exported types
Constructors
| AttrClass (ForeignPtr AttrClass) |
Instances
| (~) AttrOpTag tag AttrSet => Constructible AttrClass tag | |
| ((~) * info (ResolveAttrClassMethod t AttrClass), MethodInfo * info AttrClass p) => IsLabelProxy t (AttrClass -> p) | |
| type AttributeList AttrClass |
newZeroAttrClass :: MonadIO m => m AttrClass Source
Construct a AttrClass struct initialized to zero.
Properties
Type
attrClassReadType :: MonadIO m => AttrClass -> m AttrType Source
attrClassType :: AttrLabelProxy "type" Source
attrClassWriteType :: MonadIO m => AttrClass -> AttrType -> m () Source