a GdkDrawable, used to determine default values for the new pixmap. Can be NULL if colormap is given.
the GdkColormap that the new pixmap will be use. If omitted, the colormap for window will be used.
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.
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.
the filename of a file containing XPM data.
the GdkPixmap. [transfer none]
Warning gdk_pixmap_colormap_create_from_xpm has been deprecated since version 2.22 and should not be used in newly-written code. Use a GdkPixbuf instead. You can use gdk_pixbuf_new_from_file() to create it. If you must use a pixmap, use gdk_pixmap_new() to create it and Cairo to draw the pixbuf onto it. Create a pixmap from a XPM file using a particular colormap.