lb = elm_label_add(win); \
evas_object_size_hint_weight_set(lb, EVAS_HINT_EXPAND, 0.0); \
evas_object_size_hint_align_set(lb, EVAS_HINT_FILL, 0.5); \
- elm_label_label_set(lb, label); \
+ elm_object_text_set(lb, label); \
elm_frame_content_set(pd, lb); \
evas_object_show(lb); \
} \
evas_object_show(fr);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Applying configuration change"
);
elm_frame_content_set(fr, lb);
snprintf(buf, sizeof(buf), "<hilight>Selected profile: %s</><br>",
prof_name);
- elm_label_label_set(evas_object_data_get(obj, "prof_name_lbl"), buf);
+ elm_object_text_set(evas_object_data_get(obj, "prof_name_lbl"), buf);
en = evas_object_data_get(obj, "prof_desc_entry");
#ifdef ELM_EFREET
evas_object_show(fr);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Please select a test from the list below<br>"
"by clicking the test button to show the<br>"
"test window.");
evas_object_size_hint_align_set(bb, EVAS_HINT_FILL, EVAS_HINT_FILL);
ct = elm_label_add(win);
- elm_label_label_set(ct,
+ elm_object_text_set(ct,
"\"The future of the art: R or G or B?\", by Rusty");
elm_bubble_content_set(bb, ct);
evas_object_size_hint_align_set(bb, EVAS_HINT_FILL, EVAS_HINT_FILL);
ct = elm_label_add(win);
- elm_label_label_set(ct, "Corner: base (top-left) - no icon");
+ elm_object_text_set(ct, "Corner: base (top-left) - no icon");
elm_bubble_content_set(bb, ct);
elm_box_pack_end(bx, bb);
evas_object_show(bt);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Last selection:");
+ elm_object_text_set(lb, "Last selection:");
elm_box_pack_end(vbox, lb);
evas_object_show(lb);
evas_object_show(bt);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Last selection:");
+ elm_object_text_set(lb, "Last selection:");
elm_box_pack_end(vbox, lb);
evas_object_show(lb);
{
Evas_Object *lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"<b>Use Tab and Shift+Tab</b>"
);
evas_object_size_hint_weight_set(lb, 0.0, 0.0);
lb = elm_label_add(obj);
elm_label_line_wrap_set(lb, 1);
elm_label_wrap_width_set(lb, 201);
- elm_label_label_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");
+ 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;
}
else if (!strcmp(part, "elm.swallow.end"))
evas_object_show(bx2);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Sweep genlist items to the right.<br>"
"Test this by changing Mode Type to Slide or Rotate.");
elm_box_pack_end(bx2, lb);
evas_object_show(fr);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Enable reorder mode if you want to move item.<br>"
"Then long press and drag item.");
elm_frame_content_set(fr, lb);
evas_object_show(inwin);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is an \"inwin\" - a window in a<br>"
"window. This is handy for quick popups<br>"
"you want centered, taking over the window<br>"
evas_object_show(inwin);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is an \"inwin\" - a window in a<br>"
"window. This is handy for quick popups<br>"
"you want centered, taking over the window<br>"
evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, EVAS_HINT_FILL);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"<b>This is a small label</b>"
);
evas_object_size_hint_weight_set(lb, 0.0, 0.0);
evas_object_show(lb);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is a larger label with newlines<br>"
"to make it bigger, bit it won't expand or wrap<br>"
"just be a block of text that can't change its<br>"
lb = elm_label_add(win);
elm_label_line_wrap_set(lb, 1);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"<b>"
"This is more text designed to line-wrap here as "
"This object is resized horizontally. As it is "
evas_object_show(lb);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This small label set to wrap"
);
evas_object_size_hint_weight_set(lb, EVAS_HINT_EXPAND, 0.0);
lb = elm_label_add(win);
elm_object_style_set(lb, "marker");
- elm_label_label_set(lb, names[m]);
+ elm_object_text_set(lb, names[m]);
evas_object_size_hint_weight_set(lb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(lb, 0.5, 0.5);
elm_table_pack(tb, lb, 1 + i, 1 + (j * 2) + 1, 1, 1);
elm_box_pack_end(bx, o);
Evas_Object *lbl = elm_label_add(obj);
- elm_label_label_set(lbl, "Wolves Go !");
+ elm_object_text_set(lbl, "Wolves Go !");
evas_object_show(lbl);
elm_box_pack_end(bx, lbl);
}
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "This position is the default.");
+ elm_object_text_set(lb, "This position is the default.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Bottom position. This notify use a timeout of 5 sec.<br>"
+ elm_object_text_set(lb, "Bottom position. This notify use a timeout of 5 sec.<br>"
"<b>The events outside the window are blocked.</b>");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Left position. This notify use a timeout of 10 sec.");
+ elm_object_text_set(lb, "Left position. This notify use a timeout of 10 sec.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Center position. This notify use a timeout of 10 sec.");
+ elm_object_text_set(lb, "Center position. This notify use a timeout of 10 sec.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Right position.");
+ elm_object_text_set(lb, "Right position.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Top Left position.");
+ elm_object_text_set(lb, "Top Left position.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Top Right position.");
+ elm_object_text_set(lb, "Top Right position.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Bottom Left position.");
+ elm_object_text_set(lb, "Bottom Left position.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb, "Bottom Right position.");
+ elm_object_text_set(lb, "Bottom Right position.");
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is page 1 in a pager stack.<br>"
"<br>"
"So what is a pager stack? It is a stack<br>"
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is page 2 in a pager stack.<br>"
"<br>"
"This is just like the previous page in<br>"
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is page 3 in a pager stack.<br>"
"<br>"
"This is just like the previous page in<br>"
lb = elm_label_add(info->win);
snprintf(buf, sizeof(buf), "This is page %d in the slide pager<br><br>", count++);
- elm_label_label_set(lb, buf);
+ elm_object_text_set(lb, buf);
elm_box_pack_end(bx, lb);
evas_object_show(lb);
evas_object_show(bx);
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"This is page 1 in a slide pager.<br>"
"<br>"
"The slide pager style is useful for browsing<br>"
elm_object_scale_set(fr, 0.5);
elm_frame_label_set(fr, "Scale: 0.5");
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Parent frame scale<br>"
"is 0.5. Child should<br>"
"inherit it.");
fr = elm_frame_add(win);
elm_frame_label_set(fr, "Scale: 1.0");
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Parent frame scale<br>"
"is 1.0. Child should<br>"
"inherit it.");
fr = elm_frame_add(win);
elm_frame_label_set(fr, "Scale: 2.0");
lb = elm_label_add(win);
- elm_label_label_set(lb,
+ elm_object_text_set(lb,
"Parent frame scale<br>"
"is 2.0. Child should<br>"
"inherit it.");
lbl = elm_label_add(win);
elm_win_resize_object_add(win, lbl);
- elm_label_label_set(lbl, "libeweather is required to display the forecast.");
+ elm_object_text_set(lbl, "libeweather is required to display the forecast.");
evas_object_show(lbl);
#endif
else if (from_params) p = from_params;
else return;
- if (p->label) elm_label_label_set(obj, p->label);
+ if (p->label) elm_object_text_set(obj, p->label);
}
static Eina_Bool
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_label_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_label_label_get(obj);
+ param->s = elm_object_text_get(obj);
return EINA_TRUE;
}
}
if (!label)
return NULL;
elm_object_style_set(label, "tooltip");
- elm_label_label_set(label, data);
+ elm_object_text_set(label, data);
return label;
}
if (!label)
return NULL;
elm_object_style_set(label, "tooltip");
- elm_label_label_set(label, data);
+ elm_object_text_set(label, data);
return label;
}
if (!label)
return NULL;
elm_object_style_set(label, "tooltip");
- elm_label_label_set(label, data);
+ elm_object_text_set(label, data);
return label;
}
if (!label)
return NULL;
elm_object_style_set(label, "tooltip");
- elm_label_label_set(label, data);
+ elm_object_text_set(label, data);
return label;
}