conformant_example_02.c
#include <Elementary.h>
EAPI_MAIN int
elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
{
Evas_Object *win, *conform, *btn, *bx, *en;
win = elm_win_util_standard_add("conformant", "Conformant Example");
conform = elm_conformant_add(win);
evas_object_show(conform);
bx = elm_box_add(win);
btn = elm_button_add(win);
elm_object_text_set(btn, "Test Conformant");
elm_box_pack_end(bx, btn);
en = elm_entry_add(win);
elm_object_text_set(en,
"This is a multi-line entry at the bottom<br>"
"This can contain more than 1 line of text and be "
"scrolled around to allow for entering of lots of "
"content. It is also to test to see that autoscroll "
"moves to the right part of a larger multi-line "
"text entry that is inside of a scroller than can be "
"scrolled around, thus changing the expected position "
"as well as cursor changes updating auto-scroll when "
"it is enabled.");
btn = elm_button_add(win);
elm_object_text_set(btn, "Test Conformant");
elm_box_pack_end(bx, btn);
elm_object_content_set(conform, bx);
evas_object_resize(win, 240, 480);
return 0;
}