How to Load XPM file to the memory? not to the GdkPixmap



I try to load a XPM file to the memory, but not to the GdkPixmap.  So that
next time, different process can share that pixmap memory and load it to the
local GdkPixmap from memory.
I wonder whether there is some easy way to load the XPM file very quickly.

1.    Suppose I have a global point char *shared_pixmap
2.    there are different XPM file name "....xpm" which can be loaded.
question:
How to do this quickly and easily-loading a XPM file to the memory and let
'shared_pixmap' point to that memory.

some GDK functions can do that?

Thanks



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