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

Evas_Object *inwin, *lbl;

inwin = elm_win_inwin_add(win);
elm_object_style_set(inwin, "minimal_vertical");
evas_object_show(inwin);

lbl = elm_label_add(win);
elm_object_text_set(lbl, "The content of an inwin<ps>"
                    "can be anything that<ps>"
                    "may be shown in a popup.<ps><ps>"
                    "This one we are in is<ps>"
                    "using the <b>minimal_vertical</b> style.");
elm_win_inwin_content_set(inwin, lbl);
evas_object_show(lbl);

#include "widget_preview_tmpl_foot.c"