Re: drawing in a for-loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Ian Strascina <istrasci@xxxxxxxxxxx>
- Subject: Re: drawing in a for-loop
- From: Richard Stellingwerff <remenic@xxxxxxxxx>
- Date: Thu, 24 Feb 2005 23:31:10 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=tE6qSHkZHxCdvLpExxDs+l9eiLj3oS+G1oBA0Dz+/zF8yhBHSaaS1H6o/wKwUcIYKl9oRKy/1EqU6e8VglEdEgzjoUGunOaJ7hfVg0Gp/NGyvI2Uro2sasbo0UMBE+moa32D7ucj6wG405d/+cnU4vOi88m7KF8VsXlVabK7Ouw=
- In-reply-to: <Pine.LNX.4.60.0502241506500.8654@zeroth>
- References: <Pine.LNX.4.60.0502241506500.8654@zeroth>
- User-agent: Mozilla Thunderbird 1.0 (X11/20050108)
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]