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. 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

  0Gtk::IMAGE_EMPTY There is no image displayed by the widget.
  1Gtk::IMAGE_PIXMAP The widget contains a GdkPixmap.
  2Gtk::IMAGE_IMAGE The widget contains a GdkImage.
  3Gtk::IMAGE_PIXBUF The widget contains a GdkPixbuf.
  4Gtk::IMAGE_STOCK The widget contains a stock icon name
  5Gtk::IMAGE_ICON_SET The widget contains a GtkIconSet.
  6Gtk::IMAGE_ANIMATION The widget contains a GdkPixbufAnimation.
  7Gtk::IMAGE_ICON_NAME