Value | Meaning |
---|---|
EMPTY0 | there is no image displayed by the widget |
PIXBUF1 | the widget contains a gdk.Pixbuf |
STOCK2 | the widget contains a [stock item name]gtkstock |
ICON_SET3 | the widget contains a gtk.IconSet |
ANIMATION4 | the widget contains a gdkpixbuf.PixbufAnimation |
ICON_NAME5 | 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 |
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 Image.getStorageType returns GTK_IMAGE_PIXBUF, then you can call Image.getPixbuf but not Image.getStock. For empty images, you can request any storage type (call any of the "get" functions), but they will all return NULL values.