Re: Updating GUI during long operation

2013-04-25 Thread Kip Warner
On Sat, 2013-04-20 at 18:54 +0200, Colomban Wendling wrote: Just never do something time consuming in the main loop thread. If you don't there should not be any lag. Hey Colomban. The time consuming task is in its own separate thread, but it's making a GIF animation lag and user interface

Re: Updating GUI during long operation

2013-04-25 Thread Allin Cottrell
On Thu, 25 Apr 2013, Kip Warner wrote: I will try adjusting the animation's framerate and seeing if I can get the worker thread to give a breather to the main thread which seems to be working when using an idle_add() callback to trigger an event flush. I have a situation which might,

Re: Updating GUI during long operation

2013-04-25 Thread Kip Warner
On Thu, 2013-04-25 at 22:53 -0400, Allin Cottrell wrote: I have a situation which might, perhaps, be akin to yours. From the GUI, my app calls an iterative numerical procedure that can be quite time consuming. Without any special treatment, this causes the GUI to appear frozen and

Re: Updating GUI during long operation

2013-04-25 Thread Simon Feltman
On Sat, Apr 20, 2013 at 4:25 PM, Kip Warner k...@thevertigo.com wrote: http://rod.gs/Sio A brief look at the source and it seems there is nothing calling Gdk.threads_init which I think is needed. Similarly, use Gdk.threads_add_idle instead of GObject.idle_add for scheduling GUI updates from

Re: GTK+3 win32/64 build environment

2013-04-25 Thread tarnyko
Hi, Could someone review the build environment (https://git.gnome.org/browse/gtk3-build-system), so we can see what needs corrections/improvements ? (and possibly, if everything is OK, discuss a planning for a release ? ^^) Regards, Tarnyko tarn...@tarnyko.net writes: Hi folks, The