lib: add enventor_object_cursor_pos_set to public API

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1894
This commit is contained in:
ChunEon Park 2015-01-26 13:27:46 +09:00
parent d5898e5434
commit 43b3b77e04
2 changed files with 19 additions and 0 deletions

View File

@ -274,6 +274,17 @@ class Enventor.Object (Elm_Widget, Efl.File) {
@ingroup Enventor */
return: int;
}
cursor_pos_set {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
params {
@in int position; /*@ ... */
}
}
select_none {
/*@
@brief

View File

@ -421,6 +421,14 @@ _enventor_object_cursor_pos_get(Eo *obj EINA_UNUSED, Enventor_Object_Data *pd)
return elm_entry_cursor_pos_get(edit_entry_get(pd->ed));
}
EOLIAN static void
_enventor_object_cursor_pos_set(Eo *obj EINA_UNUSED,
Enventor_Object_Data *pd,
int position)
{
elm_entry_cursor_pos_set(edit_entry_get(pd->ed), position);
}
EOLIAN static const char *
_enventor_object_selection_get(Eo *obj EINA_UNUSED, Enventor_Object_Data *pd)
{