file_tab: support full path tooltip info.

This commit is contained in:
Hermet Park 2016-08-03 18:30:49 +09:00
parent 43cfa31a14
commit 98e833ef37
2 changed files with 11 additions and 1 deletions

View File

@ -389,6 +389,11 @@ group { name: "elm/list/h_item/enventor";
visible: 1;
}
}
swallow { "elm.swallow.end";
repeat_events: 1;
desc { "default";
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;

View File

@ -195,7 +195,12 @@ file_tab_it_add(Enventor_Item *enventor_it)
elm_image_file_set(img, EDJE_PATH, "close");
elm_object_content_set(btn, img);
fti->it = elm_list_item_append(fd->list, filename, btn, NULL,
//Tooltip Dummy object
Evas_Object *box = elm_image_add(fd->list);
elm_object_tooltip_text_set(box, ecore_file_realpath(filepath));
elm_object_tooltip_orient_set(box, ELM_TOOLTIP_ORIENT_TOP);
fti->it = elm_list_item_append(fd->list, filename, btn, box,
list_item_selected_cb, fti);
elm_list_go(fd->list);