spinner: Toggle entry on Enter and space key.

This commit is contained in:
Daniel Juyung Seo 2014-01-21 21:59:41 +09:00
parent 6eb6f805ba
commit 8253767035
1 changed files with 6 additions and 0 deletions

View File

@ -478,6 +478,12 @@ _elm_spinner_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
goto success;
}
else if ((!strcmp(ev->key, "Return")) ||
(!strcmp(ev->key, "KP_Enter")) ||
(!strcmp(ev->key, "space")))
{
_entry_toggle_cb(obj, NULL, NULL, NULL);
}
}
else if (type == EVAS_CALLBACK_KEY_UP)
{