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 |
A structure used to store a rectangle used by AtkText.
- newtype TextRectangle = TextRectangle (ForeignPtr TextRectangle)
- newZeroTextRectangle :: MonadIO m => m TextRectangle
- noTextRectangle :: Maybe TextRectangle
- textRectangleHeight :: AttrLabelProxy "height"
- textRectangleReadHeight :: MonadIO m => TextRectangle -> m Int32
- textRectangleWriteHeight :: MonadIO m => TextRectangle -> Int32 -> m ()
- textRectangleReadWidth :: MonadIO m => TextRectangle -> m Int32
- textRectangleWidth :: AttrLabelProxy "width"
- textRectangleWriteWidth :: MonadIO m => TextRectangle -> Int32 -> m ()
- textRectangleReadX :: MonadIO m => TextRectangle -> m Int32
- textRectangleWriteX :: MonadIO m => TextRectangle -> Int32 -> m ()
- textRectangleX :: AttrLabelProxy "x"
- textRectangleReadY :: MonadIO m => TextRectangle -> m Int32
- textRectangleWriteY :: MonadIO m => TextRectangle -> Int32 -> m ()
- textRectangleY :: AttrLabelProxy "y"
Exported types
newtype TextRectangle Source
WrappedPtr TextRectangle | |
(~) AttrOpTag tag AttrSet => Constructible TextRectangle tag | |
((~) * info (ResolveTextRectangleMethod t TextRectangle), MethodInfo * info TextRectangle p) => IsLabelProxy t (TextRectangle -> p) | |
type AttributeList TextRectangle |
newZeroTextRectangle :: MonadIO m => m TextRectangle Source
Construct a TextRectangle
struct initialized to zero.
Properties
Height
textRectangleHeight :: AttrLabelProxy "height" Source
textRectangleReadHeight :: MonadIO m => TextRectangle -> m Int32 Source
textRectangleWriteHeight :: MonadIO m => TextRectangle -> Int32 -> m () Source
Width
textRectangleReadWidth :: MonadIO m => TextRectangle -> m Int32 Source
textRectangleWidth :: AttrLabelProxy "width" Source
textRectangleWriteWidth :: MonadIO m => TextRectangle -> Int32 -> m () Source
X
textRectangleReadX :: MonadIO m => TextRectangle -> m Int32 Source
textRectangleWriteX :: MonadIO m => TextRectangle -> Int32 -> m () Source
textRectangleX :: AttrLabelProxy "x" Source
Y
textRectangleReadY :: MonadIO m => TextRectangle -> m Int32 Source
textRectangleWriteY :: MonadIO m => TextRectangle -> Int32 -> m () Source
textRectangleY :: AttrLabelProxy "y" Source