forked from enlightenment/efl
12 lines
326 B
C
12 lines
326 B
C
|
#include "widget_preview_tmpl_head.c"
|
||
|
|
||
|
Evas_Object *o = elm_toggle_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, "toggle");
|
||
|
elm_toggle_states_labels_set(o, "on", "off");
|
||
|
|
||
|
#include "widget_preview_tmpl_foot.c"
|