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 |
- Exported types
- Methods
- imageClear
- imageGetAnimation
- imageGetGicon
- imageGetIconName
- imageGetIconSet
- imageGetPixbuf
- imageGetPixelSize
- imageGetStock
- imageGetStorageType
- imageNew
- imageNewFromAnimation
- imageNewFromFile
- imageNewFromGicon
- imageNewFromIconName
- imageNewFromIconSet
- imageNewFromPixbuf
- imageNewFromResource
- imageNewFromStock
- imageNewFromSurface
- imageSetFromAnimation
- imageSetFromFile
- imageSetFromGicon
- imageSetFromIconName
- imageSetFromIconSet
- imageSetFromPixbuf
- imageSetFromResource
- imageSetFromStock
- imageSetFromSurface
- imageSetPixelSize
- Properties
- newtype Image = Image (ForeignPtr Image)
- class GObject o => ImageK o
- toImage :: ImageK o => o -> IO Image
- noImage :: Maybe Image
- data ImageClearMethodInfo
- imageClear :: (MonadIO m, ImageK a) => a -> m ()
- data ImageGetAnimationMethodInfo
- imageGetAnimation :: (MonadIO m, ImageK a) => a -> m PixbufAnimation
- data ImageGetGiconMethodInfo
- imageGetGicon :: (MonadIO m, ImageK a) => a -> m (Icon, Int32)
- data ImageGetIconNameMethodInfo
- imageGetIconName :: (MonadIO m, ImageK a) => a -> m (Text, Int32)
- data ImageGetIconSetMethodInfo
- imageGetIconSet :: (MonadIO m, ImageK a) => a -> m (IconSet, Int32)
- data ImageGetPixbufMethodInfo
- imageGetPixbuf :: (MonadIO m, ImageK a) => a -> m Pixbuf
- data ImageGetPixelSizeMethodInfo
- imageGetPixelSize :: (MonadIO m, ImageK a) => a -> m Int32
- data ImageGetStockMethodInfo
- imageGetStock :: (MonadIO m, ImageK a) => a -> m (Text, Int32)
- data ImageGetStorageTypeMethodInfo
- imageGetStorageType :: (MonadIO m, ImageK a) => a -> m ImageType
- imageNew :: MonadIO m => m Image
- imageNewFromAnimation :: (MonadIO m, PixbufAnimationK a) => a -> m Image
- imageNewFromFile :: MonadIO m => [Char] -> m Image
- imageNewFromGicon :: (MonadIO m, IconK a) => a -> Int32 -> m Image
- imageNewFromIconName :: MonadIO m => Text -> Int32 -> m Image
- imageNewFromIconSet :: MonadIO m => IconSet -> Int32 -> m Image
- imageNewFromPixbuf :: (MonadIO m, PixbufK a) => Maybe a -> m Image
- imageNewFromResource :: MonadIO m => Text -> m Image
- imageNewFromStock :: MonadIO m => Text -> Int32 -> m Image
- imageNewFromSurface :: MonadIO m => Maybe Surface -> m Image
- data ImageSetFromAnimationMethodInfo
- imageSetFromAnimation :: (MonadIO m, ImageK a, PixbufAnimationK b) => a -> b -> m ()
- data ImageSetFromFileMethodInfo
- imageSetFromFile :: (MonadIO m, ImageK a) => a -> Maybe [Char] -> m ()
- data ImageSetFromGiconMethodInfo
- imageSetFromGicon :: (MonadIO m, ImageK a, IconK b) => a -> b -> Int32 -> m ()
- data ImageSetFromIconNameMethodInfo
- imageSetFromIconName :: (MonadIO m, ImageK a) => a -> Text -> Int32 -> m ()
- data ImageSetFromIconSetMethodInfo
- imageSetFromIconSet :: (MonadIO m, ImageK a) => a -> IconSet -> Int32 -> m ()
- data ImageSetFromPixbufMethodInfo
- imageSetFromPixbuf :: (MonadIO m, ImageK a, PixbufK b) => a -> Maybe b -> m ()
- data ImageSetFromResourceMethodInfo
- imageSetFromResource :: (MonadIO m, ImageK a) => a -> Maybe Text -> m ()
- data ImageSetFromStockMethodInfo
- imageSetFromStock :: (MonadIO m, ImageK a) => a -> Text -> Int32 -> m ()
- data ImageSetFromSurfaceMethodInfo
- imageSetFromSurface :: (MonadIO m, ImageK a) => a -> Surface -> m ()
- data ImageSetPixelSizeMethodInfo
- imageSetPixelSize :: (MonadIO m, ImageK a) => a -> Int32 -> m ()
- data ImageFilePropertyInfo
- clearImageFile :: (MonadIO m, ImageK o) => o -> m ()
- constructImageFile :: Text -> IO ([Char], GValue)
- getImageFile :: (MonadIO m, ImageK o) => o -> m (Maybe Text)
- imageFile :: AttrLabelProxy "file"
- setImageFile :: (MonadIO m, ImageK o) => o -> Text -> m ()
- data ImageGiconPropertyInfo
- clearImageGicon :: (MonadIO m, ImageK o) => o -> m ()
- constructImageGicon :: IconK a => a -> IO ([Char], GValue)
- getImageGicon :: (MonadIO m, ImageK o) => o -> m (Maybe Icon)
- imageGicon :: AttrLabelProxy "gicon"
- setImageGicon :: (MonadIO m, ImageK o, IconK a) => o -> a -> m ()
- data ImageIconNamePropertyInfo
- clearImageIconName :: (MonadIO m, ImageK o) => o -> m ()
- constructImageIconName :: Text -> IO ([Char], GValue)
- getImageIconName :: (MonadIO m, ImageK o) => o -> m (Maybe Text)
- imageIconName :: AttrLabelProxy "iconName"
- setImageIconName :: (MonadIO m, ImageK o) => o -> Text -> m ()
- data ImageIconSetPropertyInfo
- clearImageIconSet :: (MonadIO m, ImageK o) => o -> m ()
- constructImageIconSet :: IconSet -> IO ([Char], GValue)
- getImageIconSet :: (MonadIO m, ImageK o) => o -> m (Maybe IconSet)
- imageIconSet :: AttrLabelProxy "iconSet"
- setImageIconSet :: (MonadIO m, ImageK o) => o -> IconSet -> m ()
- data ImageIconSizePropertyInfo
- constructImageIconSize :: Int32 -> IO ([Char], GValue)
- getImageIconSize :: (MonadIO m, ImageK o) => o -> m Int32
- imageIconSize :: AttrLabelProxy "iconSize"
- setImageIconSize :: (MonadIO m, ImageK o) => o -> Int32 -> m ()
- data ImagePixbufPropertyInfo
- clearImagePixbuf :: (MonadIO m, ImageK o) => o -> m ()
- constructImagePixbuf :: PixbufK a => a -> IO ([Char], GValue)
- getImagePixbuf :: (MonadIO m, ImageK o) => o -> m Pixbuf
- imagePixbuf :: AttrLabelProxy "pixbuf"
- setImagePixbuf :: (MonadIO m, ImageK o, PixbufK a) => o -> a -> m ()
- data ImagePixbufAnimationPropertyInfo
- clearImagePixbufAnimation :: (MonadIO m, ImageK o) => o -> m ()
- constructImagePixbufAnimation :: PixbufAnimationK a => a -> IO ([Char], GValue)
- getImagePixbufAnimation :: (MonadIO m, ImageK o) => o -> m (Maybe PixbufAnimation)
- imagePixbufAnimation :: AttrLabelProxy "pixbufAnimation"
- setImagePixbufAnimation :: (MonadIO m, ImageK o, PixbufAnimationK a) => o -> a -> m ()
- data ImagePixelSizePropertyInfo
- constructImagePixelSize :: Int32 -> IO ([Char], GValue)
- getImagePixelSize :: (MonadIO m, ImageK o) => o -> m Int32
- imagePixelSize :: AttrLabelProxy "pixelSize"
- setImagePixelSize :: (MonadIO m, ImageK o) => o -> Int32 -> m ()
- data ImageResourcePropertyInfo
- clearImageResource :: (MonadIO m, ImageK o) => o -> m ()
- constructImageResource :: Text -> IO ([Char], GValue)
- getImageResource :: (MonadIO m, ImageK o) => o -> m (Maybe Text)
- imageResource :: AttrLabelProxy "resource"
- setImageResource :: (MonadIO m, ImageK o) => o -> Text -> m ()
- data ImageStockPropertyInfo
- clearImageStock :: (MonadIO m, ImageK o) => o -> m ()
- constructImageStock :: Text -> IO ([Char], GValue)
- getImageStock :: (MonadIO m, ImageK o) => o -> m (Maybe Text)
- imageStock :: AttrLabelProxy "stock"
- setImageStock :: (MonadIO m, ImageK o) => o -> Text -> m ()
- data ImageStorageTypePropertyInfo
- getImageStorageType :: (MonadIO m, ImageK o) => o -> m ImageType
- imageStorageType :: AttrLabelProxy "storageType"
- data ImageSurfacePropertyInfo
- clearImageSurface :: (MonadIO m, ImageK o) => o -> m ()
- constructImageSurface :: Surface -> IO ([Char], GValue)
- getImageSurface :: (MonadIO m, ImageK o) => o -> m (Maybe Surface)
- imageSurface :: AttrLabelProxy "surface"
- setImageSurface :: (MonadIO m, ImageK o) => o -> Surface -> m ()
- data ImageUseFallbackPropertyInfo
- constructImageUseFallback :: Bool -> IO ([Char], GValue)
- getImageUseFallback :: (MonadIO m, ImageK o) => o -> m Bool
- imageUseFallback :: AttrLabelProxy "useFallback"
- setImageUseFallback :: (MonadIO m, ImageK o) => o -> Bool -> m ()
Exported types
GObject Image | |
((~) * info (ResolveImageMethod t Image), MethodInfo * info Image p) => IsLabelProxy t (Image -> p) | |
type ParentTypes Image | |
type AttributeList Image | |
type SignalList Image |
Methods
imageClear
data ImageClearMethodInfo Source
((~) * signature (m ()), MonadIO m, ImageK a) => MethodInfo * ImageClearMethodInfo a signature |
imageClear :: (MonadIO m, ImageK a) => a -> m () Source
imageGetAnimation
data ImageGetAnimationMethodInfo Source
((~) * signature (m PixbufAnimation), MonadIO m, ImageK a) => MethodInfo * ImageGetAnimationMethodInfo a signature |
imageGetAnimation :: (MonadIO m, ImageK a) => a -> m PixbufAnimation Source
imageGetGicon
data ImageGetGiconMethodInfo Source
((~) * signature (m (Icon, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetGiconMethodInfo a signature |
imageGetIconName
data ImageGetIconNameMethodInfo Source
((~) * signature (m (Text, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetIconNameMethodInfo a signature |
imageGetIconSet
data ImageGetIconSetMethodInfo Source
((~) * signature (m (IconSet, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetIconSetMethodInfo a signature |
imageGetIconSet :: (MonadIO m, ImageK a) => a -> m (IconSet, Int32) Source
Deprecated: (Since version 3.10)Use gtk_image_get_icon_name() instead.
imageGetPixbuf
data ImageGetPixbufMethodInfo Source
((~) * signature (m Pixbuf), MonadIO m, ImageK a) => MethodInfo * ImageGetPixbufMethodInfo a signature |
imageGetPixbuf :: (MonadIO m, ImageK a) => a -> m Pixbuf Source
imageGetPixelSize
data ImageGetPixelSizeMethodInfo Source
((~) * signature (m Int32), MonadIO m, ImageK a) => MethodInfo * ImageGetPixelSizeMethodInfo a signature |
imageGetPixelSize :: (MonadIO m, ImageK a) => a -> m Int32 Source
imageGetStock
data ImageGetStockMethodInfo Source
((~) * signature (m (Text, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetStockMethodInfo a signature |
imageGetStock :: (MonadIO m, ImageK a) => a -> m (Text, Int32) Source
Deprecated: (Since version 3.10)Use gtk_image_get_icon_name() instead.
imageGetStorageType
data ImageGetStorageTypeMethodInfo Source
((~) * signature (m ImageType), MonadIO m, ImageK a) => MethodInfo * ImageGetStorageTypeMethodInfo a signature |
imageGetStorageType :: (MonadIO m, ImageK a) => a -> m ImageType Source
imageNew
imageNewFromAnimation
imageNewFromAnimation :: (MonadIO m, PixbufAnimationK a) => a -> m Image Source
imageNewFromFile
imageNewFromFile :: MonadIO m => [Char] -> m Image Source
imageNewFromGicon
imageNewFromIconName
imageNewFromIconSet
imageNewFromIconSet :: MonadIO m => IconSet -> Int32 -> m Image Source
Deprecated: (Since version 3.10)Use gtk_image_new_from_icon_name() instead.
imageNewFromPixbuf
imageNewFromResource
imageNewFromResource :: MonadIO m => Text -> m Image Source
imageNewFromStock
imageNewFromStock :: MonadIO m => Text -> Int32 -> m Image Source
Deprecated: (Since version 3.10)Use gtk_image_new_from_icon_name() instead.
imageNewFromSurface
imageSetFromAnimation
data ImageSetFromAnimationMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, ImageK a, PixbufAnimationK b) => MethodInfo * ImageSetFromAnimationMethodInfo a signature |
imageSetFromAnimation :: (MonadIO m, ImageK a, PixbufAnimationK b) => a -> b -> m () Source
imageSetFromFile
data ImageSetFromFileMethodInfo Source
((~) * signature (Maybe [Char] -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromFileMethodInfo a signature |
imageSetFromGicon
data ImageSetFromGiconMethodInfo Source
((~) * signature (b -> Int32 -> m ()), MonadIO m, ImageK a, IconK b) => MethodInfo * ImageSetFromGiconMethodInfo a signature |
imageSetFromIconName
data ImageSetFromIconNameMethodInfo Source
((~) * signature (Text -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromIconNameMethodInfo a signature |
imageSetFromIconSet
data ImageSetFromIconSetMethodInfo Source
((~) * signature (IconSet -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromIconSetMethodInfo a signature |
imageSetFromIconSet :: (MonadIO m, ImageK a) => a -> IconSet -> Int32 -> m () Source
Deprecated: (Since version 3.10)Use gtk_image_set_from_icon_name() instead.
imageSetFromPixbuf
data ImageSetFromPixbufMethodInfo Source
((~) * signature (Maybe b -> m ()), MonadIO m, ImageK a, PixbufK b) => MethodInfo * ImageSetFromPixbufMethodInfo a signature |
imageSetFromResource
data ImageSetFromResourceMethodInfo Source
((~) * signature (Maybe Text -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromResourceMethodInfo a signature |
imageSetFromStock
data ImageSetFromStockMethodInfo Source
((~) * signature (Text -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromStockMethodInfo a signature |
imageSetFromStock :: (MonadIO m, ImageK a) => a -> Text -> Int32 -> m () Source
Deprecated: (Since version 3.10)Use gtk_image_set_from_icon_name() instead.
imageSetFromSurface
data ImageSetFromSurfaceMethodInfo Source
((~) * signature (Surface -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromSurfaceMethodInfo a signature |
imageSetFromSurface :: (MonadIO m, ImageK a) => a -> Surface -> m () Source
imageSetPixelSize
data ImageSetPixelSizeMethodInfo Source
((~) * signature (Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetPixelSizeMethodInfo a signature |
imageSetPixelSize :: (MonadIO m, ImageK a) => a -> Int32 -> m () Source
Properties
File
data ImageFilePropertyInfo Source
AttrInfo ImageFilePropertyInfo | |
type AttrLabel ImageFilePropertyInfo = "file" | |
type AttrGetType ImageFilePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint ImageFilePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageFilePropertyInfo = * ~ Text | |
type AttrAllowedOps ImageFilePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageFile :: (MonadIO m, ImageK o) => o -> m () Source
imageFile :: AttrLabelProxy "file" Source
setImageFile :: (MonadIO m, ImageK o) => o -> Text -> m () Source
Gicon
data ImageGiconPropertyInfo Source
AttrInfo ImageGiconPropertyInfo | |
type AttrLabel ImageGiconPropertyInfo = "gicon" | |
type AttrGetType ImageGiconPropertyInfo = Maybe Icon | |
type AttrBaseTypeConstraint ImageGiconPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageGiconPropertyInfo = IconK | |
type AttrAllowedOps ImageGiconPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageGicon :: (MonadIO m, ImageK o) => o -> m () Source
imageGicon :: AttrLabelProxy "gicon" Source
setImageGicon :: (MonadIO m, ImageK o, IconK a) => o -> a -> m () Source
IconName
data ImageIconNamePropertyInfo Source
AttrInfo ImageIconNamePropertyInfo | |
type AttrLabel ImageIconNamePropertyInfo = "icon-name" | |
type AttrGetType ImageIconNamePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint ImageIconNamePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageIconNamePropertyInfo = * ~ Text | |
type AttrAllowedOps ImageIconNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageIconName :: (MonadIO m, ImageK o) => o -> m () Source
imageIconName :: AttrLabelProxy "iconName" Source
setImageIconName :: (MonadIO m, ImageK o) => o -> Text -> m () Source
IconSet
data ImageIconSetPropertyInfo Source
AttrInfo ImageIconSetPropertyInfo | |
type AttrLabel ImageIconSetPropertyInfo = "icon-set" | |
type AttrGetType ImageIconSetPropertyInfo = Maybe IconSet | |
type AttrBaseTypeConstraint ImageIconSetPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageIconSetPropertyInfo = * ~ IconSet | |
type AttrAllowedOps ImageIconSetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageIconSet :: (MonadIO m, ImageK o) => o -> m () Source
imageIconSet :: AttrLabelProxy "iconSet" Source
setImageIconSet :: (MonadIO m, ImageK o) => o -> IconSet -> m () Source
IconSize
data ImageIconSizePropertyInfo Source
AttrInfo ImageIconSizePropertyInfo | |
type AttrLabel ImageIconSizePropertyInfo = "icon-size" | |
type AttrGetType ImageIconSizePropertyInfo = Int32 | |
type AttrBaseTypeConstraint ImageIconSizePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageIconSizePropertyInfo = * ~ Int32 | |
type AttrAllowedOps ImageIconSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getImageIconSize :: (MonadIO m, ImageK o) => o -> m Int32 Source
imageIconSize :: AttrLabelProxy "iconSize" Source
setImageIconSize :: (MonadIO m, ImageK o) => o -> Int32 -> m () Source
Pixbuf
data ImagePixbufPropertyInfo Source
AttrInfo ImagePixbufPropertyInfo | |
type AttrLabel ImagePixbufPropertyInfo = "pixbuf" | |
type AttrGetType ImagePixbufPropertyInfo = Pixbuf | |
type AttrBaseTypeConstraint ImagePixbufPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImagePixbufPropertyInfo = PixbufK | |
type AttrAllowedOps ImagePixbufPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImagePixbuf :: (MonadIO m, ImageK o) => o -> m () Source
getImagePixbuf :: (MonadIO m, ImageK o) => o -> m Pixbuf Source
imagePixbuf :: AttrLabelProxy "pixbuf" Source
setImagePixbuf :: (MonadIO m, ImageK o, PixbufK a) => o -> a -> m () Source
PixbufAnimation
data ImagePixbufAnimationPropertyInfo Source
AttrInfo ImagePixbufAnimationPropertyInfo | |
type AttrLabel ImagePixbufAnimationPropertyInfo = "pixbuf-animation" | |
type AttrGetType ImagePixbufAnimationPropertyInfo = Maybe PixbufAnimation | |
type AttrBaseTypeConstraint ImagePixbufAnimationPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImagePixbufAnimationPropertyInfo = PixbufAnimationK | |
type AttrAllowedOps ImagePixbufAnimationPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImagePixbufAnimation :: (MonadIO m, ImageK o) => o -> m () Source
constructImagePixbufAnimation :: PixbufAnimationK a => a -> IO ([Char], GValue) Source
getImagePixbufAnimation :: (MonadIO m, ImageK o) => o -> m (Maybe PixbufAnimation) Source
imagePixbufAnimation :: AttrLabelProxy "pixbufAnimation" Source
setImagePixbufAnimation :: (MonadIO m, ImageK o, PixbufAnimationK a) => o -> a -> m () Source
PixelSize
data ImagePixelSizePropertyInfo Source
AttrInfo ImagePixelSizePropertyInfo | |
type AttrLabel ImagePixelSizePropertyInfo = "pixel-size" | |
type AttrGetType ImagePixelSizePropertyInfo = Int32 | |
type AttrBaseTypeConstraint ImagePixelSizePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImagePixelSizePropertyInfo = * ~ Int32 | |
type AttrAllowedOps ImagePixelSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getImagePixelSize :: (MonadIO m, ImageK o) => o -> m Int32 Source
imagePixelSize :: AttrLabelProxy "pixelSize" Source
setImagePixelSize :: (MonadIO m, ImageK o) => o -> Int32 -> m () Source
Resource
data ImageResourcePropertyInfo Source
AttrInfo ImageResourcePropertyInfo | |
type AttrLabel ImageResourcePropertyInfo = "resource" | |
type AttrGetType ImageResourcePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint ImageResourcePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageResourcePropertyInfo = * ~ Text | |
type AttrAllowedOps ImageResourcePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageResource :: (MonadIO m, ImageK o) => o -> m () Source
imageResource :: AttrLabelProxy "resource" Source
setImageResource :: (MonadIO m, ImageK o) => o -> Text -> m () Source
Stock
data ImageStockPropertyInfo Source
AttrInfo ImageStockPropertyInfo | |
type AttrLabel ImageStockPropertyInfo = "stock" | |
type AttrGetType ImageStockPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint ImageStockPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageStockPropertyInfo = * ~ Text | |
type AttrAllowedOps ImageStockPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageStock :: (MonadIO m, ImageK o) => o -> m () Source
imageStock :: AttrLabelProxy "stock" Source
setImageStock :: (MonadIO m, ImageK o) => o -> Text -> m () Source
StorageType
data ImageStorageTypePropertyInfo Source
AttrInfo ImageStorageTypePropertyInfo | |
type AttrLabel ImageStorageTypePropertyInfo = "storage-type" | |
type AttrGetType ImageStorageTypePropertyInfo = ImageType | |
type AttrBaseTypeConstraint ImageStorageTypePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageStorageTypePropertyInfo = * ~ () | |
type AttrAllowedOps ImageStorageTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getImageStorageType :: (MonadIO m, ImageK o) => o -> m ImageType Source
imageStorageType :: AttrLabelProxy "storageType" Source
Surface
data ImageSurfacePropertyInfo Source
AttrInfo ImageSurfacePropertyInfo | |
type AttrLabel ImageSurfacePropertyInfo = "surface" | |
type AttrGetType ImageSurfacePropertyInfo = Maybe Surface | |
type AttrBaseTypeConstraint ImageSurfacePropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageSurfacePropertyInfo = * ~ Surface | |
type AttrAllowedOps ImageSurfacePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearImageSurface :: (MonadIO m, ImageK o) => o -> m () Source
imageSurface :: AttrLabelProxy "surface" Source
setImageSurface :: (MonadIO m, ImageK o) => o -> Surface -> m () Source
UseFallback
data ImageUseFallbackPropertyInfo Source
AttrInfo ImageUseFallbackPropertyInfo | |
type AttrLabel ImageUseFallbackPropertyInfo = "use-fallback" | |
type AttrGetType ImageUseFallbackPropertyInfo = Bool | |
type AttrBaseTypeConstraint ImageUseFallbackPropertyInfo = ImageK | |
type AttrSetTypeConstraint ImageUseFallbackPropertyInfo = * ~ Bool | |
type AttrAllowedOps ImageUseFallbackPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getImageUseFallback :: (MonadIO m, ImageK o) => o -> m Bool Source
imageUseFallback :: AttrLabelProxy "useFallback" Source
setImageUseFallback :: (MonadIO m, ImageK o) => o -> Bool -> m () Source