summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-14 16:55:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-04 10:24:03 +0900
commit569ad0bac4590e8a18800741ea2345174c3683f3 (patch)
tree3c5853579dd35760b89bf397ad2e7e2675b4d7db /src/lib/elementary/efl_ui_win.c
parentc4769ff8989bab2b745017b843f073e5737e91e0 (diff)
evas/edje/elm: Override debug_name in core classes
This is really only a demonstration of what kind of information we can print with efl_debug_name_get(). Hopefully this can help debugging with printf/ERR logs and even help with live debugging inside gdb. This shouldn't be used for other purposes than debugging, as the exact string format is not defined. @feature
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 63f3957dd5..7456cb87d4 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -6608,6 +6608,15 @@ _efl_ui_win_class_constructor(Efl_Class *klass)
6608 } 6608 }
6609} 6609}
6610 6610
6611EOLIAN static const char *
6612_efl_ui_win_efl_object_debug_name_override_get(Eo *obj, Efl_Ui_Win_Data *pd)
6613{
6614 const char *base;
6615
6616 base = efl_debug_name_get(efl_super(obj, MY_CLASS));
6617 return eina_slstr_printf("%s:'%s':'%s'", base, pd->name, pd->title);
6618}
6619
6611EOLIAN static Eo* 6620EOLIAN static Eo*
6612_efl_ui_win_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED) 6621_efl_ui_win_elm_interface_atspi_accessible_parent_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED)
6613{ 6622{