elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set...
[framework/uifw/elementary.git] / doc / widgets / widget_preview_bubble2.c
1 #include "widget_preview_tmpl_head.c"
2
3 Evas_Object *o = elm_bubble_add(win);
4 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
5 elm_win_resize_object_add(win, o);
6 evas_object_show(o);
7
8 elm_object_text_set(o, "Bubble");
9
10 Evas_Object *o2 = elm_icon_add(win);
11 elm_icon_standard_set(o2, "home");
12 elm_object_part_content_set(o, "icon", o2);
13 evas_object_show(o2);
14
15 #include "widget_preview_tmpl_foot.c"