diff options
author | David Walter Seikel | 2012-04-22 09:20:32 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-04-22 09:20:32 +1000 |
commit | 3ad3455551be0d7859ecb02290376206d5e66498 (patch) | |
tree | 497917e12b4d7f458dff9765d9b53f64c4e03fc3 /libraries/elementary/doc/widgets/widget_preview_frame.c | |
parent | Update EFL to latest beta. (diff) | |
download | SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.zip SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.gz SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.bz2 SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.xz |
And actually include new files, plus elementary libraries.
Diffstat (limited to 'libraries/elementary/doc/widgets/widget_preview_frame.c')
-rw-r--r-- | libraries/elementary/doc/widgets/widget_preview_frame.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/elementary/doc/widgets/widget_preview_frame.c b/libraries/elementary/doc/widgets/widget_preview_frame.c new file mode 100644 index 0000000..0ef7e6a --- /dev/null +++ b/libraries/elementary/doc/widgets/widget_preview_frame.c | |||
@@ -0,0 +1,17 @@ | |||
1 | #include "widget_preview_tmpl_head.c" | ||
2 | |||
3 | Evas_Object *o = elm_frame_add(win); | ||
4 | evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); | ||
5 | elm_win_resize_object_add(win, o); | ||
6 | evas_object_show(o); | ||
7 | |||
8 | elm_object_text_set(o, "Frame"); | ||
9 | |||
10 | Evas_Object *o2 = elm_label_add(win); | ||
11 | evas_object_size_hint_weight_set(o2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); | ||
12 | evas_object_show(o2); | ||
13 | elm_object_text_set(o2, "Frame content"); | ||
14 | |||
15 | elm_object_content_set(o, o2); | ||
16 | |||
17 | #include "widget_preview_tmpl_foot.c" | ||