evas_object_show(lb);
en = elm_entry_add(win);
- elm_entry_line_wrap_set(en, EINA_FALSE);
+ elm_entry_line_wrap_set(en, ELM_WRAP_NONE);
elm_entry_editable_set(en, EINA_FALSE);
evas_object_smart_callback_add(fs_bt, "file,chosen", _file_chosen, en);
elm_box_pack_end(vbox, en);
evas_object_show(bt);
en = elm_entry_add(win);
- elm_entry_line_wrap_set(en, EINA_FALSE);
+ elm_entry_line_wrap_set(en, ELM_WRAP_NONE);
elm_entry_editable_set(en, EINA_FALSE);
evas_object_smart_callback_add(fs_en, "file,chosen", _file_chosen, en);
elm_box_pack_end(vbox, en);
en = elm_entry_add(win);
elm_entry_scrollable_set(en, EINA_TRUE);
- elm_entry_line_wrap_set(en, EINA_FALSE);
+ elm_entry_line_wrap_set(en, ELM_WRAP_NONE);
snprintf(buf, sizeof(buf),
"This is an entry widget in this window that<br>"
"uses markup <b>like this</> for styling and<br>"
Evas_Object *lb;
lb = elm_label_add(obj);
- elm_label_line_wrap_set(lb, 1);
+ elm_label_line_wrap_set(lb, ELM_WRAP_CHAR);
elm_label_wrap_width_set(lb, 201);
elm_object_text_set(lb, "ashj ascjscjh n asjkl hcjlh ls hzshnn zjh sh zxjcjsnd h dfw sdv edev efe fwefvv vsd cvs ws wf fvwf wd fwe f we wef we wfe rfwewef wfv wswf wefg sdfws w wsdcfwcf wsc vdv sdsd sdcd cv wsc sdcv wsc d sdcdcsd sdcdsc wdvd sdcsd wscxcv wssvd sd");
return lb;
evas_object_show(lb);
lb = elm_label_add(win);
- elm_label_line_wrap_set(lb, 1);
+ elm_label_line_wrap_set(lb, ELM_WRAP_CHAR);
elm_object_text_set(lb,
"<b>"
"This is more text designed to line-wrap here as "
sp = elm_spinner_add(win);
elm_spinner_label_format_set(sp, "%1.1f units");
elm_spinner_step_set(sp, 1.3);
- elm_spinner_wrap_set(sp, 1);
+ elm_spinner_wrap_set(sp, ELM_WRAP_CHAR);
elm_spinner_min_max_set(sp, -50.0, 250.0);
evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(sp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
sp = elm_spinner_add(win);
elm_spinner_label_format_set(sp, "Percentage %%%1.2f something");
elm_spinner_step_set(sp, 5.0);
- elm_spinner_wrap_set(sp, 1);
+ elm_spinner_wrap_set(sp, ELM_WRAP_CHAR);
elm_spinner_min_max_set(sp, 0.0, 100.0);
evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(sp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
sp = elm_spinner_add(win);
elm_spinner_label_format_set(sp, "%1.1f units");
elm_spinner_step_set(sp, 1.3);
- elm_spinner_wrap_set(sp, 1);
+ elm_spinner_wrap_set(sp, ELM_WRAP_CHAR);
elm_object_style_set (sp, "vertical");
elm_spinner_min_max_set(sp, -50.0, 250.0);
evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, 0.5);
elm_hoversel_item_add(hv, eweather_plugin_name_get(eweather, i), NULL, ELM_ICON_NONE, _hover_select_cb, NULL);
en = elm_entry_add(win);
- elm_entry_line_wrap_set(en, 0);
+ elm_entry_line_wrap_set(en, ELM_WRAP_NONE);
elm_entry_single_line_set(en, EINA_TRUE);
elm_entry_entry_set(en, "Paris");
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);