[Genlist][Nabi:S1-2014] bug fix, expanded_next_item set to NULL in _item_del @69691
[framework/uifw/elementary.git] / doc / widget_preview_button2.c
1 #include "widget_preview_tmpl_head.c"
2
3 Evas_Object *o = elm_button_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, "Button");
9
10 Evas_Object *o2 = elm_icon_add(win);
11 elm_icon_file_set(o2, "img/elementary.png", NULL);
12 elm_button_icon_set(o, o2);
13 evas_object_show(o2);
14
15 #include "widget_preview_tmpl_foot.c"