summaryrefslogtreecommitdiff
path: root/doc/widgets/widget_preview_thumb.c
blob: 986c1a5adaae862783c3cdc2e11629088cfd084c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "widget_preview_tmpl_head.c"

elm_need_ethumb();

Evas_Object *o = elm_thumb_add(win);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, o);

elm_thumb_file_set(o, PACKAGE_DATA_DIR"/images/plant_01.jpg", NULL);
evas_object_show(o);

#include "widget_preview_tmpl_foot.c"