elm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object.
authorJEONGHYUN YUN <jh0506.yun@samsung.com>
Thu, 10 Aug 2017 05:12:08 +0000 (14:12 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 10 Aug 2017 05:42:08 +0000 (14:42 +0900)
commitbf0b3e0b75f5c6ebc5cb96211b3b21235422e358
tree1a53d2dfc466f9088d890cb5697f130ade24ffd7
parent080c92658890bc3023aa2568c3f4679987a5154f
elm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object.

Summary:
There were only 2 APIs (item_append, item_prepend) for ctxpopup item add.
Added more item add APIs (item_insert_before and item_insert_after) for convenience.

Test Plan:
1. launch elementary_test - ctxpopup
2. click Ctxpopup with callback function sample
3. check whether there are 3 items on ctxpopup

Reviewers: woohyun, Jaehyun, jpeg, cedric

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5004
src/bin/elementary/test_ctxpopup.c
src/lib/elementary/elc_ctxpopup.c
src/lib/elementary/elm_ctxpopup.eo