| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
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
 Texture 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
 textureNewFromFile, then create the Image with
 imageNewFromPaintable.
Sometimes an application will want to avoid depending on external data
 files, such as image files. See the documentation of Resource for details.
 In this case, the Image:resource, imageNewFromResource and
 imageSetFromResource should be used.
GtkImage displays its image as an icon, with a size that is determined
 by the application. See Picture if you want to show an image at is
 actual size.
CSS nodes
GtkImage has a single CSS node with the name image. The style classes
 .normal-icons or .large-icons may appear, depending on the Image:icon-size
 property.
Accessibility
GtkImage uses the GTK_ACCESSIBLE_ROLE_IMG role.
Synopsis
- newtype Image = Image (ManagedPtr Image)
- class (GObject o, IsDescendantOf Image o) => IsImage o
- toImage :: (MonadIO m, IsImage o) => o -> m Image
- imageClear :: (HasCallStack, MonadIO m, IsImage a) => a -> m ()
- imageGetGicon :: (HasCallStack, MonadIO m, IsImage a) => a -> m (Maybe Icon)
- imageGetIconName :: (HasCallStack, MonadIO m, IsImage a) => a -> m (Maybe Text)
- imageGetIconSize :: (HasCallStack, MonadIO m, IsImage a) => a -> m IconSize
- imageGetPaintable :: (HasCallStack, MonadIO m, IsImage a) => a -> m (Maybe Paintable)
- imageGetPixelSize :: (HasCallStack, MonadIO m, IsImage a) => a -> m Int32
- imageGetStorageType :: (HasCallStack, MonadIO m, IsImage a) => a -> m ImageType
- imageNew :: (HasCallStack, MonadIO m) => m Image
- imageNewFromFile :: (HasCallStack, MonadIO m) => [Char] -> m Image
- imageNewFromGicon :: (HasCallStack, MonadIO m, IsIcon a) => a -> m Image
- imageNewFromIconName :: (HasCallStack, MonadIO m) => Maybe Text -> m Image
- imageNewFromPaintable :: (HasCallStack, MonadIO m, IsPaintable a) => Maybe a -> m Image
- imageNewFromPixbuf :: (HasCallStack, MonadIO m, IsPixbuf a) => Maybe a -> m Image
- imageNewFromResource :: (HasCallStack, MonadIO m) => Text -> m Image
- imageSetFromFile :: (HasCallStack, MonadIO m, IsImage a) => a -> Maybe [Char] -> m ()
- imageSetFromGicon :: (HasCallStack, MonadIO m, IsImage a, IsIcon b) => a -> b -> m ()
- imageSetFromIconName :: (HasCallStack, MonadIO m, IsImage a) => a -> Maybe Text -> m ()
- imageSetFromPaintable :: (HasCallStack, MonadIO m, IsImage a, IsPaintable b) => a -> Maybe b -> m ()
- imageSetFromPixbuf :: (HasCallStack, MonadIO m, IsImage a, IsPixbuf b) => a -> Maybe b -> m ()
- imageSetFromResource :: (HasCallStack, MonadIO m, IsImage a) => a -> Maybe Text -> m ()
- imageSetIconSize :: (HasCallStack, MonadIO m, IsImage a) => a -> IconSize -> m ()
- imageSetPixelSize :: (HasCallStack, MonadIO m, IsImage a) => a -> Int32 -> m ()
- clearImageFile :: (MonadIO m, IsImage o) => o -> m ()
- constructImageFile :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o)
- getImageFile :: (MonadIO m, IsImage o) => o -> m (Maybe Text)
- setImageFile :: (MonadIO m, IsImage o) => o -> Text -> m ()
- clearImageGicon :: (MonadIO m, IsImage o) => o -> m ()
- constructImageGicon :: (IsImage o, MonadIO m, IsIcon a) => a -> m (GValueConstruct o)
- getImageGicon :: (MonadIO m, IsImage o) => o -> m (Maybe Icon)
- setImageGicon :: (MonadIO m, IsImage o, IsIcon a) => o -> a -> m ()
- clearImageIconName :: (MonadIO m, IsImage o) => o -> m ()
- constructImageIconName :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o)
- getImageIconName :: (MonadIO m, IsImage o) => o -> m (Maybe Text)
- setImageIconName :: (MonadIO m, IsImage o) => o -> Text -> m ()
- constructImageIconSize :: (IsImage o, MonadIO m) => IconSize -> m (GValueConstruct o)
- getImageIconSize :: (MonadIO m, IsImage o) => o -> m IconSize
- setImageIconSize :: (MonadIO m, IsImage o) => o -> IconSize -> m ()
- clearImagePaintable :: (MonadIO m, IsImage o) => o -> m ()
- constructImagePaintable :: (IsImage o, MonadIO m, IsPaintable a) => a -> m (GValueConstruct o)
- getImagePaintable :: (MonadIO m, IsImage o) => o -> m (Maybe Paintable)
- setImagePaintable :: (MonadIO m, IsImage o, IsPaintable a) => o -> a -> m ()
- constructImagePixelSize :: (IsImage o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getImagePixelSize :: (MonadIO m, IsImage o) => o -> m Int32
- setImagePixelSize :: (MonadIO m, IsImage o) => o -> Int32 -> m ()
- clearImageResource :: (MonadIO m, IsImage o) => o -> m ()
- constructImageResource :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o)
- getImageResource :: (MonadIO m, IsImage o) => o -> m (Maybe Text)
- setImageResource :: (MonadIO m, IsImage o) => o -> Text -> m ()
- getImageStorageType :: (MonadIO m, IsImage o) => o -> m ImageType
- constructImageUseFallback :: (IsImage o, MonadIO m) => Bool -> m (GValueConstruct o)
- getImageUseFallback :: (MonadIO m, IsImage o) => o -> m Bool
- setImageUseFallback :: (MonadIO m, IsImage o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
| Eq Image Source # | |
| GObject Image Source # | |
| Defined in GI.Gtk.Objects.Image | |
| ManagedPtrNewtype Image Source # | |
| Defined in GI.Gtk.Objects.Image Methods toManagedPtr :: Image -> ManagedPtr Image | |
| TypedObject Image Source # | |
| Defined in GI.Gtk.Objects.Image | |
| HasParentTypes Image Source # | |
| Defined in GI.Gtk.Objects.Image | |
| IsGValue (Maybe Image) Source # | Convert  | 
| Defined in GI.Gtk.Objects.Image Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Image -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Image) | |
| type ParentTypes Image Source # | |
| Defined in GI.Gtk.Objects.Image | |
class (GObject o, IsDescendantOf Image o) => IsImage o Source #
Instances
| (GObject o, IsDescendantOf Image o) => IsImage o Source # | |
| Defined in GI.Gtk.Objects.Image | |
Methods
Click to display all available methods, including inherited ones
Methods
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, childFocus, clear, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getGicon, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getIconName, getIconSize, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOverflow, getPaintable, getPangoContext, getParent, getPixelSize, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStorageType, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.
Setters
setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setFromFile, setFromGicon, setFromIconName, setFromPaintable, setFromPixbuf, setFromResource, setHalign, setHasTooltip, setHexpand, setHexpandSet, setIconSize, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setParent, setPixelSize, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.
clear
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m () | 
Resets the image to be empty.
getGicon
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m (Maybe Icon) | 
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.
Note: This function was changed in 3.94 not to use out parameters
 anymore, but return the GIcon directly. See imageGetIconSize
 for a way to get the icon size.
getIconName
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m (Maybe Text) | Returns: the icon name, or  | 
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.
Note: This function was changed in 3.94 not to use out parameters
 anymore, but return the icon name directly. See imageGetIconSize
 for a way to get the icon size.
getIconSize
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m IconSize | Returns: the image size used by icons | 
Gets the icon size used by the image when rendering icons.
getPaintable
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m (Maybe Paintable) | Returns: the displayed paintable, or  | 
Gets the image Paintable being displayed by the Image.
 The storage type of the image must be ImageTypeEmpty or
 ImageTypePaintable (see imageGetStorageType).
 The caller of this function does not own a reference to the
 returned paintable.
getPixelSize
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> m Int32 | Returns: the pixel size used for named icons. | 
Gets the pixel size used for named icons.
getStorageType
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> 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
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m Image | Returns: a newly created  | 
Creates a new empty Image widget.
newFromFile
Arguments
| :: (HasCallStack, MonadIO m) | |
| => [Char] | 
 | 
| -> m Image | Returns: a new  | 
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 you need to detect failures to load the file, use
 textureNewFromFile to load the file yourself, then create
 the Image from the texture.
The storage type (imageGetStorageType) of the returned
 image is not defined, it will be whatever is appropriate for
 displaying the file.
newFromGicon
Arguments
| :: (HasCallStack, MonadIO m, IsIcon a) | |
| => a | 
 | 
| -> m Image | Returns: a new  | 
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.
Note: Before 3.94, this function was taking an extra icon size
 argument. See imageSetIconSize for another way to set
 the icon size.
newFromIconName
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Maybe Text | 
 | 
| -> m Image | Returns: a new  | 
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.
Note: Before 3.94, this function was taking an extra icon size
 argument. See imageSetIconSize for another way to set
 the icon size.
newFromPaintable
imageNewFromPaintable Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPaintable a) | |
| => Maybe a | |
| -> m Image | Returns: a new  | 
Creates a new Image displaying paintable.
 The Image does not assume a reference to the
 paintable; you still need to unref it if you own references.
 Image will add its own reference rather than adopting yours.
The Image will track changes to the paintable and update
 its size and contents in response to it.
newFromPixbuf
Arguments
| :: (HasCallStack, MonadIO m, IsPixbuf a) | |
| => Maybe a | |
| -> m Image | Returns: a new  | 
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.
This is a helper for imageNewFromPaintable, and you can't
 get back the exact pixbuf once this is called, only a texture.
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
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Text | 
 | 
| -> m Image | Returns: a new  | 
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 you need to detect failures to load the file, use
 pixbufNewFromFile to load the file yourself, then create
 the Image from the pixbuf.
The storage type (imageGetStorageType) of the returned
 image is not defined, it will be whatever is appropriate for
 displaying the file.
setFromFile
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> Maybe [Char] | 
 | 
| -> m () | 
See imageNewFromFile for details.
setFromGicon
Arguments
| :: (HasCallStack, MonadIO m, IsImage a, IsIcon b) | |
| => a | 
 | 
| -> b | 
 | 
| -> m () | 
See imageNewFromGicon for details.
Note: Before 3.94, this function was taking an extra icon size
 argument. See imageSetIconSize for another way to set
 the icon size.
setFromIconName
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> Maybe Text | 
 | 
| -> m () | 
See imageNewFromIconName for details.
Note: Before 3.94, this function was taking an extra icon size
 argument. See imageSetIconSize for another way to set
 the icon size.
setFromPaintable
imageSetFromPaintable Source #
Arguments
| :: (HasCallStack, MonadIO m, IsImage a, IsPaintable b) | |
| => a | 
 | 
| -> Maybe b | |
| -> m () | 
See imageNewFromPaintable for details.
setFromPixbuf
Arguments
| :: (HasCallStack, MonadIO m, IsImage a, IsPixbuf b) | |
| => a | 
 | 
| -> Maybe b | |
| -> m () | 
See imageNewFromPixbuf for details.
Note: This is a helper for imageSetFromPaintable, and you can't
 get back the exact pixbuf once this is called, only a paintable.
setFromResource
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> Maybe Text | 
 | 
| -> m () | 
See imageNewFromResource for details.
setIconSize
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> IconSize | 
 | 
| -> m () | 
Suggests an icon size to the theme for named icons.
setPixelSize
Arguments
| :: (HasCallStack, MonadIO m, IsImage a) | |
| => a | 
 | 
| -> Int32 | 
 | 
| -> 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.
Properties
file
No description available in the introspection data.
clearImageFile :: (MonadIO m, IsImage o) => o -> m () Source #
Set the value of the “file” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #file
constructImageFile :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “file” property. This is rarely needed directly, but it is used by new.
getImageFile :: (MonadIO m, IsImage o) => o -> m (Maybe Text) Source #
Get the value of the “file” property.
 When overloading is enabled, this is equivalent to
get image #file
setImageFile :: (MonadIO m, IsImage o) => o -> Text -> m () Source #
Set the value of the “file” property.
 When overloading is enabled, this is equivalent to
setimage [ #file:=value ]
gicon
The GIcon displayed in the GtkImage. For themed icons, If the icon theme is changed, the image will be updated automatically.
clearImageGicon :: (MonadIO m, IsImage o) => o -> m () Source #
Set the value of the “gicon” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #gicon
constructImageGicon :: (IsImage o, MonadIO m, IsIcon a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gicon” property. This is rarely needed directly, but it is used by new.
getImageGicon :: (MonadIO m, IsImage o) => o -> m (Maybe Icon) Source #
Get the value of the “gicon” property.
 When overloading is enabled, this is equivalent to
get image #gicon
setImageGicon :: (MonadIO m, IsImage o, IsIcon a) => o -> a -> m () Source #
Set the value of the “gicon” property.
 When overloading is enabled, this is equivalent to
setimage [ #gicon:=value ]
iconName
The name of the icon in the icon theme. If the icon theme is changed, the image will be updated automatically.
clearImageIconName :: (MonadIO m, IsImage o) => o -> m () Source #
Set the value of the “icon-name” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #iconName
constructImageIconName :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “icon-name” property. This is rarely needed directly, but it is used by new.
getImageIconName :: (MonadIO m, IsImage o) => o -> m (Maybe Text) Source #
Get the value of the “icon-name” property.
 When overloading is enabled, this is equivalent to
get image #iconName
setImageIconName :: (MonadIO m, IsImage o) => o -> Text -> m () Source #
Set the value of the “icon-name” property.
 When overloading is enabled, this is equivalent to
setimage [ #iconName:=value ]
iconSize
No description available in the introspection data.
constructImageIconSize :: (IsImage o, MonadIO m) => IconSize -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “icon-size” property. This is rarely needed directly, but it is used by new.
getImageIconSize :: (MonadIO m, IsImage o) => o -> m IconSize Source #
Get the value of the “icon-size” property.
 When overloading is enabled, this is equivalent to
get image #iconSize
setImageIconSize :: (MonadIO m, IsImage o) => o -> IconSize -> m () Source #
Set the value of the “icon-size” property.
 When overloading is enabled, this is equivalent to
setimage [ #iconSize:=value ]
paintable
No description available in the introspection data.
clearImagePaintable :: (MonadIO m, IsImage o) => o -> m () Source #
Set the value of the “paintable” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #paintable
constructImagePaintable :: (IsImage o, MonadIO m, IsPaintable a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “paintable” property. This is rarely needed directly, but it is used by new.
getImagePaintable :: (MonadIO m, IsImage o) => o -> m (Maybe Paintable) Source #
Get the value of the “paintable” property.
 When overloading is enabled, this is equivalent to
get image #paintable
setImagePaintable :: (MonadIO m, IsImage o, IsPaintable a) => o -> a -> m () Source #
Set the value of the “paintable” property.
 When overloading is enabled, this is equivalent to
setimage [ #paintable:=value ]
pixelSize
The "pixel-size" property can be used to specify a fixed size
 overriding the Image:icon-size property for images of type
 ImageTypeIconName.
constructImagePixelSize :: (IsImage o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “pixel-size” property. This is rarely needed directly, but it is used by new.
getImagePixelSize :: (MonadIO m, IsImage o) => o -> m Int32 Source #
Get the value of the “pixel-size” property.
 When overloading is enabled, this is equivalent to
get image #pixelSize
setImagePixelSize :: (MonadIO m, IsImage o) => o -> Int32 -> m () Source #
Set the value of the “pixel-size” property.
 When overloading is enabled, this is equivalent to
setimage [ #pixelSize:=value ]
resource
A path to a resource file to display.
clearImageResource :: (MonadIO m, IsImage o) => o -> m () Source #
Set the value of the “resource” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #resource
constructImageResource :: (IsImage o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “resource” property. This is rarely needed directly, but it is used by new.
getImageResource :: (MonadIO m, IsImage o) => o -> m (Maybe Text) Source #
Get the value of the “resource” property.
 When overloading is enabled, this is equivalent to
get image #resource
setImageResource :: (MonadIO m, IsImage o) => o -> Text -> m () Source #
Set the value of the “resource” property.
 When overloading is enabled, this is equivalent to
setimage [ #resource:=value ]
storageType
No description available in the introspection data.
getImageStorageType :: (MonadIO m, IsImage o) => o -> m ImageType Source #
Get the value of the “storage-type” property.
 When overloading is enabled, this is equivalent to
get image #storageType
useFallback
Whether the icon displayed in the GtkImage will use
 standard icon names fallback. The value of this property
 is only relevant for images of type ImageTypeIconName
 and ImageTypeGicon.
constructImageUseFallback :: (IsImage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “use-fallback” property. This is rarely needed directly, but it is used by new.
getImageUseFallback :: (MonadIO m, IsImage o) => o -> m Bool Source #
Get the value of the “use-fallback” property.
 When overloading is enabled, this is equivalent to
get image #useFallback
setImageUseFallback :: (MonadIO m, IsImage o) => o -> Bool -> m () Source #
Set the value of the “use-fallback” property.
 When overloading is enabled, this is equivalent to
setimage [ #useFallback:=value ]