Re: Muffling widget repaints

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

 



>I have a container which periodically loses some of its widgets and gains
>others, sometimes on the order of hundreds.  The changeover happens all at
>once (i.e. there's a big loop which does all the adding and destroying), but
>it's still pretty ugly and slow because sometimes many repaints are done.  I
>only care about the final repaint.

by "repaint" do you mean an "expose" signal? you should only be
drawing within an expose handler (there is one exception: drawing into
an off-screen drawable, typically a pixmap). drawing at any other time
is just not the correct model.

--p

_______________________________________________

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