Fixing bugs in Elementary widgets documentation.
[framework/uifw/elementary.git] / doc / widgets / widget_preview_entry1.c
1 #include "widget_preview_tmpl_head.c"
2
3 Evas_Object *o = elm_entry_add(win);
4 elm_entry_single_line_set(o, EINA_TRUE);
5 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
6 elm_win_resize_object_add(win, o);
7 evas_object_show(o);
8
9 elm_object_text_set(o, "A single line entry <b>with some format</b>");
10
11 #include "widget_preview_tmpl_foot.c"