Package: gtk

GEnum gtk:image-type

Declaration

(gobject:define-genum "GtkImageType" image-type
  (:export t
   :type-initializer "gtk_image_type_get_type")
  (:empty 0)
  (:icon-name 1)
  (:gicon 2)
  (:paintable 3))  

Values

:empty
There is no image displayed by the widget.
:icon-name
The widget contains a named icon.
:gicon
The widget contains a g:icon object.
:paintable
The widget contains a gdk:paintable object.

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. For example, if the gtk:image-storage-type function returns the :paintable value, then you can call the gtk:image-paintable function. For empty images, you can request any storage type, but they will all return nil values.
 

See also

2024-4-25