Top |
void | nimf_service_ic_focus_in () |
void | nimf_service_ic_focus_out () |
gboolean | nimf_service_ic_filter_event () |
void | nimf_service_ic_set_surrounding () |
void | nimf_service_ic_set_use_preedit () |
gboolean | nimf_service_ic_get_use_preedit () |
void | nimf_service_ic_set_cursor_location () |
const NimfRectangle * | nimf_service_ic_get_cursor_location () |
void | nimf_service_ic_reset () |
void | nimf_service_ic_change_engine_by_id () |
void | nimf_service_ic_change_engine () |
void | nimf_service_ic_engine_changed () |
NimfEngine * | nimf_service_ic_get_engine () |
const gchar * | nimf_service_ic_get_service_id () |
void | nimf_service_ic_emit_preedit_start () |
void | nimf_service_ic_emit_preedit_changed () |
void | nimf_service_ic_emit_preedit_end () |
void | nimf_service_ic_emit_commit () |
gboolean | nimf_service_ic_emit_retrieve_surrounding () |
gboolean | nimf_service_ic_emit_delete_surrounding () |
void | nimf_service_ic_emit_beep () |
gboolean nimf_service_ic_filter_event (NimfServiceIC *ic
,NimfEvent *event
);
void nimf_service_ic_set_surrounding (NimfServiceIC *ic
,const char *text
,gint len
,gint cursor_index
);
void nimf_service_ic_set_use_preedit (NimfServiceIC *ic
,gboolean use_preedit
);
If use_preedit
is FALSE
(default is TRUE
), then the input method may use
some other input styles, such as over-the-spot, off-the-spot or root-window.
void nimf_service_ic_set_cursor_location (NimfServiceIC *ic
,const NimfRectangle *area
);
Notifies the service ic
that a change in cursor position has been made. The
location is the position of a window position in root window coordinates.
const NimfRectangle *
nimf_service_ic_get_cursor_location (NimfServiceIC *ic
);
void nimf_service_ic_change_engine_by_id (NimfServiceIC *ic
,const gchar *engine_id
);
Changes the engine by engine id.
void nimf_service_ic_change_engine (NimfServiceIC *ic
,const gchar *engine_id
,const gchar *method_id
);
Changes the engine by engine id and method id.
void nimf_service_ic_engine_changed (NimfServiceIC *ic
,const gchar *engine_id
,const gchar *name
);
NimfEngine *
nimf_service_ic_get_engine (NimfServiceIC *ic
);
Returns the associated NimfEngine instance.
void
nimf_service_ic_emit_preedit_start (NimfServiceIC *ic
);
Emits a “preedit-start” signal.
void nimf_service_ic_emit_preedit_changed (NimfServiceIC *ic
,const gchar *preedit_string
,NimfPreeditAttr **attrs
,gint cursor_pos
);
Emits a “preedit-changed” signal.
ic |
||
preedit_string |
preedit string |
|
attrs |
an array of NimfPreeditAttr |
|
cursor_pos |
cursor position |
void
nimf_service_ic_emit_preedit_end (NimfServiceIC *ic
);
Emits a “preedit-end” signal.
void nimf_service_ic_emit_commit (NimfServiceIC *ic
,const gchar *text
);
Emits a “commit” signal.
gboolean
nimf_service_ic_emit_retrieve_surrounding
(NimfServiceIC *ic
);
Emits a “retrieve-surrounding” signal.
gboolean nimf_service_ic_emit_delete_surrounding (NimfServiceIC *ic
,gint offset
,gint n_chars
);
Emits a “delete-surrounding” signal.
void
nimf_service_ic_emit_beep (NimfServiceIC *ic
);
Emits a “beep” signal.