summaryrefslogtreecommitdiff
path: root/legacy/elementary/doc/widgets/widget_preview_panel.c
blob: 8ae9e24d6a2a3e77024f4da44c0d489a7caa46f3 (plain) (blame)
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_panel_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);

Evas_Object *o2 = elm_label_add(win);
elm_object_text_set(o2, "content");
evas_object_show(o2);

elm_panel_content_set(o, o2);


#include "widget_preview_tmpl_foot.c"