change the way elm_main() must be declared (fix bug on Windows).
[framework/uifw/elementary.git] / doc / widgets / widget_preview_hover.c
1 #include "widget_preview_tmpl_head.c"
2
3 Evas_Object *o = elm_hover_add(win);
4 evas_object_move(o, w/2, h/2);
5
6 Evas_Object *lbl = elm_label_add(win);
7 evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
8 elm_object_text_set(lbl, "hover");
9 elm_hover_content_set(o, "middle", lbl);
10
11
12 evas_object_show(o);
13
14 #include "widget_preview_tmpl_foot.c"