Re: drawing in a for-loop
- From: Richard Stellingwerff <remenic gmail com>
- To: Ian Strascina <istrasci cs nmsu edu>
- Cc: gtk-list gnome org
- Subject: Re: drawing in a for-loop
- Date: Thu, 24 Feb 2005 23:31:10 +0100
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]