[Sugar-devel] Is there a way to purposefully do synchronous GUI updates?

James Cameron quozl at laptop.org
Tue Aug 21 20:25:31 EDT 2012


On Tue, Aug 21, 2012 at 03:44:13PM +0530, Ajay Garg wrote:
> I am using this to show the upload-progress of a 4 GB file, using
> gtk.ProgressBar().

Is your upload socket registered with the main event loop as an event
source?

> The file takes about 15 minutes to upload, and I only see the
> progress bar (fraction = 1) right at the end; which means that only
> after the uploading is done, and there is nothing else to be done,
> does the GUI update takes place.

This is wrong, and it need not be this way.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list