Re: GTK progress
Michel Van den Bergh <[email protected]>
| Newsgroups | gmane.comp.gnu.xboard.devel |
|---|---|
| Message-ID | <[email protected]> |
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.