other part of genlist tree expand depth patch. test code.

SVN revision: 53136
This commit is contained in:
Carsten Haitzler 2010-10-07 07:30:44 +00:00
parent 49b72fa771
commit 5dcabea22e
1 changed files with 6 additions and 0 deletions

View File

@ -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)