elm_icon_standard_set(ic, "file");
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
fs_bt = elm_fileselector_button_add(win);
- elm_fileselector_button_label_set(fs_bt, "Select a dir");
+ elm_object_text_set(fs_bt, "Select a dir");
elm_fileselector_button_icon_set(fs_bt, ic);
elm_fileselector_button_inwin_mode_set(fs_bt, EINA_TRUE);
elm_fileselector_button_folder_only_set(fs_bt, EINA_TRUE);
elm_icon_standard_set(ic, "file");
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
fs_bt = elm_fileselector_button_add(win);
- elm_fileselector_button_label_set(fs_bt, "Select a file");
+ elm_object_text_set(fs_bt, "Select a file");
elm_fileselector_button_icon_set(fs_bt, ic);
elm_box_pack_end(vbox, fs_bt);
evas_object_show(bt);
bt = elm_fileselector_button_add(win);
- elm_fileselector_button_label_set(bt, "Select Photo");
+ elm_object_text_set(bt, "Select Photo");
evas_object_smart_callback_add(bt, "file,chosen", my_bt_open, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.5, 0.1);
else return;
if (p->label)
- elm_fileselector_button_label_set(obj, p->label);
+ elm_object_text_set(obj, p->label);
if (p->icon) elm_fileselector_button_icon_set(obj, p->icon);
if (p->fs.path) elm_fileselector_button_path_set(obj, p->fs.path);
if (p->fs.is_save_set)
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_fileselector_button_label_set(obj, param->s);
+ elm_object_text_set(obj, param->s);
return EINA_TRUE;
}
}
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- param->s = elm_fileselector_button_label_get(obj);
+ param->s = elm_object_text_get(obj);
return EINA_TRUE;
}
}
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
- elm_fileselector_button_label_set(wd->button, label);
+ elm_object_text_set(wd->button, label);
}
EAPI const char *
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
- return elm_fileselector_button_label_get(wd->button);
+ return elm_object_text_get(wd->button);
}
/**