A GdkDrawable, used to determine default values for the new pixmap. Can be NULL if depth is specified,
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. If -1, and drawable is not NULL, the depth of the new pixmap will be equal to that of drawable.
ConstructionException GTK+ fails to create the object.
Create a new pixmap with a given size and depth. Please use gdk_window_create_similar_surface() instead of this function if you're not forced to use a GdkPixmap. It is intended as the replacement function for this function in GTK 3.