Re: Wait cursor animation does not work properly
- Date: Mon, 4 Sep 2017 08:52:17 -0400
- From: Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Wait cursor animation does not work properly
On Mon, Sep 4, 2017 at 3:17 AM, Stefan Salewski <mail@xxxxxxxxxxxx> wrote:
My chess engine takes only a few seconds to calculatethe next move, so creating an own thread is some overkill.
What I need:
User has done his move, so update display, indicate that computer is
"thinking" for a few seconds, and then update display again. I think
that should be possible with g_idle_add(). Instead of the busy pointer
I may set a message to the window title.
Later I may consider indeed using a separate thread
Do it now.
Chris explained the rest.
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list