bt = elm_button_add(win);
elm_object_focus_allow_set(bt, 0);
- elm_button_label_set(bt, "Add");
+ elm_object_text_set(bt, "Add");
evas_object_smart_callback_add(bt, "clicked", _add, bx);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, 0.5);
bt = elm_button_add(win);
elm_object_focus_allow_set(bt, 0);
- elm_button_label_set(bt, "Del");
+ elm_object_text_set(bt, "Del");
evas_object_smart_callback_add(bt, "clicked", _del, NULL);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, 0.5);
bt = elm_button_add(win);
elm_object_focus_allow_set(bt, 0);
- elm_button_label_set(bt, "Hide");
+ elm_object_text_set(bt, "Hide");
evas_object_smart_callback_add(bt, "clicked", _hide, NULL);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, 0.5);