forked from enlightenment/efl
16 lines
419 B
C
16 lines
419 B
C
|
#include "widget_preview_tmpl_head.c"
|
||
|
|
||
|
Evas_Object *o = elm_button_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_object_text_set(o, "Button");
|
||
|
|
||
|
Evas_Object *o2 = elm_icon_add(win);
|
||
|
elm_icon_file_set(o2, "img/elementary.png", NULL);
|
||
|
elm_button_icon_set(o, o2);
|
||
|
evas_object_show(o2);
|
||
|
|
||
|
#include "widget_preview_tmpl_foot.c"
|