Enumeration
GtkImageType
Description [src]
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_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.
Members
-
GTK_IMAGE_EMPTY -
There is no image displayed by the widget.
- Value:
0 - Available since: 3.0
- Value:
-
GTK_IMAGE_PIXBUF -
The widget contains a
GdkPixbuf.- Value:
1 - Available since: 3.0
- Value:
-
GTK_IMAGE_STOCK -
The widget contains a [stock item name][gtkstock].
- Value:
2 - Available since: 3.0
- Value:
-
GTK_IMAGE_ICON_SET -
The widget contains a
GtkIconSet.- Value:
3 - Available since: 3.0
- Value:
-
GTK_IMAGE_ANIMATION -
The widget contains a
GdkPixbufAnimation.- Value:
4 - Available since: 3.0
- Value:
-
GTK_IMAGE_ICON_NAME -
The widget contains a named icon. This image type was added in GTK+ 2.6.
- Value:
5 - Available since: 3.0
- Value:
-
GTK_IMAGE_GICON -
The widget contains a
GIcon. This image type was added in GTK+ 2.14.- Value:
6 - Available since: 3.0
- Value:
-
GTK_IMAGE_SURFACE -
The widget contains a #cairo_surface_t. This image type was added in GTK+ 3.10.
- Value:
7 - Available since: 3.0
- Value: