elm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object. 07/138407/1
authorJEONGHYUN YUN <jh0506.yun@samsung.com>
Wed, 12 Jul 2017 06:04:18 +0000 (15:04 +0900)
committerJEONGHYUN YUN <jh0506.yun@samsung.com>
Wed, 12 Jul 2017 06:06:19 +0000 (15:06 +0900)
commitf572922b866d106a51b3adec9d5b92435337b856
tree2ad0cf7d548ec7139a2aeb0c255b9bb70d2b6921
parent24a143f4f6fe8e921bfe32a073e501495aac2448
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: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5004

Change-Id: Iaee2310ff78dd727e7edfd420d14913fec02b4cd
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
src/bin/test_ctxpopup.c
src/lib/elc_ctxpopup.c
src/lib/elm_ctxpopup.eo
src/mobile_lib/elc_ctxpopup.c