Hi,
I am trying to use an infinite pulsing progress bar and do some network
operations in the background. Any help will be appreciated.
I create a Popup and add ProgressBar in that Popup. The popup is not at
all displayed. However all the network operations are working fine as
control flows properly.
(I have not used any threads here)
1. Create Popup
2. Create Progresbar and set pulse settings
3. Add progress bar to popup "default"
4. Show Popup
5. Perform network operations
6. Hide Popup.
*My Code is as follows:
* Evas_Object* popup = elm_popup_add(windowt);
elm_popup_orient_set(popup, ELM_POPUP_ORIENT_CENTER);
Evas_Object* progress = elm_progressbar_add(popup);
evas_object_size_hint_align_set(progress, EVAS_HINT_FILL, 0.0);
elm_object_style_set(progress, "default");
elm_progressbar_pulse_set(progress, EINA_TRUE);
elm_progressbar_pulse(progress, EINA_TRUE);
elm_object_text_set(progress, "Fetching...");
elm_object_part_content_set(popup, "default", progress);
elm_object_scale_set(popup, 1.0);
evas_object_size_hint_max_set (popup, 100, 100);
evas_object_size_hint_request_set (popup,100,100);
evas_object_show(popup);
* /* cURL Operations here..*/*
evas_object_hide(popup);
Regards,
Amit S
*Mobile:* 9900489498
*Skype:* amsurana
------------------------------------------------------------------------------
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