edje: implement container api
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 24 Jan 2019 09:18:01 +0000 (10:18 +0100)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 01:53:56 +0000 (10:53 +0900)
commit1bffdda2b2c5da0e7f60e87af06026e975fb564d
tree71cf5a53354108f06e811835b6d77669c38f8662
parentc2e326749b24d90ebb9acddb44412f82be7ca0c3
edje: implement container api

the container api returns the number of added swallows.
the content iterator returns a iterator over all swallowed objects.

The reason this is only for swallows is that the interface explicitly
mentions UI elements at the count. Since i am believing the the result
of the count operation should mirror to the amount of elements in the
iterator, the iterator only returns swallowed objects.

ref T5719

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7748
src/lib/edje/edje_util.c
src/lib/edje/efl_canvas_layout.eo
src/tests/edje/edje_test_swallow.c