[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk.Image

The Gtk_Image widget displays a graphical image. The image is typically created using Gdk.Image.Gdk_New.

The pixels in a Gtk_Image may be manipulated by the application after creation, as Gtk_Image store the pixel data on the client side. If you wish to store the pixel data on the server side (thus not allowing manipulation of the data after creation) you should use Gtk_Pixmap.

- Gtk.Image Widget Hierarchy
- Gtk.Image Subprograms

## Widget Hierarchy

    Gtk_Object                    (see section Package Gtk.Object)
       \___ Gtk_Widget            (see section Package Gtk.Widget)
          \___ Gtk_Misc           (see section Package Gtk.Misc)
             \___ Gtk_Image       (see section Package Gtk.Image)

## Subprograms

    procedure Gtk_New
      (Image              : out    Gtk_Image;
       Val                : in     Gdk.Image.Gdk_Image;
       Mask               : in     Gdk.Bitmap.Gdk_Bitmap);

    function Get_Type              return Gtk.Gtk_Type;

| Return the internal value associated with a Gtk_Image.

    procedure Get
      (Image              : access Gtk_Image_Record;
       Val                : out    Gdk.Image.Gdk_Image;
       Mask               : out    Gdk.Bitmap.Gdk_Bitmap);

| Get the values of a Gtk_Image. Mask indicates which parts of the image should be transparent.

    procedure Set
      (Image              : access Gtk_Image_Record;
       Val                : in     Gdk.Image.Gdk_Image;
       Mask               : in     Gdk.Bitmap.Gdk_Bitmap);

| Set the values of a Gtk_Image. Mask indicates which parts of the image should be transparent.

[Contents] [Back] [Prev] [Up] [Next] [Forward]