<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
  <!ENTITY % gtkdocentities SYSTEM "../xml/gtkdocentities.ent">
  %gtkdocentities;
]>
<refentry id="NimfServiceIC">
<refmeta>
<refentrytitle role="top_of_page" id="NimfServiceIC.top_of_page">NimfServiceIC</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>NIMF Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>NimfServiceIC</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsect1 id="NimfServiceIC.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-focus-in">nimf_service_ic_focus_in</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-focus-out">nimf_service_ic_focus_out</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-filter-event">nimf_service_ic_filter_event</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-set-surrounding">nimf_service_ic_set_surrounding</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-set-use-preedit">nimf_service_ic_set_use_preedit</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-get-use-preedit">nimf_service_ic_get_use_preedit</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-set-cursor-location">nimf_service_ic_set_cursor_location</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="NimfRectangle"><returnvalue>NimfRectangle</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="nimf-service-ic-get-cursor-location">nimf_service_ic_get_cursor_location</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-reset">nimf_service_ic_reset</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-change-engine-by-id">nimf_service_ic_change_engine_by_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-change-engine">nimf_service_ic_change_engine</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-engine-changed">nimf_service_ic_engine_changed</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="NimfEngine"><returnvalue>NimfEngine</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="nimf-service-ic-get-engine">nimf_service_ic_get_engine</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="nimf-service-ic-get-service-id">nimf_service_ic_get_service_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-preedit-start">nimf_service_ic_emit_preedit_start</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-preedit-changed">nimf_service_ic_emit_preedit_changed</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-preedit-end">nimf_service_ic_emit_preedit_end</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-commit">nimf_service_ic_emit_commit</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-retrieve-surrounding">nimf_service_ic_emit_retrieve_surrounding</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-delete-surrounding">nimf_service_ic_emit_delete_surrounding</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="nimf-service-ic-emit-beep">nimf_service_ic_emit_beep</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="NimfServiceIC.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> NimfServiceIC
</screen>
</refsect1>


<refsect1 id="NimfServiceIC.description" role="desc">
<title role="desc.title">Description</title>

</refsect1>
<refsect1 id="NimfServiceIC.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="nimf-service-ic-focus-in" role="function">
<title>nimf_service_ic_focus_in&#160;()</title>
<indexterm zone="nimf-service-ic-focus-in"><primary sortas="service_ic_focus_in">nimf_service_ic_focus_in</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_focus_in (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-focus-in.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-focus-out" role="function">
<title>nimf_service_ic_focus_out&#160;()</title>
<indexterm zone="nimf-service-ic-focus-out"><primary sortas="service_ic_focus_out">nimf_service_ic_focus_out</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_focus_out (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-focus-out.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-filter-event" role="function">
<title>nimf_service_ic_filter_event&#160;()</title>
<indexterm zone="nimf-service-ic-filter-event"><primary sortas="service_ic_filter_event">nimf_service_ic_filter_event</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
nimf_service_ic_filter_event (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                              <parameter><link linkend="NimfEvent"><type>NimfEvent</type></link> *event</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-filter-event.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>event</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfEvent"><type>NimfEvent</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-filter-event.returns" role="returns">
<title>Returns</title>
<para> TRUE if the event is consumed.</para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-set-surrounding" role="function">
<title>nimf_service_ic_set_surrounding&#160;()</title>
<indexterm zone="nimf-service-ic-set-surrounding"><primary sortas="service_ic_set_surrounding">nimf_service_ic_set_surrounding</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_set_surrounding (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                 <parameter>const <link linkend="char"><type>char</type></link> *text</parameter>,
                                 <parameter><link linkend="gint"><type>gint</type></link> len</parameter>,
                                 <parameter><link linkend="gint"><type>gint</type></link> cursor_index</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-set-surrounding.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>text</para></entry>
<entry role="parameter_description"><para>text</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>len</para></entry>
<entry role="parameter_description"><para>length</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cursor_index</para></entry>
<entry role="parameter_description"><para>cursor index</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-set-use-preedit" role="function">
<title>nimf_service_ic_set_use_preedit&#160;()</title>
<indexterm zone="nimf-service-ic-set-use-preedit"><primary sortas="service_ic_set_use_preedit">nimf_service_ic_set_use_preedit</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_set_use_preedit (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                 <parameter><link linkend="gboolean"><type>gboolean</type></link> use_preedit</parameter>);</programlisting>
<para>If <parameter>use_preedit</parameter>
 is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> (default is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>), then the input method may use
some other input styles, such as over-the-spot, off-the-spot or root-window.</para>
<refsect3 id="nimf-service-ic-set-use-preedit.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>use_preedit</para></entry>
<entry role="parameter_description"><para>whether the input method should use an on-the-spot input style</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-get-use-preedit" role="function">
<title>nimf_service_ic_get_use_preedit&#160;()</title>
<indexterm zone="nimf-service-ic-get-use-preedit"><primary sortas="service_ic_get_use_preedit">nimf_service_ic_get_use_preedit</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
nimf_service_ic_get_use_preedit (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-get-use-preedit.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-get-use-preedit.returns" role="returns">
<title>Returns</title>
<para> TRUE if an on-the-spot input style is used</para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-set-cursor-location" role="function">
<title>nimf_service_ic_set_cursor_location&#160;()</title>
<indexterm zone="nimf-service-ic-set-cursor-location"><primary sortas="service_ic_set_cursor_location">nimf_service_ic_set_cursor_location</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_set_cursor_location (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                     <parameter>const <link linkend="NimfRectangle"><type>NimfRectangle</type></link> *area</parameter>);</programlisting>
<para>Notifies the service <parameter>ic</parameter>
 that a change in cursor position has been made. The
location is the position of a window position in root window coordinates.</para>
<refsect3 id="nimf-service-ic-set-cursor-location.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>area</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfRectangle"><type>NimfRectangle</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-get-cursor-location" role="function">
<title>nimf_service_ic_get_cursor_location&#160;()</title>
<indexterm zone="nimf-service-ic-get-cursor-location"><primary sortas="service_ic_get_cursor_location">nimf_service_ic_get_cursor_location</primary></indexterm>
<programlisting language="C">const <link linkend="NimfRectangle"><returnvalue>NimfRectangle</returnvalue></link>&#160;*
nimf_service_ic_get_cursor_location (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-get-cursor-location.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-get-cursor-location.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="NimfRectangle"><type>NimfRectangle</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-reset" role="function">
<title>nimf_service_ic_reset&#160;()</title>
<indexterm zone="nimf-service-ic-reset"><primary sortas="service_ic_reset">nimf_service_ic_reset</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_reset (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-reset.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-change-engine-by-id" role="function">
<title>nimf_service_ic_change_engine_by_id&#160;()</title>
<indexterm zone="nimf-service-ic-change-engine-by-id"><primary sortas="service_ic_change_engine_by_id">nimf_service_ic_change_engine_by_id</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_change_engine_by_id (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                     <parameter>const <link linkend="gchar"><type>gchar</type></link> *engine_id</parameter>);</programlisting>
<para>Changes the engine by engine id.</para>
<refsect3 id="nimf-service-ic-change-engine-by-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>engine_id</para></entry>
<entry role="parameter_description"><para>engine id</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-change-engine" role="function">
<title>nimf_service_ic_change_engine&#160;()</title>
<indexterm zone="nimf-service-ic-change-engine"><primary sortas="service_ic_change_engine">nimf_service_ic_change_engine</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_change_engine (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                               <parameter>const <link linkend="gchar"><type>gchar</type></link> *engine_id</parameter>,
                               <parameter>const <link linkend="gchar"><type>gchar</type></link> *method_id</parameter>);</programlisting>
<para>Changes the engine by engine id and method id.</para>
<refsect3 id="nimf-service-ic-change-engine.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>engine_id</para></entry>
<entry role="parameter_description"><para>engine id</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>method_id</para></entry>
<entry role="parameter_description"><para>method id</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-engine-changed" role="function">
<title>nimf_service_ic_engine_changed&#160;()</title>
<indexterm zone="nimf-service-ic-engine-changed"><primary sortas="service_ic_engine_changed">nimf_service_ic_engine_changed</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_engine_changed (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *engine_id</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *name</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-engine-changed.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>engine_id</para></entry>
<entry role="parameter_description"><para>engine id</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>name</para></entry>
<entry role="parameter_description"><para>name</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-get-engine" role="function">
<title>nimf_service_ic_get_engine&#160;()</title>
<indexterm zone="nimf-service-ic-get-engine"><primary sortas="service_ic_get_engine">nimf_service_ic_get_engine</primary></indexterm>
<programlisting language="C"><link linkend="NimfEngine"><returnvalue>NimfEngine</returnvalue></link>&#160;*
nimf_service_ic_get_engine (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<para>Returns the associated <link linkend="NimfEngine"><type>NimfEngine</type></link> instance.</para>
<refsect3 id="nimf-service-ic-get-engine.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-get-engine.returns" role="returns">
<title>Returns</title>
<para>the engine instance. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-get-service-id" role="function">
<title>nimf_service_ic_get_service_id&#160;()</title>
<indexterm zone="nimf-service-ic-get-service-id"><primary sortas="service_ic_get_service_id">nimf_service_ic_get_service_id</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
nimf_service_ic_get_service_id (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<refsect3 id="nimf-service-ic-get-service-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-get-service-id.returns" role="returns">
<title>Returns</title>
<para>a service id. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-preedit-start" role="function">
<title>nimf_service_ic_emit_preedit_start&#160;()</title>
<indexterm zone="nimf-service-ic-emit-preedit-start"><primary sortas="service_ic_emit_preedit_start">nimf_service_ic_emit_preedit_start</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_emit_preedit_start (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-preedit-start"><type>“preedit-start”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-preedit-start.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-preedit-changed" role="function">
<title>nimf_service_ic_emit_preedit_changed&#160;()</title>
<indexterm zone="nimf-service-ic-emit-preedit-changed"><primary sortas="service_ic_emit_preedit_changed">nimf_service_ic_emit_preedit_changed</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_emit_preedit_changed (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                      <parameter>const <link linkend="gchar"><type>gchar</type></link> *preedit_string</parameter>,
                                      <parameter><link linkend="NimfPreeditAttr"><type>NimfPreeditAttr</type></link> **attrs</parameter>,
                                      <parameter><link linkend="gint"><type>gint</type></link> cursor_pos</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-preedit-changed"><type>“preedit-changed”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-preedit-changed.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>preedit_string</para></entry>
<entry role="parameter_description"><para>preedit string</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>attrs</para></entry>
<entry role="parameter_description"><para>an array of <link linkend="NimfPreeditAttr"><type>NimfPreeditAttr</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>cursor_pos</para></entry>
<entry role="parameter_description"><para>cursor position</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-preedit-end" role="function">
<title>nimf_service_ic_emit_preedit_end&#160;()</title>
<indexterm zone="nimf-service-ic-emit-preedit-end"><primary sortas="service_ic_emit_preedit_end">nimf_service_ic_emit_preedit_end</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_emit_preedit_end (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-preedit-end"><type>“preedit-end”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-preedit-end.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-commit" role="function">
<title>nimf_service_ic_emit_commit&#160;()</title>
<indexterm zone="nimf-service-ic-emit-commit"><primary sortas="service_ic_emit_commit">nimf_service_ic_emit_commit</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_emit_commit (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                             <parameter>const <link linkend="gchar"><type>gchar</type></link> *text</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-commit"><type>“commit”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-commit.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>text</para></entry>
<entry role="parameter_description"><para>text to commit</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-retrieve-surrounding" role="function">
<title>nimf_service_ic_emit_retrieve_surrounding&#160;()</title>
<indexterm zone="nimf-service-ic-emit-retrieve-surrounding"><primary sortas="service_ic_emit_retrieve_surrounding">nimf_service_ic_emit_retrieve_surrounding</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
nimf_service_ic_emit_retrieve_surrounding
                               (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-retrieve-surrounding"><type>“retrieve-surrounding”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-retrieve-surrounding.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-delete-surrounding" role="function">
<title>nimf_service_ic_emit_delete_surrounding&#160;()</title>
<indexterm zone="nimf-service-ic-emit-delete-surrounding"><primary sortas="service_ic_emit_delete_surrounding">nimf_service_ic_emit_delete_surrounding</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
nimf_service_ic_emit_delete_surrounding
                               (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> offset</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> n_chars</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-delete-surrounding"><type>“delete-surrounding”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-delete-surrounding.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>offset</para></entry>
<entry role="parameter_description"><para>the character offset from the cursor position of the text to be
deleted. A negative value indicates a position before the cursor.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>n_chars</para></entry>
<entry role="parameter_description"><para>the number of characters to be deleted</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="nimf-service-ic-emit-delete-surrounding.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the signal was handled.</para>
</refsect3></refsect2>
<refsect2 id="nimf-service-ic-emit-beep" role="function">
<title>nimf_service_ic_emit_beep&#160;()</title>
<indexterm zone="nimf-service-ic-emit-beep"><primary sortas="service_ic_emit_beep">nimf_service_ic_emit_beep</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
nimf_service_ic_emit_beep (<parameter><link linkend="NimfServiceIC"><type>NimfServiceIC</type></link> *ic</parameter>);</programlisting>
<para>Emits a <link linkend="NimfIM-beep"><type>“beep”</type></link> signal.</para>
<refsect3 id="nimf-service-ic-emit-beep.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>ic</para></entry>
<entry role="parameter_description"><para>a <link linkend="NimfServiceIC"><type>NimfServiceIC</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>

</refentry>
