Package: gtk

GEnum gtk-image-type

Details

Describes the image data representation used by a gtk-image widget. If you want to get the image from the widget, you can only get the currently stored representation. e.g. if the gtk-image-storage-type slot access function returns the :pixbuf value, then you can call the gtk-image-pixbuf function but not the gtk-image-stock function. For empty images, you can request any storage type, but they will all return nil values.
(define-g-enum "GtkImageType" gtk-image-type
  (:export t
   :type-initializer "gtk_image_type_get_type")
  (:empty 0)
  (:pixbuf 1)
  (:stock 2)
  (:icon-set 3)
  (:animation 4)
  (:icon-name 5)
  (:gicon 6)
  (:surface 7))  
:empty
There is no image displayed by the widget.
:pixbuf
The widget contains a gdk-pixbuf object.
:stock
The widget contains a stock icon name.
:icon-set
The widget contains a gtk-icon-set structure.
:animation
The widget contains a gdk-pixbuf-animation object.
:icon-name
The widget contains a named icon.
:gicon
The widget contains a g-icon object.
:surface
The widget contains a cairo-surface-t instance.
 

See also

2021-12-17