Re: How to call Xlib function inside gtk library?

hwang up elctech com writes: 
> 1. Does anyone have such experience with the xlib and gdk
> interaction?

Yes, it should work fine.

> 2. Does anyone know the reason why gdkrgb library function is slow?

It is converting the RGB data to the X visual, potentially dithering
to preserve image quality. Your Xlib program probably doesn't do that.

> 3. Does anyone have any code example of calling xlib from gdk?

Look around on - lots of code there.  Basically just
#include <gdk/gdkx.h> and use the functions and macros in there.


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