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. For example, if the get_storage_type() returns Gtk::IMAGE_PIXBUF, then you can call get_pixbuf() but not get_stock. For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.
Value | Symbolic name | Description |
0 | Gtk::IMAGE_EMPTY | There is no image displayed by the widget. |
1 | Gtk::IMAGE_PIXMAP | The widget contains a GdkPixmap. |
2 | Gtk::IMAGE_IMAGE | The widget contains a GdkImage. |
3 | Gtk::IMAGE_PIXBUF | The widget contains a GdkPixbuf. |
4 | Gtk::IMAGE_STOCK | The widget contains a stock icon name |
5 | Gtk::IMAGE_ICON_SET | The widget contains a GtkIconSet. |
6 | Gtk::IMAGE_ANIMATION | The widget contains a GdkPixbufAnimation. |
7 | Gtk::IMAGE_ICON_NAME |