Re: Backing store?



Havoc Pennington wrote:

Luke Scharf <luke vt edu> writes:
Can I use <gdkxx.h> to enable backing store for a drawingarea->window?
If so, how can I do it?

X doesn't have any backing store concept. What do you mean by backing
store? The only way to get this is to use a pixmap manually as in the
"scribble" example in the tutorial.

The origional code has something that looks like this:

   SetWindowAttributes attribs;
   Window wnd;
   attribs.backing_store = Always;
   wnd = XCreateWindow(display, DefaultRootWindow(display),
                0, 0, width, height, 0, 8, InputOutput, visual,
                CWBackingStore | CWBackPixel, &attribs);

Is there any way to cause this to happen in GTK/GDK?

Thanks again!
-Luke

-- 
Luke Scharf, Student Researcher & Sysadmin
Virginia Tech Configurable Computing
http://www.ccm.ece.vt.edu/people/lscharf
:wq




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