Retrieving the colormap of a GdkPixmap or GdkBitmap



Hi again,

I swear, the way this is going, it gives the FAQ maintainer an 
opportunity to collect my questions and include them into the 
GTK+ FAQ. :*)

My next problem deals with retrieving the colormap of a 
GdkPixmap or a GdkBitmap. I need to do this because I need to 
retrieve the GdkImage from one of these drawables and I need to 
retrieve the colormap along with the image. However, I have noticed 
that the gdk_window_get_colormap function does not work at all 
with pixmaps and bitmaps. Is there something else I should be 
doing?

Thanks,
--Arthur



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