#include <gtk/gtk.h> struct GtkImage; GtkWidget* gtk_image_new (GdkImage *val, GdkBitmap *mask); void gtk_image_set (GtkImage *image, GdkImage *val, GdkBitmap *mask); void gtk_image_get (GtkImage *image, GdkImage **val, GdkBitmap **mask);
The GtkImage widget displays a graphical image. The image is typically created using gdk_image_new.
The pixels in a GtkImage may be manipulated by the application after creation, as GtkImage 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 GtkPixmap.
This struct contain private data only and should be accessed by the functions below.
Creates the new GtkImage using the value and the mask.
Sets the GtkImage
|image :||a GdkPixmap|
|mask :||a GDKBitmap that indicates which parts of the image should be transparent.|