GtkImageType

Describes the image data representation used by a #GtkImage. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the gtk.image.Image.getStorageType returns #GTK_IMAGE_PIXBUF, then you can call gtk.image.Image.getPixbuf but not gtk.image.Image.getStock. For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Values

ValueMeaning
Empty0

there is no image displayed by the widget

Pixbuf1

the widget contains a #GdkPixbuf

Stock2

the widget contains a [stock item name]gtkstock

IconSet3

the widget contains a #GtkIconSet

Animation4

the widget contains a #GdkPixbufAnimation

IconName5

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

Gicon6

the widget contains a #GIcon. This image type was added in GTK+ 2.14

Surface7

the widget contains a #cairo_surface_t. This image type was added in GTK+ 3.10