forked from enlightenment/efl
Ui text: remove unimplemented imf api
This commit is contained in:
parent
6accf13b34
commit
43949062eb
|
@ -1181,8 +1181,7 @@ _efl_ui_text_elm_widget_on_focus(Eo *obj, Efl_Ui_Text_Data *sd, Elm_Object_Item
|
||||||
if (sd->scroll)
|
if (sd->scroll)
|
||||||
edje_object_signal_emit(sd->scr_edje, "elm,action,focus", "elm");
|
edje_object_signal_emit(sd->scr_edje, "elm,action,focus", "elm");
|
||||||
|
|
||||||
if (top && top_is_win && sd->input_panel_enable && !sd->input_panel_show_on_demand &&
|
if (top && top_is_win && sd->input_panel_enable && !sd->input_panel_show_on_demand)
|
||||||
!edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text"))
|
|
||||||
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
|
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
|
||||||
efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_FOCUSED, NULL);
|
efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_FOCUSED, NULL);
|
||||||
if (_elm_config->atspi_mode)
|
if (_elm_config->atspi_mode)
|
||||||
|
@ -1199,8 +1198,7 @@ _efl_ui_text_elm_widget_on_focus(Eo *obj, Efl_Ui_Text_Data *sd, Elm_Object_Item
|
||||||
edje_object_signal_emit(sd->scr_edje, "elm,action,unfocus", "elm");
|
edje_object_signal_emit(sd->scr_edje, "elm,action,unfocus", "elm");
|
||||||
evas_object_focus_set(sw, EINA_FALSE);
|
evas_object_focus_set(sw, EINA_FALSE);
|
||||||
|
|
||||||
if (top && top_is_win && sd->input_panel_enable &&
|
if (top && top_is_win && sd->input_panel_enable)
|
||||||
!edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text"))
|
|
||||||
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_OFF);
|
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_OFF);
|
||||||
efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_UNFOCUSED, NULL);
|
efl_event_callback_legacy_call(obj, ELM_WIDGET_EVENT_UNFOCUSED, NULL);
|
||||||
if (_elm_config->atspi_mode)
|
if (_elm_config->atspi_mode)
|
||||||
|
@ -2002,8 +2000,7 @@ _mouse_up_cb(void *data,
|
||||||
if (efl_isa(top, EFL_UI_WIN_CLASS))
|
if (efl_isa(top, EFL_UI_WIN_CLASS))
|
||||||
top_is_win = EINA_TRUE;
|
top_is_win = EINA_TRUE;
|
||||||
|
|
||||||
if (top_is_win && sd->input_panel_enable && sd->input_panel_show_on_demand &&
|
if (top_is_win && sd->input_panel_enable && sd->input_panel_show_on_demand)
|
||||||
!edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text"))
|
|
||||||
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
|
elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4141,12 +4138,6 @@ _efl_ui_text_input_hint_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd)
|
||||||
return sd->input_hints;
|
return sd->input_hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
|
||||||
_efl_ui_text_imf_context_reset(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd)
|
|
||||||
{
|
|
||||||
edje_object_part_text_imf_context_reset(sd->entry_edje, "elm.text");
|
|
||||||
}
|
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
_efl_ui_text_input_panel_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, Eina_Bool enabled)
|
_efl_ui_text_input_panel_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, Eina_Bool enabled)
|
||||||
{
|
{
|
||||||
|
@ -4261,14 +4252,6 @@ _efl_ui_text_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Dat
|
||||||
return sd->input_panel_show_on_demand;
|
return sd->input_panel_show_on_demand;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void*
|
|
||||||
_efl_ui_text_imf_context_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd)
|
|
||||||
{
|
|
||||||
if (!sd) return NULL;
|
|
||||||
|
|
||||||
return edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* START - ANCHOR HOVER */
|
/* START - ANCHOR HOVER */
|
||||||
static void
|
static void
|
||||||
_anchor_parent_del_cb(void *data,
|
_anchor_parent_del_cb(void *data,
|
||||||
|
|
|
@ -281,18 +281,6 @@ class Efl.Ui.Text (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
|
||||||
enabled: bool; [[If $enabled is $true, the return key is automatically disabled when the entry has no text.]]
|
enabled: bool; [[If $enabled is $true, the return key is automatically disabled when the entry has no text.]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property imf_context {
|
|
||||||
get {
|
|
||||||
[[Returns the input method context of the entry.
|
|
||||||
|
|
||||||
This function exposes the internal input method context.
|
|
||||||
|
|
||||||
IMPORTANT: Many functions may change (i.e delete and create a new one)
|
|
||||||
the internal input method context. Do NOT cache the returned object.
|
|
||||||
]]
|
|
||||||
return: void_ptr; [[Input method context]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
item_provider_prepend {
|
item_provider_prepend {
|
||||||
[[This prepends a custom item provider to the list for that entry
|
[[This prepends a custom item provider to the list for that entry
|
||||||
|
|
||||||
|
@ -309,13 +297,6 @@ class Efl.Ui.Text (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
|
||||||
This API can be used in the case of manually controlling by using @.input_panel_enabled.set(en, $false).
|
This API can be used in the case of manually controlling by using @.input_panel_enabled.set(en, $false).
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
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.
|
|
||||||
This will typically cause the Input Method Context to clear the preedit state.
|
|
||||||
]]
|
|
||||||
}
|
|
||||||
selection_copy {
|
selection_copy {
|
||||||
[[This executes a "copy" action on the selected text in the entry.]]
|
[[This executes a "copy" action on the selected text in the entry.]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue