On Mon, Oct 8, 2012 at 10:00 PM, Daniel Juyung Seo <[email protected]> wrote:
> It looks like it's still pending in step 2.
> 1. Progress bar show
> 2. Ecore-con API call
> 3. Progress bar hide...
>
> Do not call evas_object_hide() at that time. Just return the function.
> Call evas_object_hide() when the download operation is done.
> 1. Progress bar show
> 2. Create network thread
> 3. return
>
> and in the network thread (it should be using ecore_thread)
> 1. update progressbar
> 2. hide the progressbar if the network finishes its job. (maybe you
> want to delete the progressbar not hiding it.)

Don't use thread for that ! Just use Ecore_Con_Url. It will trigger an
event when the download progress, so you can move that progress bar
forward and it will trigger another event when the download is done,
so you can hide the object.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to