forked from enlightenment/efl
Add elm_entry_imf_context_reset.
Reset the input method context of the entry if needed. This can be necessary in the case where modifying the buffer would confuse on-going input method behavior. SVN revision: 67882
This commit is contained in:
parent
b2053ef54a
commit
4bcc4a3cb8
|
@ -3554,6 +3554,16 @@ elm_entry_autocapital_type_get(Evas_Object *obj)
|
|||
return wd->autocapital_type;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_entry_imf_context_reset(Evas_Object *obj)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return;
|
||||
|
||||
edje_object_part_text_imf_context_reset(wd->ent, "elm.text");
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled)
|
||||
{
|
||||
|
@ -3595,3 +3605,5 @@ elm_entry_input_panel_hide(Evas_Object *obj)
|
|||
edje_object_part_text_input_panel_hide(wd->ent, "elm.text");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1132,6 +1132,14 @@ EAPI void elm_entry_input_panel_show(Evas_Object *obj);
|
|||
*/
|
||||
EAPI void elm_entry_input_panel_hide(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Reset the input method context of the entry if needed.
|
||||
*
|
||||
* This can be necessary in the case where modifying the buffer would confuse on-going input method behavior
|
||||
* @param obj The entry object
|
||||
*/
|
||||
EAPI void elm_entry_imf_context_reset(Evas_Object *obj);
|
||||
|
||||
/* pre-made filters for entries */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue