Re: gdk's buffer



malo p wrote:
> I'd like to access the gdk'buffer to modify it and save it then. Is it 
> possible? and can you tell me how ? please. I speak of the display 
> buffer of gdk of course.

Hi, you can get a GdkImage for a window with gdk_image_get(), and send it
back to the server with gdk_draw_image(). If you get an image for the root
window, you'll get the whole screen. 

John



========================================================== 

Madame de Pompadour 
Images of a Mistress 

16 October 2002 - 12 January 2003 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/pompadour/default.htm



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