Re: Wait cursor animation does not work properly

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

 





On Mon, Sep 4, 2017 at 3:17 AM, Stefan Salewski <mail@xxxxxxxxxxxx> wrote:
​My chess engine takes only a few seconds to calculate
the next move, so creating an own thread is some overkill.

​Incorrect thinking. ​
 
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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux