bt = elm_button_add(win);
elm_object_cursor_set(bt, ELM_CURSOR_COFFEE_MUG);
- elm_button_label_set(bt, "Coffee Mug");
+ elm_object_text_set(bt, "Coffee Mug");
elm_box_pack_end(bx, bt);
evas_object_show(bt);
bt = elm_button_add(win);
elm_object_cursor_set(bt, ELM_CURSOR_CLOCK);
- elm_button_label_set(bt, "Cursor unset");
+ elm_object_text_set(bt, "Cursor unset");
elm_object_cursor_unset(bt);
elm_box_pack_end(bx, bt);
evas_object_show(bt);
o = elm_button_add(win);
elm_object_cursor_set(o, ELM_CURSOR_HAND1);
elm_object_cursor_engine_only_set(o, EINA_FALSE);
- elm_button_label_set(o, "hand1");
+ elm_object_text_set(o, "hand1");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, ELM_CURSOR_HAND2);
- elm_button_label_set(o, "hand2 x");
+ elm_object_text_set(o, "hand2 x");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, ELM_CURSOR_HAND2);
elm_object_cursor_engine_only_set(o, EINA_FALSE);
- elm_button_label_set(o, "hand2");
+ elm_object_text_set(o, "hand2");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand3");
elm_object_cursor_engine_only_set(o, EINA_FALSE);
- elm_button_label_set(o, "hand3");
+ elm_object_text_set(o, "hand3");
elm_box_pack_end(bx, o);
evas_object_show(o);
elm_object_cursor_set(o, "hand3");
elm_object_cursor_engine_only_set(o, EINA_FALSE);
elm_object_cursor_style_set(o, "transparent");
- elm_button_label_set(o, "hand3 transparent");
+ elm_object_text_set(o, "hand3 transparent");
elm_box_pack_end(bx, o);
evas_object_show(o);
elm_object_cursor_set(o, "hand3");
elm_object_cursor_engine_only_set(o, EINA_FALSE);
elm_object_cursor_unset(o);
- elm_button_label_set(o, "unset");
+ elm_object_text_set(o, "unset");
elm_box_pack_end(bx, o);
evas_object_show(o);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand4");
- elm_button_label_set(o, "not existent");
+ elm_object_text_set(o, "not existent");
elm_box_pack_end(bx, o);
evas_object_show(o);
elm_cursor_engine_only_set(0);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand2");
- elm_button_label_set(o, "hand 2 engine only config false");
+ elm_object_text_set(o, "hand 2 engine only config false");
elm_box_pack_end(bx, o);
evas_object_show(o);
elm_cursor_engine_only_set(1);
o = elm_button_add(win);
elm_object_cursor_set(o, "hand2");
- elm_button_label_set(o, "hand 2 engine only config true");
+ elm_object_text_set(o, "hand 2 engine only config true");
elm_box_pack_end(bx, o);
evas_object_show(o);