diff options
author | Daniel Zaoui <daniel.zaoui@samsung.com> | 2014-11-22 09:13:57 +0200 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@samsung.com> | 2014-11-22 09:15:02 +0200 |
commit | d07b0d008a3c472c96d97093da6e1ef32e92ce1d (patch) | |
tree | bf74e4406b783ae3146a1a62d1075f89b1becb37 | |
parent | ac8af1fb4ae5885a8766758b297dfe240b0bb818 (diff) | |
download | elementary-devs/jackdanielz/eo_object_items.tar.gz |
NO PUSH: test for subitems fixdevs/jackdanielz/eo_object_items
-rw-r--r-- | src/bin/test_genlist.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index 9fd673740..a8a333080 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -1313,6 +1313,12 @@ gl4_exp(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) ELM_GENLIST_ITEM_TREE, gl4_sel/* func */, NULL/* func data */); } + const Eina_List *itr; + Eo *eo_subitem; + EINA_LIST_FOREACH(elm_genlist_item_subitems_get(glit), itr, eo_subitem) + printf("item %d: %s\n", + (int)elm_object_item_data_get(eo_subitem), + eo_class_name_get(eo_subitem)); } static void |