gtk-sharp 2.8.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. used to display an image. can be used as a container for a or a to get custom interfaces. cannot launch events, it is necessary to include it inside a for that purpose. Gtk.Misc Method System.Void Creates a displaying an . an object of type an object of type Creates a displaying an . Sample stock sizes are , . Instead of using this function, usually it is better to create a , put your in the , add the to the list of default factories with , and then use . This will allow themes to override the icon you ship with your application. Method System.Void Creates a widget displaying an image with a mask. an object of type an object of type Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Method System.Void Creates a displaying a stock icon. an object of type an object of type Creates a displaying a stock icon. Sample stock icon names are , . Sample stock sizes are , . If the stock icon name is not known, a "broken image" icon will be displayed instead. You can register your own stock icon names, see and . Method System.Void Creates a widget displaying an image with a mask. an object of type an object of type Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default parameterless constructor. Constructor This constructor is used to create an instance of containing the passed to it. to be displayed by the Image. Constructor This constructor is used to create an instance of containing the image stored in the filename whose path is given by the 'filename' parameter. representing the path to the image file. Constructor This constructor is used to create an instance of containing the and using the passed to it. to be displayed by the Image. to be used by the Image. Constructor This constructor is used to create an instance of containing the passed to it, masked by the given . to be displayed by the Image. mask to be used. Constructor This constructor is used to create an instance of containing the passed to it. to be displayed by the Image. Constructor This constructor is used to create an instance of containing the passed to it, masked by the given . displayed by the Image. mask used by the Image. Constructor This constructor is used to create an instance of containing the represented by the passed to it and with the size represented by the passed. identifier for the . used by the Image. Property Gdk.Pixbuf Creates a displaying . an object of type Creates a displaying . Property Gdk.PixbufAnimation Get the animation for this image. an object of type Property Gdk.PixbufAnimation Causes the Image object to display the given animation (or display nothing, if you set the animation to ). an object of type Property System.String

Creates a new displaying the file If the file isn't found or can't be loaded, the resulting Image will display a "broken image" icon. This function never returns , it always returns a valid Image widget. If the file contains an animation, the image will contain an animation.

If you need to detect failures to load the file, use to load the file yourself, then create the Image from the pixbuf. (Or for animations, use ).

The storage type () of the returned image is not defined, it will be whatever is appropriate for displaying the file.

an object of type
Property System.String A stock item name, if this is a stock image. an object of type GLib.Property(Name="stock") Property Gdk.Pixbuf Gets or sets the associated to the Image. that the Image contains. GLib.Property(Name="pixbuf") Property System.Int32 The size (dimension on a side) for a square icon. an object of type GLib.Property(Name="icon-size") Property System.String The file this image was loaded from. an object of type GLib.Property(Name="file") Property Gtk.ImageType The type of representation being used by the to store image data. If the Image has no image data, the return value will be . an object of type GLib.Property(Name="storage-type") Property Gtk.IconSet Gets or sets the associated to the Image. that the Image contains. GLib.Property(Name="icon-set") Property Gdk.PixbufAnimation Gets or sets the associated to the Image. that the Image contains. GLib.Property(Name="pixbuf-animation") Property Gdk.Pixmap Mask bitmap to use with or an object of type GLib.Property(Name="mask") Property Gdk.Pixmap Gets or sets the associated to the Image. that the Image contains. GLib.Property(Name="pixmap") Property Gdk.Image Gets or sets the associated with the Image. that the Image contains. GLib.Property(Name="image") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete(Message=null, IsError=False) Method System.Void Same functionality as . a a Method System.Void Gets the and mask being displayed by the . a a The storage type of the image must be . or . (see ). Method System.Void Get the stock item name and size, if this is a stock image the stock item name the stock item size, a If the is displaying a stock image, this method can be used to retrieve the stock item name and the size. Method System.Void Get the icon set and size, if this image is using an icon set the the icon size, a If the is displaying an image from an icon set, this method can be used to retrieve the icon set and the size. Method System.Void Get the pixmap and mask for an image the the mask Method System.Void Get the image data and mask for an image the image data the mask Method Gtk.Image Loads an image from a resource file. the name of the resource a This load an image from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Constructor Loads an image from a . a This is equivalent to calling or and then creating an from the resulting pixbuf. Constructor Loads an image embedded in an assembly The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly This is equivalent to calling or and then creating an from the resulting pixbuf. Property System.String To be added a To be added GLib.Property(Name="icon-name") Property System.Int32 To be added a To be added GLib.Property(Name="pixel-size") Method Gtk.Image To be added a a a To be added Method System.Void To be added a a To be added Method System.Void To be added. To be added. To be added. To be added. Method System.Void Resets the image to be empty.