projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58ddf8
)
other part of genlist tree expand depth patch. test code.
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 7 Oct 2010 07:30:44 +0000
(07:30 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 7 Oct 2010 07:30:44 +0000
(07:30 +0000)
SVN revision: 53136
src/bin/test_genlist.c
patch
|
blob
|
history
diff --git
a/src/bin/test_genlist.c
b/src/bin/test_genlist.c
index
d5e5663
..
44ad161
100644
(file)
--- a/
src/bin/test_genlist.c
+++ b/
src/bin/test_genlist.c
@@
-993,6
+993,12
@@
static Elm_Genlist_Item_Class itc4;
static void
gl4_sel(void *data, Evas_Object *obj, void *event_info)
{
+ Elm_Genlist_Item *it = (Elm_Genlist_Item *)event_info;
+ int depth = 0;
+
+ depth = elm_genlist_item_expanded_depth_get(it);
+ printf("expanded depth for selected item is %d\n", depth);
+
}
static void
gl4_exp(void *data, Evas_Object *obj, void *event_info)