ibusengine.h | ibusengine.h | |||
---|---|---|---|---|
skipping to change at line 227 | skipping to change at line 227 | |||
gboolean visible); | gboolean visible); | |||
/** | /** | |||
* ibus_engine_update_preedit_text_with_mode: | * ibus_engine_update_preedit_text_with_mode: | |||
* @engine: An IBusEngine. | * @engine: An IBusEngine. | |||
* @text: Update content. | * @text: Update content. | |||
* @cursor_pos: Current position of cursor | * @cursor_pos: Current position of cursor | |||
* @visible: Whether the pre-edit buffer is visible. | * @visible: Whether the pre-edit buffer is visible. | |||
* @mode: Pre-edit commit mode when the focus is lost. | * @mode: Pre-edit commit mode when the focus is lost. | |||
* | * | |||
* Update the pre-edit buffer with commit mode. | * Update the pre-edit buffer with commit mode. Similar to | |||
* if mode is IBUS_ENGINE_PREEDIT_CLEAR, | * ibus_engine_update_preedit_text(), this function allows users to specify | |||
* ibus_engine_update_preedit_text_with_mode is compatible with | * the behavior on focus out when the pre-edit buffer is visible. | |||
* ibus_engine_update_preedit_text. | * | |||
* If @mode is IBUS_ENGINE_PREEDIT_COMMIT, contents of the pre-edit buffer | ||||
* will be comitted and cleared. | ||||
* If @mode is IBUS_ENGINE_PREEDIT_CLEAR, contents of the pre-edit buffer | ||||
* will be cleared only. | ||||
* | * | |||
* (Note: The text object will be released, if it is floating. | * (Note: The text object will be released, if it is floating. | |||
* If caller want to keep the object, caller should make the object | * If caller want to keep the object, caller should make the object | |||
* sink by g_object_ref_sink.) | * sink by g_object_ref_sink.) | |||
*/ | */ | |||
void ibus_engine_update_preedit_text_with_mode | void ibus_engine_update_preedit_text_with_mode | |||
(IBusEngine *engine, | (IBusEngine *engine, | |||
IBusText *text, | IBusText *text, | |||
guint cursor_po s, | guint cursor_po s, | |||
gboolean visible, | gboolean visible, | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 8 lines changed or added | |||