gi-gtk-3.0.13: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Image

Contents

Description

The Image widget displays an image. Various kinds of object can be displayed as an image; most typically, you would load a Pixbuf ("pixel buffer") from a file, and then display that. There’s a convenience function to do this, imageNewFromFile, used as follows:

C code

 GtkWidget *image;
 image = gtk_image_new_from_file ("myfile.png");

If the file isn’t loaded successfully, the image will contain a “broken image” icon similar to that used in many web browsers. If you want to handle errors in loading the file yourself, for example by displaying an error message, then load the image with pixbufNewFromFile, then create the Image with imageNewFromPixbuf.

The image file may contain an animation, if so the Image will display an animation (PixbufAnimation) instead of a static image.

Image is a subclass of Misc, which implies that you can align it (center, left, right) and add padding to it, using Misc methods.

Image is a “no window” widget (has no Window of its own), so by default does not receive events. If you want to receive events on the image, such as button clicks, place the image inside a EventBox, then connect to the event signals on the event box.

## Handling button press events on a Image.

C code

 static gboolean
 button_press_callback (GtkWidget      *event_box,
                        GdkEventButton *event,
                        gpointer        data)
 {
   g_print ("Event box clicked at coordinates %f,%f\n",
            event->x, event->y);

   // Returning TRUE means we handled the event, so the signal
   // emission should be stopped (don’t call any further callbacks
   // that may be connected). Return FALSE to continue invoking callbacks.
   return TRUE;
 }

 static GtkWidget*
 create_image (void)
 {
   GtkWidget *image;
   GtkWidget *event_box;

   image = gtk_image_new_from_file ("myfile.png");

   event_box = gtk_event_box_new ();

   gtk_container_add (GTK_CONTAINER (event_box), image);

   g_signal_connect (G_OBJECT (event_box),
                     "button_press_event",
                     G_CALLBACK (button_press_callback),
                     image);

   return image;
 }

When handling events on the event box, keep in mind that coordinates in the image may be different from event box coordinates due to the alignment and padding settings on the image (see Misc). The simplest way to solve this is to set the alignment to 0.0 (left/top), and set the padding to zero. Then the origin of the image will be the same as the origin of the event box.

Sometimes an application will want to avoid depending on external data files, such as image files. GTK+ comes with a program to avoid this, called “gdk-pixbuf-csource”. This library allows you to convert an image into a C variable declaration, which can then be loaded into a Pixbuf using pixbufNewFromInline.

CSS nodes

GtkImage has a single CSS node with the name image.

Synopsis

Exported types

newtype Image Source #

Constructors

Image (ManagedPtr Image) 

Instances

Methods

clear

data ImageClearMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsImage a) => MethodInfo * ImageClearMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ImageClearMethodInfo a -> signature -> s #

imageClear Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m () 

Resets the image to be empty.

Since: 2.8

getAnimation

imageGetAnimation Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (Maybe PixbufAnimation)

Returns: the displayed animation, or Nothing if the image is empty

Gets the PixbufAnimation being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypeAnimation (see imageGetStorageType). The caller of this function does not own a reference to the returned animation.

getGicon

data ImageGetGiconMethodInfo Source #

Instances

((~) * signature (m (Icon, Int32)), MonadIO m, IsImage a) => MethodInfo * ImageGetGiconMethodInfo a signature Source # 

imageGetGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (Icon, Int32) 

Gets the Icon and size being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypeGicon (see imageGetStorageType). The caller of this function does not own a reference to the returned Icon.

Since: 2.14

getIconName

data ImageGetIconNameMethodInfo Source #

Instances

((~) * signature (m (Text, Int32)), MonadIO m, IsImage a) => MethodInfo * ImageGetIconNameMethodInfo a signature Source # 

imageGetIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (Text, Int32) 

Gets the icon name and size being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypeIconName (see imageGetStorageType). The returned string is owned by the Image and should not be freed.

Since: 2.6

getIconSet

data ImageGetIconSetMethodInfo Source #

Instances

((~) * signature (m (IconSet, Int32)), MonadIO m, IsImage a) => MethodInfo * ImageGetIconSetMethodInfo a signature Source # 

imageGetIconSet Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (IconSet, Int32) 

Deprecated: (Since version 3.10)Use imageGetIconName instead.

Gets the icon set and size being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypeIconSet (see imageGetStorageType).

getPixbuf

data ImageGetPixbufMethodInfo Source #

Instances

((~) * signature (m (Maybe Pixbuf)), MonadIO m, IsImage a) => MethodInfo * ImageGetPixbufMethodInfo a signature Source # 

imageGetPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (Maybe Pixbuf)

Returns: the displayed pixbuf, or Nothing if the image is empty

Gets the Pixbuf being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypePixbuf (see imageGetStorageType). The caller of this function does not own a reference to the returned pixbuf.

getPixelSize

imageGetPixelSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m Int32

Returns: the pixel size used for named icons.

Gets the pixel size used for named icons.

Since: 2.6

getStock

data ImageGetStockMethodInfo Source #

Instances

((~) * signature (m (Text, Int32)), MonadIO m, IsImage a) => MethodInfo * ImageGetStockMethodInfo a signature Source # 

imageGetStock Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m (Text, Int32) 

Deprecated: (Since version 3.10)Use imageGetIconName instead.

Gets the stock icon name and size being displayed by the Image. The storage type of the image must be ImageTypeEmpty or ImageTypeStock (see imageGetStorageType). The returned string is owned by the Image and should not be freed.

getStorageType

imageGetStorageType Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> m ImageType

Returns: image representation being used

Gets the type of representation being used by the Image to store image data. If the Image has no image data, the return value will be ImageTypeEmpty.

new

imageNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Image

Returns: a newly created Image widget.

Creates a new empty Image widget.

newFromAnimation

imageNewFromAnimation Source #

Arguments

:: (HasCallStack, MonadIO m, IsPixbufAnimation a) 
=> a

animation: an animation

-> m Image

Returns: a new Image widget

Creates a Image displaying the given animation. The Image does not assume a reference to the animation; you still need to unref it if you own references. Image will add its own reference rather than adopting yours.

Note that the animation frames are shown using a timeout with PRIORITY_DEFAULT. When using animations to indicate busyness, keep in mind that the animation will only be shown if the main loop is not busy with something that has a higher priority.

newFromFile

imageNewFromFile Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> [Char]

filename: a filename

-> m Image

Returns: a new Image

Creates a new Image displaying the file filename. If the file isn’t found or can’t be loaded, the resulting Image will display a “broken image” icon. This function never returns Nothing, it always returns a valid Image widget.

If the file contains an animation, the image will contain an animation.

If you need to detect failures to load the file, use pixbufNewFromFile to load the file yourself, then create the Image from the pixbuf. (Or for animations, use pixbufAnimationNewFromFile).

The storage type (imageGetStorageType) of the returned image is not defined, it will be whatever is appropriate for displaying the file.

newFromGicon

imageNewFromGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsIcon a) 
=> a

icon: an icon

-> Int32

size: a stock icon size (IconSize)

-> m Image

Returns: a new Image displaying the themed icon

Creates a Image displaying an icon from the current icon theme. If the icon name isn’t known, a “broken image” icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.

Since: 2.14

newFromIconName

imageNewFromIconName Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Text

iconName: an icon name or Nothing

-> Int32

size: a stock icon size (IconSize)

-> m Image

Returns: a new Image displaying the themed icon

Creates a Image displaying an icon from the current icon theme. If the icon name isn’t known, a “broken image” icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.

Since: 2.6

newFromIconSet

imageNewFromIconSet Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IconSet

iconSet: a IconSet

-> Int32

size: a stock icon size (IconSize)

-> m Image

Returns: a new Image

Deprecated: (Since version 3.10)Use imageNewFromIconName instead.

Creates a Image displaying an icon set. Sample stock sizes are GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR. Instead of using this function, usually it’s better to create a IconFactory, put your icon sets in the icon factory, add the icon factory to the list of default factories with iconFactoryAddDefault, and then use imageNewFromStock. This will allow themes to override the icon you ship with your application.

The Image does not assume a reference to the icon set; you still need to unref it if you own references. Image will add its own reference rather than adopting yours.

newFromPixbuf

imageNewFromPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsPixbuf a) 
=> Maybe a

pixbuf: a Pixbuf, or Nothing

-> m Image

Returns: a new Image

Creates a new Image displaying pixbuf. The Image does not assume a reference to the pixbuf; you still need to unref it if you own references. Image will add its own reference rather than adopting yours.

Note that this function just creates an Image from the pixbuf. The Image created will not react to state changes. Should you want that, you should use imageNewFromIconName.

newFromResource

imageNewFromResource Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

resourcePath: a resource path

-> m Image

Returns: a new Image

Creates a new Image displaying the resource file resourcePath. If the file isn’t found or can’t be loaded, the resulting Image will display a “broken image” icon. This function never returns Nothing, it always returns a valid Image widget.

If the file contains an animation, the image will contain an animation.

If you need to detect failures to load the file, use pixbufNewFromFile to load the file yourself, then create the Image from the pixbuf. (Or for animations, use pixbufAnimationNewFromFile).

The storage type (imageGetStorageType) of the returned image is not defined, it will be whatever is appropriate for displaying the file.

Since: 3.4

newFromStock

imageNewFromStock Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

stockId: a stock icon name

-> Int32

size: a stock icon size (IconSize)

-> m Image

Returns: a new Image displaying the stock icon

Deprecated: (Since version 3.10)Use imageNewFromIconName instead.

Creates a Image displaying a stock icon. Sample stock icon names are STOCK_OPEN, STOCK_QUIT. Sample stock sizes are GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock icon name isn’t known, the image will be empty. You can register your own stock icon names, see iconFactoryAddDefault and iconFactoryAdd.

newFromSurface

imageNewFromSurface Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Surface

surface: a Surface, or Nothing

-> m Image

Returns: a new Image

Creates a new Image displaying surface. The Image does not assume a reference to the surface; you still need to unref it if you own references. Image will add its own reference rather than adopting yours.

Since: 3.10

setFromAnimation

imageSetFromAnimation Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a, IsPixbufAnimation b) 
=> a

image: a Image

-> b

animation: the PixbufAnimation

-> m () 

Causes the Image to display the given animation (or display nothing, if you set the animation to Nothing).

setFromFile

data ImageSetFromFileMethodInfo Source #

Instances

((~) * signature (Maybe [Char] -> m ()), MonadIO m, IsImage a) => MethodInfo * ImageSetFromFileMethodInfo a signature Source # 

imageSetFromFile Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Maybe [Char]

filename: a filename or Nothing

-> m () 

See imageNewFromFile for details.

setFromGicon

data ImageSetFromGiconMethodInfo Source #

Instances

((~) * signature (b -> Int32 -> m ()), MonadIO m, IsImage a, IsIcon b) => MethodInfo * ImageSetFromGiconMethodInfo a signature Source # 

imageSetFromGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a, IsIcon b) 
=> a

image: a Image

-> b

icon: an icon

-> Int32

size: an icon size (IconSize)

-> m () 

See imageNewFromGicon for details.

Since: 2.14

setFromIconName

imageSetFromIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Maybe Text

iconName: an icon name or Nothing

-> Int32

size: an icon size (IconSize)

-> m () 

See imageNewFromIconName for details.

Since: 2.6

setFromIconSet

imageSetFromIconSet Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> IconSet

iconSet: a IconSet

-> Int32

size: a stock icon size (IconSize)

-> m () 

Deprecated: (Since version 3.10)Use imageSetFromIconName instead.

See imageNewFromIconSet for details.

setFromPixbuf

data ImageSetFromPixbufMethodInfo Source #

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, IsImage a, IsPixbuf b) => MethodInfo * ImageSetFromPixbufMethodInfo a signature Source # 

imageSetFromPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a, IsPixbuf b) 
=> a

image: a Image

-> Maybe b

pixbuf: a Pixbuf or Nothing

-> m () 

See imageNewFromPixbuf for details.

setFromResource

imageSetFromResource Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Maybe Text

resourcePath: a resource path or Nothing

-> m () 

See imageNewFromResource for details.

setFromStock

data ImageSetFromStockMethodInfo Source #

Instances

((~) * signature (Text -> Int32 -> m ()), MonadIO m, IsImage a) => MethodInfo * ImageSetFromStockMethodInfo a signature Source # 

imageSetFromStock Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Text

stockId: a stock icon name

-> Int32

size: a stock icon size (IconSize)

-> m () 

Deprecated: (Since version 3.10)Use imageSetFromIconName instead.

See imageNewFromStock for details.

setFromSurface

imageSetFromSurface Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Maybe Surface

surface: a cairo_surface_t or Nothing

-> m () 

See imageNewFromSurface for details.

Since: 3.10

setPixelSize

data ImageSetPixelSizeMethodInfo Source #

Instances

((~) * signature (Int32 -> m ()), MonadIO m, IsImage a) => MethodInfo * ImageSetPixelSizeMethodInfo a signature Source # 

imageSetPixelSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsImage a) 
=> a

image: a Image

-> Int32

pixelSize: the new pixel size

-> m () 

Sets the pixel size to use for named icons. If the pixel size is set to a value != -1, it is used instead of the icon size set by imageSetFromIconName.

Since: 2.6

Properties

file

data ImageFilePropertyInfo Source #

Instances

AttrInfo ImageFilePropertyInfo Source # 
type AttrOrigin ImageFilePropertyInfo Source # 
type AttrLabel ImageFilePropertyInfo Source # 
type AttrGetType ImageFilePropertyInfo Source # 
type AttrBaseTypeConstraint ImageFilePropertyInfo Source # 
type AttrSetTypeConstraint ImageFilePropertyInfo Source # 
type AttrAllowedOps ImageFilePropertyInfo Source # 

clearImageFile :: (MonadIO m, IsImage o) => o -> m () Source #

getImageFile :: (MonadIO m, IsImage o) => o -> m (Maybe Text) Source #

setImageFile :: (MonadIO m, IsImage o) => o -> Text -> m () Source #

gicon

data ImageGiconPropertyInfo Source #

Instances

AttrInfo ImageGiconPropertyInfo Source # 
type AttrOrigin ImageGiconPropertyInfo Source # 
type AttrLabel ImageGiconPropertyInfo Source # 
type AttrGetType ImageGiconPropertyInfo Source # 
type AttrBaseTypeConstraint ImageGiconPropertyInfo Source # 
type AttrSetTypeConstraint ImageGiconPropertyInfo Source # 
type AttrAllowedOps ImageGiconPropertyInfo Source # 

clearImageGicon :: (MonadIO m, IsImage o) => o -> m () Source #

setImageGicon :: (MonadIO m, IsImage o, IsIcon a) => o -> a -> m () Source #

iconName

data ImageIconNamePropertyInfo Source #

Instances

AttrInfo ImageIconNamePropertyInfo Source # 
type AttrOrigin ImageIconNamePropertyInfo Source # 
type AttrLabel ImageIconNamePropertyInfo Source # 
type AttrGetType ImageIconNamePropertyInfo Source # 
type AttrBaseTypeConstraint ImageIconNamePropertyInfo Source # 
type AttrSetTypeConstraint ImageIconNamePropertyInfo Source # 
type AttrAllowedOps ImageIconNamePropertyInfo Source # 

clearImageIconName :: (MonadIO m, IsImage o) => o -> m () Source #

setImageIconName :: (MonadIO m, IsImage o) => o -> Text -> m () Source #

iconSet

data ImageIconSetPropertyInfo Source #

Instances

AttrInfo ImageIconSetPropertyInfo Source # 
type AttrOrigin ImageIconSetPropertyInfo Source # 
type AttrLabel ImageIconSetPropertyInfo Source # 
type AttrGetType ImageIconSetPropertyInfo Source # 
type AttrBaseTypeConstraint ImageIconSetPropertyInfo Source # 
type AttrSetTypeConstraint ImageIconSetPropertyInfo Source # 
type AttrAllowedOps ImageIconSetPropertyInfo Source # 

clearImageIconSet :: (MonadIO m, IsImage o) => o -> m () Source #

setImageIconSet :: (MonadIO m, IsImage o) => o -> IconSet -> m () Source #

iconSize

data ImageIconSizePropertyInfo Source #

Instances

AttrInfo ImageIconSizePropertyInfo Source # 
type AttrOrigin ImageIconSizePropertyInfo Source # 
type AttrLabel ImageIconSizePropertyInfo Source # 
type AttrGetType ImageIconSizePropertyInfo Source # 
type AttrBaseTypeConstraint ImageIconSizePropertyInfo Source # 
type AttrSetTypeConstraint ImageIconSizePropertyInfo Source # 
type AttrAllowedOps ImageIconSizePropertyInfo Source # 

setImageIconSize :: (MonadIO m, IsImage o) => o -> Int32 -> m () Source #

pixbuf

data ImagePixbufPropertyInfo Source #

Instances

AttrInfo ImagePixbufPropertyInfo Source # 
type AttrOrigin ImagePixbufPropertyInfo Source # 
type AttrLabel ImagePixbufPropertyInfo Source # 
type AttrGetType ImagePixbufPropertyInfo Source # 
type AttrBaseTypeConstraint ImagePixbufPropertyInfo Source # 
type AttrSetTypeConstraint ImagePixbufPropertyInfo Source # 
type AttrAllowedOps ImagePixbufPropertyInfo Source # 

clearImagePixbuf :: (MonadIO m, IsImage o) => o -> m () Source #

setImagePixbuf :: (MonadIO m, IsImage o, IsPixbuf a) => o -> a -> m () Source #

pixbufAnimation

data ImagePixbufAnimationPropertyInfo Source #

Instances

AttrInfo ImagePixbufAnimationPropertyInfo Source # 
type AttrOrigin ImagePixbufAnimationPropertyInfo Source # 
type AttrLabel ImagePixbufAnimationPropertyInfo Source # 
type AttrGetType ImagePixbufAnimationPropertyInfo Source # 
type AttrBaseTypeConstraint ImagePixbufAnimationPropertyInfo Source # 
type AttrSetTypeConstraint ImagePixbufAnimationPropertyInfo Source # 
type AttrAllowedOps ImagePixbufAnimationPropertyInfo Source # 

pixelSize

data ImagePixelSizePropertyInfo Source #

Instances

AttrInfo ImagePixelSizePropertyInfo Source # 
type AttrOrigin ImagePixelSizePropertyInfo Source # 
type AttrLabel ImagePixelSizePropertyInfo Source # 
type AttrGetType ImagePixelSizePropertyInfo Source # 
type AttrBaseTypeConstraint ImagePixelSizePropertyInfo Source # 
type AttrSetTypeConstraint ImagePixelSizePropertyInfo Source # 
type AttrAllowedOps ImagePixelSizePropertyInfo Source # 

setImagePixelSize :: (MonadIO m, IsImage o) => o -> Int32 -> m () Source #

resource

data ImageResourcePropertyInfo Source #

Instances

AttrInfo ImageResourcePropertyInfo Source # 
type AttrOrigin ImageResourcePropertyInfo Source # 
type AttrLabel ImageResourcePropertyInfo Source # 
type AttrGetType ImageResourcePropertyInfo Source # 
type AttrBaseTypeConstraint ImageResourcePropertyInfo Source # 
type AttrSetTypeConstraint ImageResourcePropertyInfo Source # 
type AttrAllowedOps ImageResourcePropertyInfo Source # 

clearImageResource :: (MonadIO m, IsImage o) => o -> m () Source #

setImageResource :: (MonadIO m, IsImage o) => o -> Text -> m () Source #

stock

data ImageStockPropertyInfo Source #

Instances

AttrInfo ImageStockPropertyInfo Source # 
type AttrOrigin ImageStockPropertyInfo Source # 
type AttrLabel ImageStockPropertyInfo Source # 
type AttrGetType ImageStockPropertyInfo Source # 
type AttrBaseTypeConstraint ImageStockPropertyInfo Source # 
type AttrSetTypeConstraint ImageStockPropertyInfo Source # 
type AttrAllowedOps ImageStockPropertyInfo Source # 

clearImageStock :: (MonadIO m, IsImage o) => o -> m () Source #

setImageStock :: (MonadIO m, IsImage o) => o -> Text -> m () Source #

storageType

data ImageStorageTypePropertyInfo Source #

Instances

AttrInfo ImageStorageTypePropertyInfo Source # 
type AttrOrigin ImageStorageTypePropertyInfo Source # 
type AttrLabel ImageStorageTypePropertyInfo Source # 
type AttrGetType ImageStorageTypePropertyInfo Source # 
type AttrBaseTypeConstraint ImageStorageTypePropertyInfo Source # 
type AttrSetTypeConstraint ImageStorageTypePropertyInfo Source # 
type AttrAllowedOps ImageStorageTypePropertyInfo Source # 

surface

data ImageSurfacePropertyInfo Source #

Instances

AttrInfo ImageSurfacePropertyInfo Source # 
type AttrOrigin ImageSurfacePropertyInfo Source # 
type AttrLabel ImageSurfacePropertyInfo Source # 
type AttrGetType ImageSurfacePropertyInfo Source # 
type AttrBaseTypeConstraint ImageSurfacePropertyInfo Source # 
type AttrSetTypeConstraint ImageSurfacePropertyInfo Source # 
type AttrAllowedOps ImageSurfacePropertyInfo Source # 

clearImageSurface :: (MonadIO m, IsImage o) => o -> m () Source #

setImageSurface :: (MonadIO m, IsImage o) => o -> Surface -> m () Source #

useFallback

data ImageUseFallbackPropertyInfo Source #

Instances

AttrInfo ImageUseFallbackPropertyInfo Source # 
type AttrOrigin ImageUseFallbackPropertyInfo Source # 
type AttrLabel ImageUseFallbackPropertyInfo Source # 
type AttrGetType ImageUseFallbackPropertyInfo Source # 
type AttrBaseTypeConstraint ImageUseFallbackPropertyInfo Source # 
type AttrSetTypeConstraint ImageUseFallbackPropertyInfo Source # 
type AttrAllowedOps ImageUseFallbackPropertyInfo Source # 

setImageUseFallback :: (MonadIO m, IsImage o) => o -> Bool -> m () Source #