Re: avoid background painting GtkWindow

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

 



On 14 February 2011 10:49, Georg Mitterböck <mitterboeck@xxxxxxxxxxxx> wrote:
> But is it possible to do double-buffering without erasing the
> background?

No it's not. The back buffer needs to be initialised with something,
and it has to be the background colour of the widget. It can't do a
screengrab of that section of the window, performance would be
terrible, and in many cases the result would be incorrect.

One solution is to have a back buffer for the whole window, not just
the small expose event, and paint from that. The "scribble" example in
the tutorial does this, though I don't know if that would work for
you.

John
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux