rd = elm_radio_add(win);
evas_object_size_hint_weight_set(rd, 1.0, 0.0);
elm_radio_state_value_set(rd, 0);
- elm_radio_label_set(rd, "Radio 1");
+ elm_object_text_set(rd, "Radio 1");
elm_table_pack(base, rd, 1, 0, 1, 1);
evas_object_show(rd);
rdg = rd;
rd = elm_radio_add(win);
evas_object_size_hint_weight_set(rd, 1.0, 0.0);
elm_radio_state_value_set(rd, 1);
- elm_radio_label_set(rd, "Radio 2");
+ elm_object_text_set(rd, "Radio 2");
elm_radio_group_add(rd, rdg);
elm_table_pack(base, rd, 1, 1, 1, 1);
evas_object_show(rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, ELM_BG_OPTION_CENTER);
- elm_radio_label_set(rd, "Center");
+ elm_object_text_set(rd, "Center");
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL);
evas_object_smart_callback_add(rd, "changed", _cb_radio_changed, o_bg);
elm_box_pack_end(hbox, rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, ELM_BG_OPTION_SCALE);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Scale");
+ elm_object_text_set(rd, "Scale");
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL);
evas_object_smart_callback_add(rd, "changed", _cb_radio_changed, o_bg);
elm_box_pack_end(hbox, rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, ELM_BG_OPTION_STRETCH);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Stretch");
+ elm_object_text_set(rd, "Stretch");
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL);
evas_object_smart_callback_add(rd, "changed", _cb_radio_changed, o_bg);
elm_box_pack_end(hbox, rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, ELM_BG_OPTION_TILE);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Tile");
+ elm_object_text_set(rd, "Tile");
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL);
evas_object_smart_callback_add(rd, "changed", _cb_radio_changed, o_bg);
elm_box_pack_end(hbox, rd);
evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
elm_radio_state_value_set(rd, ELM_FLIP_INTERACTION_NONE);
- elm_radio_label_set(rd, "None");
+ elm_object_text_set(rd, "None");
elm_box_pack_end(bx, rd);
evas_object_show(rd);
evas_object_smart_callback_add(rd, "changed", my_fl_ch, win);
evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
elm_radio_state_value_set(rd, ELM_FLIP_INTERACTION_ROTATE);
- elm_radio_label_set(rd, "Rotate");
+ elm_object_text_set(rd, "Rotate");
elm_radio_group_add(rd, rdg);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
elm_radio_state_value_set(rd, ELM_FLIP_INTERACTION_CUBE);
- elm_radio_label_set(rd, "Cube");
+ elm_object_text_set(rd, "Cube");
elm_radio_group_add(rd, rdg);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
elm_radio_state_value_set(rd, ELM_FLIP_INTERACTION_PAGE);
- elm_radio_label_set(rd, "Page");
+ elm_object_text_set(rd, "Page");
elm_radio_group_add(rd, rdg);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
rd = elm_radio_add(win);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_radio_state_value_set(rd, 0);
- elm_radio_label_set(rd, "Slide ");
+ elm_object_text_set(rd, "Slide ");
evas_object_show(rd);
elm_box_pack_end(bx3, rd);
rdg = rd;
rd = elm_radio_add(win);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_radio_state_value_set(rd, 1);
- elm_radio_label_set(rd, "Rotate");
+ elm_object_text_set(rd, "Rotate");
elm_radio_group_add(rd, rdg);
evas_object_show(rd);
elm_box_pack_end(bx3, rd);
for (i = 0; i < (sizeof(styles) / sizeof(struct style_tuple)); i++)
{
rd = elm_radio_add(win);
- elm_radio_label_set(rd, styles[i].label);
+ elm_object_text_set(rd, styles[i].label);
elm_radio_state_value_set(rd, i);
if (rdg)
elm_radio_group_add(rd, rdg);
elm_radio_state_value_set(rd, 0);
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rd, EVAS_HINT_FILL, 0.5);
- elm_radio_label_set(rd, "Icon sized to radio");
+ elm_object_text_set(rd, "Icon sized to radio");
elm_radio_icon_set(rd, ic);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, 1);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Icon no scale");
+ elm_object_text_set(rd, "Icon no scale");
elm_radio_icon_set(rd, ic);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, 2);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Label Only");
+ elm_object_text_set(rd, "Label Only");
elm_box_pack_end(bx, rd);
evas_object_show(rd);
rd = elm_radio_add(win);
elm_radio_state_value_set(rd, 3);
elm_radio_group_add(rd, rdg);
- elm_radio_label_set(rd, "Disabled");
+ elm_object_text_set(rd, "Disabled");
elm_object_disabled_set(rd, 1);
elm_box_pack_end(bx, rd);
evas_object_show(rd);
else return;
if (p->label)
- elm_radio_label_set(obj, p->label);
+ elm_object_text_set(obj, p->label);
if (p->icon)
elm_radio_icon_set(obj, p->icon);
if (p->value_exists)
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_radio_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_radio_label_get(obj);
+ param->s = elm_object_text_get(obj);
return EINA_TRUE;
}
}