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 #PangoAttrShape structure is used to represent attributes which impose shape restrictions.
- newtype AttrShape = AttrShape (ForeignPtr AttrShape)
- newZeroAttrShape :: MonadIO m => m AttrShape
- noAttrShape :: Maybe AttrShape
- attrShapeNew :: MonadIO m => Rectangle -> Rectangle -> m Attribute
- attrShapeAttr :: AttrLabelProxy "attr"
- attrShapeClearAttr :: MonadIO m => AttrShape -> m ()
- attrShapeReadAttr :: MonadIO m => AttrShape -> m (Maybe Attribute)
- attrShapeWriteAttr :: MonadIO m => AttrShape -> Ptr Attribute -> m ()
- attrShapeClearData :: MonadIO m => AttrShape -> m ()
- attrShapeData :: AttrLabelProxy "data"
- attrShapeReadData :: MonadIO m => AttrShape -> m (Ptr ())
- attrShapeWriteData :: MonadIO m => AttrShape -> Ptr () -> m ()
- attrShapeClearInkRect :: MonadIO m => AttrShape -> m ()
- attrShapeInkRect :: AttrLabelProxy "inkRect"
- attrShapeReadInkRect :: MonadIO m => AttrShape -> m (Maybe Rectangle)
- attrShapeWriteInkRect :: MonadIO m => AttrShape -> Ptr Rectangle -> m ()
- attrShapeClearLogicalRect :: MonadIO m => AttrShape -> m ()
- attrShapeLogicalRect :: AttrLabelProxy "logicalRect"
- attrShapeReadLogicalRect :: MonadIO m => AttrShape -> m (Maybe Rectangle)
- attrShapeWriteLogicalRect :: MonadIO m => AttrShape -> Ptr Rectangle -> m ()
Exported types
(~) AttrOpTag tag AttrSet => Constructible AttrShape tag | |
((~) * info (ResolveAttrShapeMethod t AttrShape), MethodInfo * info AttrShape p) => IsLabelProxy t (AttrShape -> p) | |
type AttributeList AttrShape |
newZeroAttrShape :: MonadIO m => m AttrShape Source
Construct a AttrShape
struct initialized to zero.
Methods
attrShapeNew
Properties
Attr
attrShapeAttr :: AttrLabelProxy "attr" Source
attrShapeClearAttr :: MonadIO m => AttrShape -> m () Source
Data
attrShapeClearData :: MonadIO m => AttrShape -> m () Source
attrShapeData :: AttrLabelProxy "data" Source
attrShapeReadData :: MonadIO m => AttrShape -> m (Ptr ()) Source
attrShapeWriteData :: MonadIO m => AttrShape -> Ptr () -> m () Source
InkRect
attrShapeClearInkRect :: MonadIO m => AttrShape -> m () Source
attrShapeInkRect :: AttrLabelProxy "inkRect" Source
LogicalRect
attrShapeClearLogicalRect :: MonadIO m => AttrShape -> m () Source
attrShapeLogicalRect :: AttrLabelProxy "logicalRect" Source