[Top][All Lists]

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

Re: [XBoard-devel] GTK progress

From: Michel Van den Bergh
Subject: Re: [XBoard-devel] GTK progress
Date: Tue, 23 Oct 2012 19:54:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

On 23/10/12 19:43, h.g. muller wrote:
Animation seems to be very tricky in GTK.
I think the correct way is to schedule a redraw with g_timeout_add. That way the redraw get scheduled in the main even loop (without blocking it). The call back to g_timeout_add can schedule a new redraw etc...
until the animation is complete. Of course this should be abstracted first.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]