Here is some sample code using gdk_pixmap_colormap_create_from_xpm():
GdkPixmap *close = NULL;
GdkPixmap *open = NULL;
GdkBitmap *transparent;
/*-------------------------------------------------------------
-- Create Pixmap from a file.
---------------------------------------------------------------*/
close = gdk_pixmap_colormap_create_from_xpm(NULL,
gdk_colormap_get_system(),
&transparent, NULL, "../pixmaps/dir.xpm");
open = gdk_pixmap_colormap_create_from_xpm(NULL,
gdk_colormap_get_system(),
&transparent, NULL, "../pixmaps/info.xpm");
Hope that helps...
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list