diff options
Diffstat (limited to 'libraries/elementary/doc/widgets/widget_preview_inwin2.c')
-rw-r--r-- | libraries/elementary/doc/widgets/widget_preview_inwin2.c | 18 |
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 | |||
3 | Evas_Object *inwin, *lbl; | ||
4 | |||
5 | inwin = elm_win_inwin_add(win); | ||
6 | elm_object_style_set(inwin, "minimal"); | ||
7 | evas_object_show(inwin); | ||
8 | |||
9 | lbl = elm_label_add(win); | ||
10 | elm_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."); | ||
15 | elm_win_inwin_content_set(inwin, lbl); | ||
16 | evas_object_show(lbl); | ||
17 | |||
18 | #include "widget_preview_tmpl_foot.c" | ||