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 |
- newtype Alignment = Alignment (ForeignPtr Alignment)
- class GObject o => AlignmentK o
- toAlignment :: AlignmentK o => o -> IO Alignment
- noAlignment :: Maybe Alignment
- alignmentGetPadding :: (MonadIO m, AlignmentK a) => a -> m (Word32, Word32, Word32, Word32)
- alignmentNew :: MonadIO m => Float -> Float -> Float -> Float -> m Alignment
- alignmentSet :: (MonadIO m, AlignmentK a) => a -> Float -> Float -> Float -> Float -> m ()
- alignmentSetPadding :: (MonadIO m, AlignmentK a) => a -> Word32 -> Word32 -> Word32 -> Word32 -> m ()
- data AlignmentBottomPaddingPropertyInfo
- constructAlignmentBottomPadding :: Word32 -> IO ([Char], GValue)
- getAlignmentBottomPadding :: (MonadIO m, AlignmentK o) => o -> m Word32
- setAlignmentBottomPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m ()
- data AlignmentLeftPaddingPropertyInfo
- constructAlignmentLeftPadding :: Word32 -> IO ([Char], GValue)
- getAlignmentLeftPadding :: (MonadIO m, AlignmentK o) => o -> m Word32
- setAlignmentLeftPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m ()
- data AlignmentRightPaddingPropertyInfo
- constructAlignmentRightPadding :: Word32 -> IO ([Char], GValue)
- getAlignmentRightPadding :: (MonadIO m, AlignmentK o) => o -> m Word32
- setAlignmentRightPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m ()
- data AlignmentTopPaddingPropertyInfo
- constructAlignmentTopPadding :: Word32 -> IO ([Char], GValue)
- getAlignmentTopPadding :: (MonadIO m, AlignmentK o) => o -> m Word32
- setAlignmentTopPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m ()
- data AlignmentXalignPropertyInfo
- constructAlignmentXalign :: Float -> IO ([Char], GValue)
- getAlignmentXalign :: (MonadIO m, AlignmentK o) => o -> m Float
- setAlignmentXalign :: (MonadIO m, AlignmentK o) => o -> Float -> m ()
- data AlignmentXscalePropertyInfo
- constructAlignmentXscale :: Float -> IO ([Char], GValue)
- getAlignmentXscale :: (MonadIO m, AlignmentK o) => o -> m Float
- setAlignmentXscale :: (MonadIO m, AlignmentK o) => o -> Float -> m ()
- data AlignmentYalignPropertyInfo
- constructAlignmentYalign :: Float -> IO ([Char], GValue)
- getAlignmentYalign :: (MonadIO m, AlignmentK o) => o -> m Float
- setAlignmentYalign :: (MonadIO m, AlignmentK o) => o -> Float -> m ()
- data AlignmentYscalePropertyInfo
- constructAlignmentYscale :: Float -> IO ([Char], GValue)
- getAlignmentYscale :: (MonadIO m, AlignmentK o) => o -> m Float
- setAlignmentYscale :: (MonadIO m, AlignmentK o) => o -> Float -> m ()
Exported types
GObject Alignment Source | |
type ParentTypes Alignment Source | |
type AttributeList Alignment Source | |
type SignalList Alignment Source |
class GObject o => AlignmentK o Source
(GObject o, IsDescendantOf Alignment o) => AlignmentK o Source |
toAlignment :: AlignmentK o => o -> IO Alignment Source
Methods
alignmentGetPadding
alignmentGetPadding :: (MonadIO m, AlignmentK a) => a -> m (Word32, Word32, Word32, Word32) Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties
alignmentNew
alignmentNew :: MonadIO m => Float -> Float -> Float -> Float -> m Alignment Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties
alignmentSet
alignmentSet :: (MonadIO m, AlignmentK a) => a -> Float -> Float -> Float -> Float -> m () Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties
alignmentSetPadding
alignmentSetPadding :: (MonadIO m, AlignmentK a) => a -> Word32 -> Word32 -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties
Properties
BottomPadding
data AlignmentBottomPaddingPropertyInfo Source
AttrInfo AlignmentBottomPaddingPropertyInfo Source | |
type AttrLabel AlignmentBottomPaddingPropertyInfo = "Alignment::bottom-padding" Source | |
type AttrGetType AlignmentBottomPaddingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint AlignmentBottomPaddingPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentBottomPaddingPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps AlignmentBottomPaddingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentBottomPadding :: (MonadIO m, AlignmentK o) => o -> m Word32 Source
setAlignmentBottomPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m () Source
LeftPadding
data AlignmentLeftPaddingPropertyInfo Source
AttrInfo AlignmentLeftPaddingPropertyInfo Source | |
type AttrLabel AlignmentLeftPaddingPropertyInfo = "Alignment::left-padding" Source | |
type AttrGetType AlignmentLeftPaddingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint AlignmentLeftPaddingPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentLeftPaddingPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps AlignmentLeftPaddingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentLeftPadding :: (MonadIO m, AlignmentK o) => o -> m Word32 Source
setAlignmentLeftPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m () Source
RightPadding
data AlignmentRightPaddingPropertyInfo Source
AttrInfo AlignmentRightPaddingPropertyInfo Source | |
type AttrLabel AlignmentRightPaddingPropertyInfo = "Alignment::right-padding" Source | |
type AttrGetType AlignmentRightPaddingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint AlignmentRightPaddingPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentRightPaddingPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps AlignmentRightPaddingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentRightPadding :: (MonadIO m, AlignmentK o) => o -> m Word32 Source
setAlignmentRightPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m () Source
TopPadding
data AlignmentTopPaddingPropertyInfo Source
AttrInfo AlignmentTopPaddingPropertyInfo Source | |
type AttrLabel AlignmentTopPaddingPropertyInfo = "Alignment::top-padding" Source | |
type AttrGetType AlignmentTopPaddingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint AlignmentTopPaddingPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentTopPaddingPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps AlignmentTopPaddingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentTopPadding :: (MonadIO m, AlignmentK o) => o -> m Word32 Source
setAlignmentTopPadding :: (MonadIO m, AlignmentK o) => o -> Word32 -> m () Source
Xalign
data AlignmentXalignPropertyInfo Source
AttrInfo AlignmentXalignPropertyInfo Source | |
type AttrLabel AlignmentXalignPropertyInfo = "Alignment::xalign" Source | |
type AttrGetType AlignmentXalignPropertyInfo = Float Source | |
type AttrBaseTypeConstraint AlignmentXalignPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentXalignPropertyInfo = * ~ Float Source | |
type AttrAllowedOps AlignmentXalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentXalign :: (MonadIO m, AlignmentK o) => o -> m Float Source
setAlignmentXalign :: (MonadIO m, AlignmentK o) => o -> Float -> m () Source
Xscale
data AlignmentXscalePropertyInfo Source
AttrInfo AlignmentXscalePropertyInfo Source | |
type AttrLabel AlignmentXscalePropertyInfo = "Alignment::xscale" Source | |
type AttrGetType AlignmentXscalePropertyInfo = Float Source | |
type AttrBaseTypeConstraint AlignmentXscalePropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentXscalePropertyInfo = * ~ Float Source | |
type AttrAllowedOps AlignmentXscalePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentXscale :: (MonadIO m, AlignmentK o) => o -> m Float Source
setAlignmentXscale :: (MonadIO m, AlignmentK o) => o -> Float -> m () Source
Yalign
data AlignmentYalignPropertyInfo Source
AttrInfo AlignmentYalignPropertyInfo Source | |
type AttrLabel AlignmentYalignPropertyInfo = "Alignment::yalign" Source | |
type AttrGetType AlignmentYalignPropertyInfo = Float Source | |
type AttrBaseTypeConstraint AlignmentYalignPropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentYalignPropertyInfo = * ~ Float Source | |
type AttrAllowedOps AlignmentYalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentYalign :: (MonadIO m, AlignmentK o) => o -> m Float Source
setAlignmentYalign :: (MonadIO m, AlignmentK o) => o -> Float -> m () Source
Yscale
data AlignmentYscalePropertyInfo Source
AttrInfo AlignmentYscalePropertyInfo Source | |
type AttrLabel AlignmentYscalePropertyInfo = "Alignment::yscale" Source | |
type AttrGetType AlignmentYscalePropertyInfo = Float Source | |
type AttrBaseTypeConstraint AlignmentYscalePropertyInfo = AlignmentK Source | |
type AttrSetTypeConstraint AlignmentYscalePropertyInfo = * ~ Float Source | |
type AttrAllowedOps AlignmentYscalePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getAlignmentYscale :: (MonadIO m, AlignmentK o) => o -> m Float Source
setAlignmentYscale :: (MonadIO m, AlignmentK o) => o -> Float -> m () Source