void EditorStateChanged(IntPtr data, IntPtr ctx, int value) { _IMEState = (Interop.EFL.InputPanelState)value; if (_IMEState == Interop.EFL.InputPanelState.Hide) { HidePopup(); } else if (_IMEState == Interop.EFL.InputPanelState.Show) { _editor.SetFocus(true); _editorPopup.RaiseTop(); _editorPopup.Show(); } }