forked from enlightenment/enventor
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:
parent
d5898e5434
commit
43b3b77e04
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue