| 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.Image
Contents
- 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
Description
- 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
Constructors
| Image (ForeignPtr Image) |
Instances
| GObject Image Source | |
| ((~) * info (ResolveImageMethod t Image), MethodInfo * info Image p) => IsLabelProxy t (Image -> p) Source | |
| type ParentTypes Image Source | |
| type AttributeList Image Source | |
| type SignalList Image Source |
Methods
imageClear
data ImageClearMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, ImageK a) => MethodInfo * ImageClearMethodInfo a signature Source |
imageClear :: (MonadIO m, ImageK a) => a -> m () Source
imageGetAnimation
data ImageGetAnimationMethodInfo Source
Instances
| ((~) * signature (m PixbufAnimation), MonadIO m, ImageK a) => MethodInfo * ImageGetAnimationMethodInfo a signature Source |
imageGetAnimation :: (MonadIO m, ImageK a) => a -> m PixbufAnimation Source
imageGetGicon
data ImageGetGiconMethodInfo Source
Instances
| ((~) * signature (m (Icon, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetGiconMethodInfo a signature Source |
imageGetIconName
data ImageGetIconNameMethodInfo Source
Instances
| ((~) * signature (m (Text, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetIconNameMethodInfo a signature Source |
imageGetIconSet
data ImageGetIconSetMethodInfo Source
Instances
| ((~) * signature (m (IconSet, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetIconSetMethodInfo a signature Source |
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
Instances
| ((~) * signature (m Pixbuf), MonadIO m, ImageK a) => MethodInfo * ImageGetPixbufMethodInfo a signature Source |
imageGetPixbuf :: (MonadIO m, ImageK a) => a -> m Pixbuf Source
imageGetPixelSize
data ImageGetPixelSizeMethodInfo Source
Instances
| ((~) * signature (m Int32), MonadIO m, ImageK a) => MethodInfo * ImageGetPixelSizeMethodInfo a signature Source |
imageGetPixelSize :: (MonadIO m, ImageK a) => a -> m Int32 Source
imageGetStock
data ImageGetStockMethodInfo Source
Instances
| ((~) * signature (m (Text, Int32)), MonadIO m, ImageK a) => MethodInfo * ImageGetStockMethodInfo a signature Source |
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
Instances
| ((~) * signature (m ImageType), MonadIO m, ImageK a) => MethodInfo * ImageGetStorageTypeMethodInfo a signature Source |
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
Instances
| ((~) * signature (b -> m ()), MonadIO m, ImageK a, PixbufAnimationK b) => MethodInfo * ImageSetFromAnimationMethodInfo a signature Source |
imageSetFromAnimation :: (MonadIO m, ImageK a, PixbufAnimationK b) => a -> b -> m () Source
imageSetFromFile
data ImageSetFromFileMethodInfo Source
Instances
| ((~) * signature (Maybe [Char] -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromFileMethodInfo a signature Source |
imageSetFromGicon
data ImageSetFromGiconMethodInfo Source
Instances
| ((~) * signature (b -> Int32 -> m ()), MonadIO m, ImageK a, IconK b) => MethodInfo * ImageSetFromGiconMethodInfo a signature Source |
imageSetFromIconName
data ImageSetFromIconNameMethodInfo Source
Instances
| ((~) * signature (Text -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromIconNameMethodInfo a signature Source |
imageSetFromIconSet
data ImageSetFromIconSetMethodInfo Source
Instances
| ((~) * signature (IconSet -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromIconSetMethodInfo a signature Source |
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
Instances
| ((~) * signature (Maybe b -> m ()), MonadIO m, ImageK a, PixbufK b) => MethodInfo * ImageSetFromPixbufMethodInfo a signature Source |
imageSetFromResource
data ImageSetFromResourceMethodInfo Source
Instances
| ((~) * signature (Maybe Text -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromResourceMethodInfo a signature Source |
imageSetFromStock
data ImageSetFromStockMethodInfo Source
Instances
| ((~) * signature (Text -> Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromStockMethodInfo a signature Source |
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
Instances
| ((~) * signature (Surface -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetFromSurfaceMethodInfo a signature Source |
imageSetFromSurface :: (MonadIO m, ImageK a) => a -> Surface -> m () Source
imageSetPixelSize
data ImageSetPixelSizeMethodInfo Source
Instances
| ((~) * signature (Int32 -> m ()), MonadIO m, ImageK a) => MethodInfo * ImageSetPixelSizeMethodInfo a signature Source |
imageSetPixelSize :: (MonadIO m, ImageK a) => a -> Int32 -> m () Source
Properties
File
data ImageFilePropertyInfo Source
Instances
| AttrInfo ImageFilePropertyInfo Source | |
| type AttrLabel ImageFilePropertyInfo = "file" Source | |
| type AttrGetType ImageFilePropertyInfo = Maybe Text Source | |
| type AttrBaseTypeConstraint ImageFilePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageFilePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps ImageFilePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageGiconPropertyInfo Source | |
| type AttrLabel ImageGiconPropertyInfo = "gicon" Source | |
| type AttrGetType ImageGiconPropertyInfo = Maybe Icon Source | |
| type AttrBaseTypeConstraint ImageGiconPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageGiconPropertyInfo = IconK Source | |
| type AttrAllowedOps ImageGiconPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageIconNamePropertyInfo Source | |
| type AttrLabel ImageIconNamePropertyInfo = "icon-name" Source | |
| type AttrGetType ImageIconNamePropertyInfo = Maybe Text Source | |
| type AttrBaseTypeConstraint ImageIconNamePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageIconNamePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps ImageIconNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageIconSetPropertyInfo Source | |
| type AttrLabel ImageIconSetPropertyInfo = "icon-set" Source | |
| type AttrGetType ImageIconSetPropertyInfo = Maybe IconSet Source | |
| type AttrBaseTypeConstraint ImageIconSetPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageIconSetPropertyInfo = * ~ IconSet Source | |
| type AttrAllowedOps ImageIconSetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageIconSizePropertyInfo Source | |
| type AttrLabel ImageIconSizePropertyInfo = "icon-size" Source | |
| type AttrGetType ImageIconSizePropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint ImageIconSizePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageIconSizePropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps ImageIconSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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
Instances
| AttrInfo ImagePixbufPropertyInfo Source | |
| type AttrLabel ImagePixbufPropertyInfo = "pixbuf" Source | |
| type AttrGetType ImagePixbufPropertyInfo = Pixbuf Source | |
| type AttrBaseTypeConstraint ImagePixbufPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImagePixbufPropertyInfo = PixbufK Source | |
| type AttrAllowedOps ImagePixbufPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImagePixbufAnimationPropertyInfo Source | |
| type AttrLabel ImagePixbufAnimationPropertyInfo = "pixbuf-animation" Source | |
| type AttrGetType ImagePixbufAnimationPropertyInfo = Maybe PixbufAnimation Source | |
| type AttrBaseTypeConstraint ImagePixbufAnimationPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImagePixbufAnimationPropertyInfo = PixbufAnimationK Source | |
| type AttrAllowedOps ImagePixbufAnimationPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImagePixelSizePropertyInfo Source | |
| type AttrLabel ImagePixelSizePropertyInfo = "pixel-size" Source | |
| type AttrGetType ImagePixelSizePropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint ImagePixelSizePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImagePixelSizePropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps ImagePixelSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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
Instances
| AttrInfo ImageResourcePropertyInfo Source | |
| type AttrLabel ImageResourcePropertyInfo = "resource" Source | |
| type AttrGetType ImageResourcePropertyInfo = Maybe Text Source | |
| type AttrBaseTypeConstraint ImageResourcePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageResourcePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps ImageResourcePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageStockPropertyInfo Source | |
| type AttrLabel ImageStockPropertyInfo = "stock" Source | |
| type AttrGetType ImageStockPropertyInfo = Maybe Text Source | |
| type AttrBaseTypeConstraint ImageStockPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageStockPropertyInfo = * ~ Text Source | |
| type AttrAllowedOps ImageStockPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageStorageTypePropertyInfo Source | |
| type AttrLabel ImageStorageTypePropertyInfo = "storage-type" Source | |
| type AttrGetType ImageStorageTypePropertyInfo = ImageType Source | |
| type AttrBaseTypeConstraint ImageStorageTypePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageStorageTypePropertyInfo = * ~ () Source | |
| type AttrAllowedOps ImageStorageTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getImageStorageType :: (MonadIO m, ImageK o) => o -> m ImageType Source
imageStorageType :: AttrLabelProxy "storageType" Source
Surface
data ImageSurfacePropertyInfo Source
Instances
| AttrInfo ImageSurfacePropertyInfo Source | |
| type AttrLabel ImageSurfacePropertyInfo = "surface" Source | |
| type AttrGetType ImageSurfacePropertyInfo = Maybe Surface Source | |
| type AttrBaseTypeConstraint ImageSurfacePropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageSurfacePropertyInfo = * ~ Surface Source | |
| type AttrAllowedOps ImageSurfacePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) Source |
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
Instances
| AttrInfo ImageUseFallbackPropertyInfo Source | |
| type AttrLabel ImageUseFallbackPropertyInfo = "use-fallback" Source | |
| type AttrGetType ImageUseFallbackPropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint ImageUseFallbackPropertyInfo = ImageK Source | |
| type AttrSetTypeConstraint ImageUseFallbackPropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps ImageUseFallbackPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getImageUseFallback :: (MonadIO m, ImageK o) => o -> m Bool Source
imageUseFallback :: AttrLabelProxy "useFallback" Source
setImageUseFallback :: (MonadIO m, ImageK o) => o -> Bool -> m () Source