ctxpopup: add a new api for ctxpopup which makes ctxpopup not to hide automatically

Desktop / Enlightenment / Elementary - Bora Hwang [samsung.com] - 9 February 2014 03:11 UTC

Summary: Developer can use this API for the case when he/she wants ctxpopup not to hide automatically when parent of ctxpopup is resized or language is changed. Default value of "disabled" is EINA_FALSE. So if user sets "disabled" EINA_TRUE and parent size changes, ctxpopup recalculates its size and position. Since size of bg is set when setting parent only, it should be resized again.

Reviewers: Hermet, seoz, thiepha, raster

CC: c

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

f086ac9 ctxpopup: add a new api for ctxpopup which makes ctxpopup not to hide automatically
src/bin/test_ctxpopup.c | 29 +++++++++++++++++++
src/lib/elc_ctxpopup.c | 63 +++++++++++++++++++++++++++++++++++++----
src/lib/elc_ctxpopup_eo.h | 30 ++++++++++++++++++++
src/lib/elc_ctxpopup_legacy.h | 34 ++++++++++++++++++++++
src/lib/elm_widget_ctxpopup.h | 1 +
5 files changed, 152 insertions(+), 5 deletions(-)

Upstream: git.enlightenment.org


  • Share