fixed plugin image size problem
[framework/uifw/elementary.git] / doc / widgets / widget_preview_hoversel.c
1 unsigned char _func(void *data);
2
3 #include "widget_preview_tmpl_head.c"
4
5 Evas_Object *o = elm_hoversel_add(win);
6 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
7 evas_object_resize(o, 90, 30);
8 evas_object_show(o);
9
10 elm_object_text_set(o, "Hover selector");
11 elm_hoversel_item_add(o, "first", NULL, 0, NULL, NULL);
12 elm_hoversel_item_add(o, "second", NULL, 0, NULL, NULL);
13 elm_hoversel_item_add(o, "third", NULL, 0, NULL, NULL);
14
15 ecore_timer_add(0, _func, o);
16
17 #include "widget_preview_tmpl_foot.c"
18
19 unsigned char _func(void *data)
20 {
21    elm_hoversel_hover_begin(data);
22    return 0;
23 }