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 AspectFrame = AspectFrame (ForeignPtr AspectFrame)
- class GObject o => AspectFrameK o
- toAspectFrame :: AspectFrameK o => o -> IO AspectFrame
- noAspectFrame :: Maybe AspectFrame
- aspectFrameNew :: MonadIO m => Maybe Text -> Float -> Float -> Float -> Bool -> m AspectFrame
- aspectFrameSet :: (MonadIO m, AspectFrameK a) => a -> Float -> Float -> Float -> Bool -> m ()
- data AspectFrameObeyChildPropertyInfo
- constructAspectFrameObeyChild :: Bool -> IO ([Char], GValue)
- getAspectFrameObeyChild :: (MonadIO m, AspectFrameK o) => o -> m Bool
- setAspectFrameObeyChild :: (MonadIO m, AspectFrameK o) => o -> Bool -> m ()
- data AspectFrameRatioPropertyInfo
- constructAspectFrameRatio :: Float -> IO ([Char], GValue)
- getAspectFrameRatio :: (MonadIO m, AspectFrameK o) => o -> m Float
- setAspectFrameRatio :: (MonadIO m, AspectFrameK o) => o -> Float -> m ()
- data AspectFrameXalignPropertyInfo
- constructAspectFrameXalign :: Float -> IO ([Char], GValue)
- getAspectFrameXalign :: (MonadIO m, AspectFrameK o) => o -> m Float
- setAspectFrameXalign :: (MonadIO m, AspectFrameK o) => o -> Float -> m ()
- data AspectFrameYalignPropertyInfo
- constructAspectFrameYalign :: Float -> IO ([Char], GValue)
- getAspectFrameYalign :: (MonadIO m, AspectFrameK o) => o -> m Float
- setAspectFrameYalign :: (MonadIO m, AspectFrameK o) => o -> Float -> m ()
Exported types
newtype AspectFrame Source
GObject AspectFrame | |
type ParentTypes AspectFrame | |
type AttributeList AspectFrame | |
type SignalList AspectFrame |
class GObject o => AspectFrameK o Source
(GObject o, IsDescendantOf AspectFrame o) => AspectFrameK o |
toAspectFrame :: AspectFrameK o => o -> IO AspectFrame Source
Methods
aspectFrameNew
aspectFrameNew :: MonadIO m => Maybe Text -> Float -> Float -> Float -> Bool -> m AspectFrame Source
aspectFrameSet
aspectFrameSet :: (MonadIO m, AspectFrameK a) => a -> Float -> Float -> Float -> Bool -> m () Source
Properties
ObeyChild
data AspectFrameObeyChildPropertyInfo Source
AttrInfo AspectFrameObeyChildPropertyInfo | |
type AttrLabel AspectFrameObeyChildPropertyInfo = "AspectFrame::obey-child" | |
type AttrGetType AspectFrameObeyChildPropertyInfo = Bool | |
type AttrBaseTypeConstraint AspectFrameObeyChildPropertyInfo = AspectFrameK | |
type AttrSetTypeConstraint AspectFrameObeyChildPropertyInfo = * ~ Bool | |
type AttrAllowedOps AspectFrameObeyChildPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getAspectFrameObeyChild :: (MonadIO m, AspectFrameK o) => o -> m Bool Source
setAspectFrameObeyChild :: (MonadIO m, AspectFrameK o) => o -> Bool -> m () Source
Ratio
data AspectFrameRatioPropertyInfo Source
AttrInfo AspectFrameRatioPropertyInfo | |
type AttrLabel AspectFrameRatioPropertyInfo = "AspectFrame::ratio" | |
type AttrGetType AspectFrameRatioPropertyInfo = Float | |
type AttrBaseTypeConstraint AspectFrameRatioPropertyInfo = AspectFrameK | |
type AttrSetTypeConstraint AspectFrameRatioPropertyInfo = * ~ Float | |
type AttrAllowedOps AspectFrameRatioPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getAspectFrameRatio :: (MonadIO m, AspectFrameK o) => o -> m Float Source
setAspectFrameRatio :: (MonadIO m, AspectFrameK o) => o -> Float -> m () Source
Xalign
data AspectFrameXalignPropertyInfo Source
AttrInfo AspectFrameXalignPropertyInfo | |
type AttrLabel AspectFrameXalignPropertyInfo = "AspectFrame::xalign" | |
type AttrGetType AspectFrameXalignPropertyInfo = Float | |
type AttrBaseTypeConstraint AspectFrameXalignPropertyInfo = AspectFrameK | |
type AttrSetTypeConstraint AspectFrameXalignPropertyInfo = * ~ Float | |
type AttrAllowedOps AspectFrameXalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getAspectFrameXalign :: (MonadIO m, AspectFrameK o) => o -> m Float Source
setAspectFrameXalign :: (MonadIO m, AspectFrameK o) => o -> Float -> m () Source
Yalign
data AspectFrameYalignPropertyInfo Source
AttrInfo AspectFrameYalignPropertyInfo | |
type AttrLabel AspectFrameYalignPropertyInfo = "AspectFrame::yalign" | |
type AttrGetType AspectFrameYalignPropertyInfo = Float | |
type AttrBaseTypeConstraint AspectFrameYalignPropertyInfo = AspectFrameK | |
type AttrSetTypeConstraint AspectFrameYalignPropertyInfo = * ~ Float | |
type AttrAllowedOps AspectFrameYalignPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getAspectFrameYalign :: (MonadIO m, AspectFrameK o) => o -> m Float Source
setAspectFrameYalign :: (MonadIO m, AspectFrameK o) => o -> Float -> m () Source