ImageType

class ImageType

Describes the image data representation used by a Image.

If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the get_storage_type() returns PAINTABLE, then you can call get_paintable().

For empty images, you can request any storage type (call any of the “get” functions), but they will all return None values.

Fields

class ImageType
EMPTY

There is no image displayed by the widget

GICON

The widget contains a GIcon

ICON_NAME

The widget contains a named icon

PAINTABLE

The widget contains a GdkPaintable