Gtk.ImageType Enumeration
Describes the image data representation used by a Gtk.Image.

Syntax

[GLib.GType(typeof(Gtk.ImageTypeGType))]
public enum ImageType

Remarks

Describes the image data representation used by a Gtk.Image. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the Image.StorageType returns ImageType.Pixbuf, then you can get Image.Pixbuf but not Image.Stock. For empty images, you can request any storage type (from any of the "get" properties), but they will all return null values.

Members

Member NameDescription
EmptyThere is no image displayed by the Gtk.Widget.
PixmapThe Gtk.Widget contains a Gdk.Pixmap.
ImageThe Gtk.Widget contains a Gdk.Image.
PixbufThe Gtk.Widget contains a Gdk.Pixbuf.
StockThe Gtk.Widget contains a stock icon name.
IconSetThe Gtk.Widget contains a Gtk.IconSet.
AnimationThe Gtk.Widget contains a Gdk.PixbufAnimation.
IconNameDocumentation for this section has not yet been entered.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0