bt = elm_button_add(parent);
elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
elm_button_icon_set(bt, ic);
- elm_button_label_set(bt, E_("Up"));
+ elm_object_text_set(bt, E_("Up"));
evas_object_size_hint_align_set(bt, 0.0, 0.0);
evas_object_smart_callback_add(bt, "clicked", _up, obj);
bt = elm_button_add(parent);
elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
elm_button_icon_set(bt, ic);
- elm_button_label_set(bt, E_("Home"));
+ elm_object_text_set(bt, E_("Home"));
evas_object_size_hint_align_set(bt, 0.0, 0.0);
evas_object_smart_callback_add(bt, "clicked", _home, obj);
// cancel btn
bt = elm_button_add(obj);
elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
- elm_button_label_set(bt, E_("Cancel"));
+ elm_object_text_set(bt, E_("Cancel"));
evas_object_smart_callback_add(bt, "clicked", _canc, obj);
// ok btn
bt = elm_button_add(obj);
elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
- elm_button_label_set(bt, E_("OK"));
+ elm_object_text_set(bt, E_("OK"));
evas_object_smart_callback_add(bt, "clicked", _ok, obj);
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- elm_button_label_set(wd->btn, label);
+ elm_object_text_set(wd->btn, label);
}
/**
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- return elm_button_label_get(wd->btn);
+ return elm_object_text_get(wd->btn);
}
/**
elm_widget_mirrored_automatic_set(bt, EINA_FALSE);
elm_widget_mirrored_set(bt, elm_widget_mirrored_get(obj));
elm_object_style_set(bt, buf);
- elm_button_label_set(bt, item->label);
+ elm_object_text_set(bt, item->label);
if (item->icon_file)
{
ic = elm_icon_add(obj);
* Set the hoversel button label
*
* This sets the label of the button that is always visible (before it is
- * clicked and expanded). Also see elm_button_label_set().
+ * clicked and expanded). Also see elm_object_text_set().
*
* @param obj The hoversel object
* @param label The label text.
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- elm_button_label_set(wd->btn, label);
+ elm_object_text_set(wd->btn, label);
}
/**
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
if ((!wd) || (!wd->btn)) return NULL;
- return elm_button_label_get(wd->btn);
+ return elm_object_text_get(wd->btn);
}
/**