Description

Build a read-only name for this object used for debugging.

Multiple calls using efl_super() can be chained in order to build the entire debug name, from parent to child classes. In C the usual way to build the string is as follows:

efl_debug_name_override(efl_super(obj, MY_CLASS), sb); eina_strbuf_append_printf(sb, "new_information");

Usually more debug information should be added to sb after calling the super function.

Since 1.21

Signature

debug_name_override {
    params {
        @in sb: ptr(free(Eina.Strbuf, eina_strbuf_free));
    }
}

C signature

void efl_debug_name_override(Eo *obj, Eina_Strbuf *sb);

Parameters

  • sb (in) - A string buffer, must not be null.

Implemented by

  • Efl.Object.debug_name_override