1 #include "widget_preview_tmpl_head.c"
3 static const char *dict[] = \
33 Evas_Object *o = elm_list_add(win);
34 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
35 elm_win_resize_object_add(win, o);
38 Evas_Object *id = elm_index_add(win);
39 elm_win_resize_object_add(win, id);
40 evas_object_size_hint_weight_set(id, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
41 elm_win_resize_object_add(win, id);
45 for (i = 0; i < (sizeof(dict) / sizeof(dict[0])); i++)
50 it = elm_list_item_append(o, dict[i], NULL, NULL, NULL, NULL);
51 snprintf(buf, sizeof(buf), "%c", dict[i][0]);
52 elm_index_item_append(id, buf, it);
55 elm_index_active_set(id, EINA_TRUE);
57 #include "widget_preview_tmpl_foot.c"