clouseau: Show the evas object name property if exists.

SVN revision: 62786
This commit is contained in:
Tom Hacohen 2011-08-25 08:24:50 +00:00
parent 978e289655
commit 3fe85816af
2 changed files with 8 additions and 0 deletions

1
TODO
View File

@ -6,6 +6,7 @@
* When items are coloured, show the exact colour using a rect?
* Handle map/proxy
* Add an option to filter out invisible/clippers
* add a way to filter object with some regexp on the name and also finding a specific object according to name.
* Things to show per-object
* clipping info.

View File

@ -192,6 +192,13 @@ _gl_selected(void *data __UNUSED__, Evas_Object *pobj __UNUSED__,
snprintf(buf, sizeof(buf), "Visibility: %d", (int) visibility);
elm_list_item_append(prop_list, buf, NULL, NULL, NULL, NULL);
if (evas_object_name_get(obj))
{
snprintf(buf, sizeof(buf), "Name: %s",
evas_object_name_get(obj));
elm_list_item_append(prop_list, buf, NULL, NULL, NULL, NULL);
}
snprintf(buf, sizeof(buf), "Layer: %hd",
evas_object_layer_get(obj));
elm_list_item_append(prop_list, buf, NULL, NULL, NULL, NULL);