Gnome::Gtk4::T-image
Enumerations
GtkImageType
Describes the image data representation used by a Gnome::Gtk4::Image.
If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the .get-storage-type()
returns GTK_IMAGE_PAINTABLE
, then you can call .get-paintable()
.
For empty images, you can request any storage type (call any of the "get" functions), but they will all return undefined values.
GTK_IMAGE_EMPTY
; there is no image displayed by the widgetGTK_IMAGE_ICON_NAME
; the widget contains a named iconGTK_IMAGE_GICON
; the widget contains a Gnome::Gio::R-IconGTK_IMAGE_PAINTABLE
; the widget contains a Gnome::Gdk4::R-Paintable