aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/doc/widgets/widget_preview_inwin2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/elementary/doc/widgets/widget_preview_inwin2.c')
-rw-r--r--libraries/elementary/doc/widgets/widget_preview_inwin2.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/elementary/doc/widgets/widget_preview_inwin2.c b/libraries/elementary/doc/widgets/widget_preview_inwin2.c
new file mode 100644
index 0000000..cdca363
--- /dev/null
+++ b/libraries/elementary/doc/widgets/widget_preview_inwin2.c
@@ -0,0 +1,18 @@
1#include "widget_preview_tmpl_head.c"
2
3Evas_Object *inwin, *lbl;
4
5inwin = elm_win_inwin_add(win);
6elm_object_style_set(inwin, "minimal");
7evas_object_show(inwin);
8
9lbl = elm_label_add(win);
10elm_object_text_set(lbl, "The content of an inwin<ps>"
11 "can be anything that<ps>"
12 "may be shown in a popup.<ps><ps>"
13 "This one we are in is<ps>"
14 "using the <b>minimal</b> style.");
15elm_win_inwin_content_set(inwin, lbl);
16evas_object_show(lbl);
17
18#include "widget_preview_tmpl_foot.c"