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

elm_need_web();

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

elm_web_url_set(o, "http://www.enlightenment.org");

#include "widget_preview_tmpl_foot.c"