Re: Backing store?
- From: Luke Scharf <luke vt edu>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Backing store?
- Date: Mon, 29 Jan 2001 00:07:37 -0500
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]