Class GTK1.Pixmap
- Description
Pixmaps are data structures that contain pictures. These pictures can be used in various places, but most visibly as icons on the X-Windows desktop, or as cursors. A bitmap is a 2-color pixmap.
To use pixmaps in GTK, you must first build a GDK1.Pixmap object using GDK1.Pixmap.
The pixels in a GTK1.Pixmap cannot be manipulated by the application after creation, since under the X Window system the pixel data is stored on the X server and so is not available to the client application. If you want to create graphical images which can be manipulated by the application, look at W(Image).
GTK1.Pixmap( GDK1.Pixmap( Image.Image(100,100)->test()) )
GTK1.Pixmap( GDK1.Pixmap( Image.Image(100,100)->test()), GDK1.Bitmap(Image.Image(100,100,255,255,255)->box(10,10,80,80, 0,0,0) ))
- Inherit Misc
inherit GTK1.Misc : Misc
- Method create
GTK1.Pixmap GTK1.Pixmap(
GDK1.Pixmap
pixmap
,GDK1.Bitmap
mask
)- Description
Create a new pixmap object, and sets the image and the mask.