a GdkDrawable, used to determine default values for the new pixmap. Can be NULL, if the depth is given.
a pointer to the data.
the width of the new pixmap in pixels.
the height of the new pixmap in pixels.
the depth (number of bits per pixel) of the new pixmap.
the foreground color.
the background color.
the GdkPixmap
Warning gdk_pixmap_create_from_data has been deprecated since version 2.22 and should not be used in newly-written code. If you must replicate the functionality of this function, create a pixmap using gdk_pixmap_new(), cairo_paint() it with the background color and then create a Cairo image surface as pointed out in the docs to gdk_bitmap_create_from_data() and use this surface with cairo_mask_surface() to paint the foreground color. Create a two-color pixmap from data in XBM data.