| 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.AttrShape
Description
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"
- clearAttrShapeAttr :: MonadIO m => AttrShape -> m ()
- getAttrShapeAttr :: MonadIO m => AttrShape -> m (Maybe Attribute)
- setAttrShapeAttr :: MonadIO m => AttrShape -> Ptr Attribute -> m ()
- attrShapeData :: AttrLabelProxy "data"
- clearAttrShapeData :: MonadIO m => AttrShape -> m ()
- getAttrShapeData :: MonadIO m => AttrShape -> m (Ptr ())
- setAttrShapeData :: MonadIO m => AttrShape -> Ptr () -> m ()
- attrShapeInkRect :: AttrLabelProxy "inkRect"
- clearAttrShapeInkRect :: MonadIO m => AttrShape -> m ()
- getAttrShapeInkRect :: MonadIO m => AttrShape -> m (Maybe Rectangle)
- setAttrShapeInkRect :: MonadIO m => AttrShape -> Ptr Rectangle -> m ()
- attrShapeLogicalRect :: AttrLabelProxy "logicalRect"
- clearAttrShapeLogicalRect :: MonadIO m => AttrShape -> m ()
- getAttrShapeLogicalRect :: MonadIO m => AttrShape -> m (Maybe Rectangle)
- setAttrShapeLogicalRect :: MonadIO m => AttrShape -> Ptr Rectangle -> m ()
Exported types
Constructors
| AttrShape (ForeignPtr AttrShape) |
Instances
| WrappedPtr AttrShape Source # | |
| (~) AttrOpTag tag AttrSet => Constructible AttrShape tag Source # | |
| ((~) * info (ResolveAttrShapeMethod t AttrShape), MethodInfo * info AttrShape p) => IsLabel t (AttrShape -> p) Source # | |
| ((~) * info (ResolveAttrShapeMethod t AttrShape), MethodInfo * info AttrShape p) => IsLabelProxy t (AttrShape -> p) Source # | |
| HasAttributeList * AttrShape Source # | |
| type AttributeList AttrShape Source # | |
newZeroAttrShape :: MonadIO m => m AttrShape Source #
Construct a AttrShape struct initialized to zero.
Methods
attrShapeNew
Properties
Attr
attrShapeAttr :: AttrLabelProxy "attr" Source #
clearAttrShapeAttr :: MonadIO m => AttrShape -> m () Source #
Data
attrShapeData :: AttrLabelProxy "data" Source #
clearAttrShapeData :: MonadIO m => AttrShape -> m () Source #
InkRect
attrShapeInkRect :: AttrLabelProxy "inkRect" Source #
clearAttrShapeInkRect :: MonadIO m => AttrShape -> m () Source #
LogicalRect
attrShapeLogicalRect :: AttrLabelProxy "logicalRect" Source #
clearAttrShapeLogicalRect :: MonadIO m => AttrShape -> m () Source #