efl_input_key: compose -> compose_string

rename this property, as this name was considered better.

ref T7964

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D9141
This commit is contained in:
Marcel Hollerbach 2019-06-20 14:51:55 +02:00
parent 1e86c2bf93
commit 6b8900d4fc
3 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ _key_down(void *data, const Efl_Event *ev)
efl_input_key_get(ev->info), efl_input_key_get(ev->info),
efl_input_key_name_get(ev->info), efl_input_key_name_get(ev->info),
efl_input_key_string_get(ev->info), efl_input_key_string_get(ev->info),
efl_input_key_compose_get(ev->info)); efl_input_key_compose_string_get(ev->info));
elm_object_text_set(td->text, str); elm_object_text_set(td->text, str);
if (!efl_input_fake_get(ev->info)) if (!efl_input_fake_get(ev->info))

View File

@ -119,13 +119,13 @@ _efl_input_key_string_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd)
} }
EOLIAN static void EOLIAN static void
_efl_input_key_compose_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const char *val) _efl_input_key_compose_string_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const char *val)
{ {
eina_stringshare_replace(&pd->compose, val); eina_stringshare_replace(&pd->compose, val);
} }
EOLIAN static const char * EOLIAN static const char *
_efl_input_key_compose_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) _efl_input_key_compose_string_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd)
{ {
return pd->compose; return pd->compose;
} }

View File

@ -32,7 +32,7 @@ class @beta Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Inp
val: string; [[Visible string from key press in UTF8]] val: string; [[Visible string from key press in UTF8]]
} }
} }
@property compose { @property compose_string {
[[A UTF8 string if this keystroke has modified a string in the middle [[A UTF8 string if this keystroke has modified a string in the middle
of being composed. of being composed.