Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.
i.e for button
elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@65295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 3");
- elm_object_part_text_set(bb, "info", "10:32 4/11/2008");
+ elm_object_text_part_set(bb, "info", "10:32 4/11/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 2");
- elm_object_part_text_set(bb, "info", "7:16 27/10/2008");
+ elm_object_text_part_set(bb, "info", "7:16 27/10/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 1");
- elm_object_part_text_set(bb, "info", "20:47 18/6/2008");
+ elm_object_text_part_set(bb, "info", "20:47 18/6/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 1");
- elm_object_part_text_set(bb, "info", "Corner: bottom_right");
+ elm_object_text_part_set(bb, "info", "Corner: bottom_right");
elm_object_content_part_set(bb, "icon", ic);
elm_bubble_corner_set(bb, "bottom_right");
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 3");
- elm_object_part_text_set(bb, "info", "10:32 4/11/2008");
+ elm_object_text_part_set(bb, "info", "10:32 4/11/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 2");
- elm_object_part_text_set(bb, "info", "7:16 27/10/2008");
+ elm_object_text_part_set(bb, "info", "7:16 27/10/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
bb = elm_bubble_add(win);
elm_object_text_set(bb, "Message 1");
- elm_object_part_text_set(bb, "info", "20:47 18/6/2008");
+ elm_object_text_part_set(bb, "info", "20:47 18/6/2008");
elm_object_content_part_set(bb, "icon", ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
if (p->label) elm_object_text_set(obj, p->label);
if (p->icon)
elm_object_content_part_set(obj, "icon", p->icon);
- if (p->info) elm_object_part_text_set(obj, "info", p->info);
- if (p->content) elm_object_content_set(obj, p->content);
+ if (p->info) elm_object_text_part_set(obj, "info", p->info);
+ if (p->content) elm_bubble_content_set(obj, p->content);
}
static Eina_Bool