aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/doc/widgets/widget_preview_label.c
blob: e7891d2ed41c0773c46afc06cfbc3153e8acc258 (plain)
1
2
3
4
5
6
7
8
9
10
#include "widget_preview_tmpl_head.c"

Evas_Object *o = elm_label_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, "Label");

#include "widget_preview_tmpl_foot.c"