seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=a3387375dbfeaf4605d15bfa56bb4cbda2febf3b
commit a3387375dbfeaf4605d15bfa56bb4cbda2febf3b Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Fri Nov 21 12:21:45 2014 +0900 test_genlist: Add elm_genlist_item_subitems_get sample. --- src/bin/test_genlist.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index 1bd3a8f..9fd6737 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -1319,6 +1319,17 @@ static void gl4_con(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info) { Elm_Object_Item *glit = event_info; + const Eina_List *list = NULL, *l = NULL; + Elm_Object_Item *it = NULL; + + printf("\n"); + + list = elm_genlist_item_subitems_get(glit); + EINA_LIST_FOREACH(list, l, it) + { + printf("sub item: %p %s\n", it, elm_object_item_text_get(it)); + } + elm_genlist_item_subitems_clear(glit); } --