hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=c5c352c91731ae2375a13888af966a9cf577c497
commit c5c352c91731ae2375a13888af966a9cf577c497 Author: Hermet Park <her...@hermet.pe.kr> Date: Tue Feb 9 15:41:30 2016 +0900 ui: improve editor ctxpopup function. allow +/- buttons' autorepeat functions. --- src/lib/ctxpopup.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/ctxpopup.c b/src/lib/ctxpopup.c index 93e5774..3791c58 100644 --- a/src/lib/ctxpopup.c +++ b/src/lib/ctxpopup.c @@ -298,8 +298,12 @@ slider_layout_create(Evas_Object *parent, ctxpopup_data *ctxdata, //Down Button btn = elm_button_add(layout); + elm_button_autorepeat_set(btn, EINA_TRUE); + elm_button_autorepeat_initial_timeout_set(btn, 0.5); + elm_button_autorepeat_gap_timeout_set(btn, 0.1); evas_object_data_set(btn, "layout", layout); evas_object_smart_callback_add(btn, "clicked", btn_down_cb, ctxdata); + evas_object_smart_callback_add(btn, "repeated", btn_down_cb, ctxdata); elm_object_part_content_set(layout, "elm.swallow.down", btn); //Down Image @@ -309,8 +313,12 @@ slider_layout_create(Evas_Object *parent, ctxpopup_data *ctxdata, //Up Button btn = elm_button_add(layout); + elm_button_autorepeat_set(btn, EINA_TRUE); + elm_button_autorepeat_initial_timeout_set(btn, 0.5); + elm_button_autorepeat_gap_timeout_set(btn, 0.1); evas_object_data_set(btn, "layout", layout); evas_object_smart_callback_add(btn, "clicked", btn_up_cb, ctxdata); + evas_object_smart_callback_add(btn, "repeated", btn_up_cb, ctxdata); elm_object_part_content_set(layout, "elm.swallow.up", btn); //Up Image --