how to load pixmap



i try to load a pixamp using below code
GdkPixmap *pixmap;
GdkBitmap **mask;
pixmap=gdk_pixmap_colormap_create_from_xpm_d(NULL,NULL,mask,transparent_color,sphere.xpm);
i got an error
file gdkpixmap.c: line 563 (gdk_pixmap_colormap_create_from_xpm): assertion
`drawable != NULL || colormap != NULL' failed

please help me.

-- 
View this message in context: http://www.nabble.com/how-to-load-pixmap-tf2025886.html#a5570889
Sent from the Gtk+ - General forum at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]