aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/doc/widgets/widget_preview_bubble2.c
blob: c2272ea705f466e767b3e068c55441fd4234e089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "widget_preview_tmpl_head.c"

Evas_Object *o = elm_bubble_add(win);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, o);
evas_object_show(o);

elm_object_text_set(o, "Bubble");

Evas_Object *o2 = elm_icon_add(win);
elm_icon_standard_set(o2, "home");
elm_object_part_content_set(o, "icon", o2);
evas_object_show(o2);

#include "widget_preview_tmpl_foot.c"