Pike v8.0 release 1738

Class GTK1.Image

Inheritance graph
Description

An image is a image object stored in client, not X server, memory. A pixmap, on the other hand, is a image object stored in the X-server. See GDK1.Image and GDK1.Pixmap.

 GTK1.Image( GDK1.Image(0)->set(Image.Image(200,200)->test() ) );


Inherit Misc

inherit GTK1.Misc : Misc


Method create

GTK1.Image GTK1.Image(GDK1.Image image, GDK1.Bitmap mask)

Description

You can skip the mask. The mask is used to mask the drawing of the image on it's background. It will not make the container transparent, though. Use shape_combine_mask on the container with the mask for that.