edje: Add part_type_get API
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 21 Sep 2017 03:23:29 +0000 (12:23 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 21 Sep 2017 03:28:20 +0000 (12:28 +0900)
commit419f3935c613850f0b1e61ee7246c951ccd258dc
treecf1f99c5d6c215925f20f62f02f894a006f2c7e9
parent2dbd704daee270d33dbfe6be25a5bd1ab287bf57
edje: Add part_type_get API

For now I made this EO-only but this definitely could be expose in
legacy API as well.

This simply gives exact information about the type of part, after doing
a recursive search. Edit Edit doesn't do a recursive search, only a
direct one, which can yield invalid results (eg. RECT or NONE instead of
TEXT in case of "elm.units.max" for a slider).

@feature
src/lib/edje/Edje_Common.h
src/lib/edje/Edje_Legacy.h
src/lib/edje/edje_legacy.c
src/lib/edje/edje_object.eo
src/lib/edje/edje_part.c
src/lib/edje/edje_types.eot
src/lib/edje/edje_util.c
src/lib/edje/efl_canvas_layout_part.eo