Enumeration (GI Enum)

Gtk-4.0GtkImageType

Describes the image data representation used by a Gtk.Image.

If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the gtk_image_get_storage_type() returns Gtk.ImageType.PAINTABLE, then you can call gtk_image_get_paintable().

For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Index
EMPTY: 0

there is no image displayed by the widget

GICON: 2

the widget contains a Gio.Icon

ICON_NAME: 1

the widget contains a named icon

PAINTABLE: 3

the widget contains a Gdk.Paintable

Variables

$gtype