:right-sidebar: True ImageType =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: ImageType :no-contents-entry: Describes the image data representation used by a :obj:`~gi.repository.Gtk.Image`. If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the :func:`~gi.repository.Gtk.Image.get_storage_type` returns :const:`~gi.repository.Gtk.ImageType.PAINTABLE`, then you can call :func:`~gi.repository.Gtk.Image.get_paintable`. For empty images, you can request any storage type (call any of the "get" functions), but they will all return :const:`None` values. Fields ------ .. rst-class:: interim-class .. class:: ImageType :no-index: .. attribute:: EMPTY There is no image displayed by the widget .. attribute:: GICON The widget contains a ``GIcon`` .. attribute:: ICON_NAME The widget contains a named icon .. attribute:: PAINTABLE The widget contains a ``GdkPaintable``