Enumeration (GI Enum)

Gtk-3.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. e.g. if the gtk_image_get_storage_type() returns #GTK_IMAGE_PIXBUF, then you can call gtk_image_get_pixbuf() but not gtk_image_get_stock(). For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Index
ANIMATION: 4

the widget contains a GdkPixbuf.PixbufAnimation

EMPTY: 0

there is no image displayed by the widget

GICON: 6

the widget contains a Gio.Icon. This image type was added in GTK+ 2.14

ICON_NAME: 5

the widget contains a named icon. This image type was added in GTK+ 2.6

ICON_SET: 3

the widget contains a Gtk.IconSet

PIXBUF: 1

the widget contains a GdkPixbuf.Pixbuf

STOCK: 2

the widget contains a [stock item name][gtkstock]

SURFACE: 7

the widget contains a cairo.Surface. This image type was added in GTK+ 3.10

Variables

$gtype