gdkPixmapColormapCreateFromXpm {RGtk2} | R Documentation |
Create a pixmap from a XPM file using a particular colormap.
gdkPixmapColormapCreateFromXpm(drawable, colormap, transparent.color, filename)
|
[GdkDrawable ] a GdkDrawable , used to determine default values
for the new pixmap. Can be NULL if colormap is given. |
|
[GdkColormap ] the GdkColormap that the new pixmap will be use.
If omitted, the colormap for window will be used. |
|
[GdkColor ] the color to be used for the pixels
that are transparent in the input file. Can be NULL ,
in which case a default color will be used. |
|
[character] the filename of a file containing XPM data. |
A list containing the following elements:
retval |
[GdkPixmap ] the GdkPixmap . |
|
[GdkBitmap ] a pointer to a place to store a bitmap representing
the transparency mask of the XPM file. Can be NULL ,
in which case transparency will be ignored. |
Derived by RGtkGen from GTK+ documentation