IME_ERROR_NO_CALLBACK_FUNCTION = TIZEN_ERROR_IME | 0x0001, /**< Necessary callback function is not set */
IME_ERROR_NOT_RUNNING = TIZEN_ERROR_IME | 0x0002, /**< IME main loop is not started yet */
IME_ERROR_OPERATION_FAILED = TIZEN_ERROR_IME | 0x0003, /**< Operation failed */
- IME_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< out of memory */
+ IME_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
} ime_error_e;
/**
*
* @privlevel public
*
+ * @privilege %http://tizen.org/privilege/ime
+ *
* @remarks Regardless of the rotation degree, the @a x, @a y values of the top-left corner on the screen are based on 0, 0.
* This function is used to adjust the position of the input panel when its size changes in floating mode.
*
*
* @pre The ime_event_set_***() functions can be called to set the event handling callback functions.
*
- * @see #ime_callback_s
- * @see ime_event_set_focus_in_cb()
- * @see ime_event_set_focus_out_cb()
- * @see ime_event_set_surrounding_text_updated_cb()
- * @see ime_event_set_input_context_reset_cb()
- * @see ime_event_set_cursor_position_updated_cb()
- * @see ime_event_set_language_requested_cb()
- * @see ime_event_set_language_set_cb()
- * @see ime_event_set_imdata_set_cb()
- * @see ime_event_set_layout_set_cb()
- * @see ime_event_set_return_key_type_set_cb()
- * @see ime_event_set_return_key_state_set_cb()
- * @see ime_event_set_geometry_requested_cb()
- * @see ime_event_set_display_language_changed_cb()
- * @see ime_event_set_rotation_degree_changed_cb()
- * @see ime_event_set_accessibility_state_changed_cb()
- * @see ime_event_set_option_window_created_cb()
- * @see ime_event_set_option_window_destroyed_cb()
- * @see ime_event_set_prediction_hint_set_cb()
- *
* @code
static void inputmethod_create_cb(void *user_data);
static void inputmethod_terminate_cb(void *user_data);
ime_run(&basic_callback, NULL);
}
* @endcode
+ *
+ * @see #ime_callback_s
+ * @see ime_event_set_focus_in_cb()
+ * @see ime_event_set_focus_out_cb()
+ * @see ime_event_set_surrounding_text_updated_cb()
+ * @see ime_event_set_input_context_reset_cb()
+ * @see ime_event_set_cursor_position_updated_cb()
+ * @see ime_event_set_language_requested_cb()
+ * @see ime_event_set_language_set_cb()
+ * @see ime_event_set_imdata_set_cb()
+ * @see ime_event_set_layout_set_cb()
+ * @see ime_event_set_return_key_type_set_cb()
+ * @see ime_event_set_return_key_state_set_cb()
+ * @see ime_event_set_geometry_requested_cb()
+ * @see ime_event_set_display_language_changed_cb()
+ * @see ime_event_set_rotation_degree_changed_cb()
+ * @see ime_event_set_accessibility_state_changed_cb()
+ * @see ime_event_set_option_window_created_cb()
+ * @see ime_event_set_option_window_destroyed_cb()
+ * @see ime_event_set_prediction_hint_set_cb()
*/
int ime_run(ime_callback_s *basic_cb, void *user_data);
*
* @post The ime_run() function should be called to start the IME application's main loop.
*
- * @see ime_process_key_event_cb()
- * @see ime_run()
- *
* @code
static void inputmethod_create_cb(void *user_data);
static void inputmethod_terminate_cb(void *user_data);
ime_run(&basic_callback, NULL);
}
* @endcode
+ *
+ * @see ime_process_key_event_cb()
+ * @see ime_run()
*/
int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, void *user_data);
*
* @post This function is supposed to be followed by the ime_show_preedit_string() function.
*
- * @see #ime_preedit_attribute
- * @see ime_commit_string()
- * @see ime_show_preedit_string()
- * @see ime_hide_preedit_string()
- * @see ime_update_preedit_cursor()
- *
* @code
{
int ret;
}
}
* @endcode
+ *
+ * @see #ime_preedit_attribute
+ * @see ime_commit_string()
+ * @see ime_show_preedit_string()
+ * @see ime_hide_preedit_string()
+ * @see ime_update_preedit_cursor()
*/
int ime_update_preedit_string(const char *str, Eina_List *attrs);
*
* @post This function is supposed to be followed by the ime_update_preedit_string() function.
*
- * @see ime_show_preedit_string()
- * @see ime_hide_preedit_string()
- * @see ime_update_preedit_string()
- *
* @code
{
int ret;
ret = ime_update_preedit_cursor(1);
}
* @endcode
+ *
+ * @see ime_show_preedit_string()
+ * @see ime_hide_preedit_string()
+ * @see ime_update_preedit_string()
*/
int ime_update_preedit_cursor(unsigned int pos);