aboutsummaryrefslogtreecommitdiffstats
path: root/doc/widgets/widget_preview_toggle.c
blob: b6b85ad3cdef6b7094200871884d866a31d86826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "widget_preview_tmpl_head.c"

Evas_Object *o = elm_check_add(win);
elm_object_style_set(o, "toggle");
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");

#include "widget_preview_tmpl_foot.c"