Wheel progressbar进度窗口小部件的代码
这个代码片段展示了如何使用进度条基本小部件创建一个wheel progressbar。// create a progress bar
Evas_Object *wheel = elm_progressbar_add(ad->win);
evas_object_resize(wheel, 50, 50);
evas_object_move(wheel, 100, 100);
// set its style to "wheel"
elm_object_style_set(wheel, "wheel");
evas_object_show(wheel);
// start its work
elm_progressbar_pulse(wheel, EINA_TRUE);
// stop the wheel widget
//elm_progressbar_pulse(wheel, EINA_FALSE);
页:
[1]