Re: drawing in a for-loop

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

 



Ian Strascina wrote:
Don't worry, everything is defined, signals connected to the callbacks, etc... I just want to know why this logic doesn't refresh the display after each iteration... Please help... Thanks...

This is my take...

gtk_widget_queue_draw_area() queues a redraw, which will then be performed when the main loop is idle. Since the for loop keeps the main loop busy, the redraw event is not processed until that loop finishes.

I suppose you could try a g_timeout_add() instead, if it's really that important?
_______________________________________________

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