| 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.Gtk.Objects.Misc
Contents
Description
- newtype Misc = Misc (ForeignPtr Misc)
- class GObject o => MiscK o
- toMisc :: MiscK o => o -> IO Misc
- noMisc :: Maybe Misc
- miscGetAlignment :: (MonadIO m, MiscK a) => a -> m (Float, Float)
- miscGetPadding :: (MonadIO m, MiscK a) => a -> m (Int32, Int32)
- miscSetAlignment :: (MonadIO m, MiscK a) => a -> Float -> Float -> m ()
- miscSetPadding :: (MonadIO m, MiscK a) => a -> Int32 -> Int32 -> m ()
- data MiscXalignPropertyInfo
- constructMiscXalign :: Float -> IO ([Char], GValue)
- getMiscXalign :: (MonadIO m, MiscK o) => o -> m Float
- setMiscXalign :: (MonadIO m, MiscK o) => o -> Float -> m ()
- data MiscXpadPropertyInfo
- constructMiscXpad :: Int32 -> IO ([Char], GValue)
- getMiscXpad :: (MonadIO m, MiscK o) => o -> m Int32
- setMiscXpad :: (MonadIO m, MiscK o) => o -> Int32 -> m ()
- data MiscYalignPropertyInfo
- constructMiscYalign :: Float -> IO ([Char], GValue)
- getMiscYalign :: (MonadIO m, MiscK o) => o -> m Float
- setMiscYalign :: (MonadIO m, MiscK o) => o -> Float -> m ()
- data MiscYpadPropertyInfo
- constructMiscYpad :: Int32 -> IO ([Char], GValue)
- getMiscYpad :: (MonadIO m, MiscK o) => o -> m Int32
- setMiscYpad :: (MonadIO m, MiscK o) => o -> Int32 -> m ()
Exported types
Constructors
| Misc (ForeignPtr Misc) |
Instances
| GObject Misc Source | |
| type ParentTypes Misc Source | |
| type AttributeList Misc Source | |
| type SignalList Misc Source |
Methods
miscGetAlignment
miscGetAlignment :: (MonadIO m, MiscK a) => a -> m (Float, Float) Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties.
miscGetPadding
miscGetPadding :: (MonadIO m, MiscK a) => a -> m (Int32, Int32) Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties.
miscSetAlignment
miscSetPadding
miscSetPadding :: (MonadIO m, MiscK a) => a -> Int32 -> Int32 -> m () Source
Deprecated: (Since version 3.14)Use #GtkWidget alignment and margin properties.
Properties
Xalign
data MiscXalignPropertyInfo Source
Instances
| AttrInfo MiscXalignPropertyInfo Source | |
| type AttrLabel MiscXalignPropertyInfo = "Misc::xalign" Source | |
| type AttrGetType MiscXalignPropertyInfo = Float Source | |
| type AttrBaseTypeConstraint MiscXalignPropertyInfo = MiscK Source | |
| type AttrSetTypeConstraint MiscXalignPropertyInfo = * ~ Float Source | |
| type AttrAllowedOps MiscXalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMiscXalign :: (MonadIO m, MiscK o) => o -> m Float Source
setMiscXalign :: (MonadIO m, MiscK o) => o -> Float -> m () Source
Xpad
data MiscXpadPropertyInfo Source
Instances
| AttrInfo MiscXpadPropertyInfo Source | |
| type AttrLabel MiscXpadPropertyInfo = "Misc::xpad" Source | |
| type AttrGetType MiscXpadPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint MiscXpadPropertyInfo = MiscK Source | |
| type AttrSetTypeConstraint MiscXpadPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps MiscXpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMiscXpad :: (MonadIO m, MiscK o) => o -> m Int32 Source
setMiscXpad :: (MonadIO m, MiscK o) => o -> Int32 -> m () Source
Yalign
data MiscYalignPropertyInfo Source
Instances
| AttrInfo MiscYalignPropertyInfo Source | |
| type AttrLabel MiscYalignPropertyInfo = "Misc::yalign" Source | |
| type AttrGetType MiscYalignPropertyInfo = Float Source | |
| type AttrBaseTypeConstraint MiscYalignPropertyInfo = MiscK Source | |
| type AttrSetTypeConstraint MiscYalignPropertyInfo = * ~ Float Source | |
| type AttrAllowedOps MiscYalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMiscYalign :: (MonadIO m, MiscK o) => o -> m Float Source
setMiscYalign :: (MonadIO m, MiscK o) => o -> Float -> m () Source
Ypad
data MiscYpadPropertyInfo Source
Instances
| AttrInfo MiscYpadPropertyInfo Source | |
| type AttrLabel MiscYpadPropertyInfo = "Misc::ypad" Source | |
| type AttrGetType MiscYpadPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint MiscYpadPropertyInfo = MiscK Source | |
| type AttrSetTypeConstraint MiscYpadPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps MiscYpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMiscYpad :: (MonadIO m, MiscK o) => o -> m Int32 Source
setMiscYpad :: (MonadIO m, MiscK o) => o -> Int32 -> m () Source