[solved] Re: 'synchronous redraw' with a DrawingArea

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

 



Tom Liu wrote:

Maybe you can turn off the doublebuffer, there is a function to do this:
void        gtk_widget_set_double_buffered  (GtkWidget *widget,
                                            gboolean double_buffered);



Thank's all for your help. Soeren's suggestion with

gtk_widget_queue_draw() did the trick, I don't have these
redraw problems anymore. BTW I was using
gtk_widget_queue_draw_area <cid:part1.02030808.01010505@xxxxxxxxxxxxxx> before and this looks to be the root
cause of the problem. It does not behave the same than gtk_widget_queue_draw() for some reason.
Removing the double buffering could be done later, but for now
gtk does it for me and I'm not sure that I'll will do it better ;-)



Pascal _______________________________________________ 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