Re: gtk_drawing_area repaint
- From: Michael Torrie <torriem chem byu edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_drawing_area repaint
- Date: Sun, 03 Oct 2004 10:20:42 -0600
Maximo Pech wrote:
Yes.
Most people use a gdk_pixbuf as a backing store. Draw to that, then
draw that to the gtk_drawing_area on expose. This is known as
double-buffering. If you don't double-buffer, then yes you will have to
redraw everything every time the window is exposed.
and can i do double-buffering with a gtk_layout too?
I imagine that you could buffer gtk_drawing_area widgets within the
gtk_layout. I've never used the gtk_layout before, so I don't konw
exactly how this widget works.
Michael
--
Michael Torrie <torriem chem byu edu>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]