47
49
<a name="IBusInputContext.synopsis"></a><h2>Synopsis</h2>
48
50
<pre class="synopsis"> <a class="link" href="IBusInputContext.html#IBusInputContext-struct" title="IBusInputContext">IBusInputContext</a>;
49
51
<a class="link" href="IBusInputContext.html#IBusInputContextClass" title="IBusInputContextClass">IBusInputContextClass</a>;
52
<a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-new" title="ibus_input_context_new ()">ibus_input_context_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
54
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
56
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-new-async" title="ibus_input_context_new_async ()">ibus_input_context_new_async</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
61
<a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-new-async-finish" title="ibus_input_context_new_async_finish ()">ibus_input_context_new_async_finish</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
63
<a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-get-input-context" title="ibus_input_context_get_input_context ()">ibus_input_context_get_input_context</a>
64
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>);
66
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-get-input-context-async" title="ibus_input_context_get_input_context_async ()">ibus_input_context_get_input_context_async</a>
67
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
68
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
70
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
72
<a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-get-input-context-async-finish" title="ibus_input_context_get_input_context_async_finish ()">ibus_input_context_get_input_context_async_finish</a>
73
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
75
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event-async" title="ibus_input_context_process_key_event_async ()">ibus_input_context_process_key_event_async</a>
76
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
77
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keyval</code></em>,
78
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keycode</code></em>,
79
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> state</code></em>,
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
84
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event-async-finish" title="ibus_input_context_process_key_event_async_finish ()">ibus_input_context_process_key_event_async_finish</a>
85
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
87
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *processed</code></em>,
88
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
50
89
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event" title="ibus_input_context_process_key_event ()">ibus_input_context_process_key_event</a>
51
90
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
52
91
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keyval</code></em>,
63
102
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-property-activate" title="ibus_input_context_property_activate ()">ibus_input_context_property_activate</a>
64
103
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
65
104
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prop_name</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> state</code></em>);
105
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> state</code></em>);
67
106
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-focus-in" title="ibus_input_context_focus_in ()">ibus_input_context_focus_in</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
68
107
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-focus-out" title="ibus_input_context_focus_out ()">ibus_input_context_focus_out</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
69
108
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-reset" title="ibus_input_context_reset ()">ibus_input_context_reset</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
70
109
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-enable" title="ibus_input_context_enable ()">ibus_input_context_enable</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
71
110
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-disable" title="ibus_input_context_disable ()">ibus_input_context_disable</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
111
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-is-enabled-async" title="ibus_input_context_is_enabled_async ()">ibus_input_context_is_enabled_async</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
112
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
113
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
114
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
115
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
116
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusInputContext.html#ibus-input-context-is-enabled-async-finish" title="ibus_input_context_is_enabled_async_finish ()">ibus_input_context_is_enabled_async_finish</a>
117
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
118
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
119
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *retval</code></em>,
120
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
72
121
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusInputContext.html#ibus-input-context-is-enabled" title="ibus_input_context_is_enabled ()">ibus_input_context_is_enabled</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
122
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-get-engine-async" title="ibus_input_context_get_engine_async ()">ibus_input_context_get_engine_async</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
123
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
124
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
125
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
126
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
127
<a class="link" href="IBusEngineDesc.html" title="IBusEngineDesc"><span class="returnvalue">IBusEngineDesc</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-get-engine-async-finish" title="ibus_input_context_get_engine_async_finish ()">ibus_input_context_get_engine_async_finish</a>
128
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
129
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
130
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
131
<a class="link" href="IBusEngineDesc.html" title="IBusEngineDesc"><span class="returnvalue">IBusEngineDesc</span></a> * <a class="link" href="IBusInputContext.html#ibus-input-context-get-engine" title="ibus_input_context_get_engine ()">ibus_input_context_get_engine</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
73
132
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-set-engine" title="ibus_input_context_set_engine ()">ibus_input_context_set_engine</a> (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
74
133
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
134
<span class="returnvalue">void</span> <a class="link" href="IBusInputContext.html#ibus-input-context-set-surrounding-text" title="ibus_input_context_set_surrounding_text ()">ibus_input_context_set_surrounding_text</a>
135
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
136
<em class="parameter"><code><a class="link" href="IBusText.html" title="IBusText"><span class="type">IBusText</span></a> *text</code></em>,
137
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> cursor_pos</code></em>);
138
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusInputContext.html#ibus-input-context-needs-surrounding-text" title="ibus_input_context_needs_surrounding_text ()">ibus_input_context_needs_surrounding_text</a>
139
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);
77
142
<div class="refsect1" title="Object Hierarchy">
78
143
<a name="IBusInputContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
79
144
<pre class="synopsis">
80
145
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
81
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
82
+----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
83
+----<a class="link" href="IBusProxy.html" title="IBusProxy">IBusProxy</a>
146
+----<a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html">GDBusProxy</a>
147
+----<a class="link" href="IBusProxy.html" title="IBusProxy">IBusProxy</a>
148
+----IBusInputContext
151
<div class="refsect1" title="Implemented Interfaces">
152
<a name="IBusInputContext.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
154
IBusInputContext implements
155
<a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a> and <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a>.</p>
87
157
<div class="refsect1" title="Signals">
88
158
<a name="IBusInputContext.signals"></a><h2>Signals</h2>
89
159
<pre class="synopsis">
145
<div class="refsect2" title="ibus_input_context_process_key_event ()">
146
<a name="ibus-input-context-process-key-event"></a><h3>ibus_input_context_process_key_event ()</h3>
147
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_process_key_event
215
<div class="refsect2" title="ibus_input_context_new ()">
216
<a name="ibus-input-context-new"></a><h3>ibus_input_context_new ()</h3>
217
<pre class="programlisting"><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * ibus_input_context_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
218
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
219
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
220
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
222
<em class="parameter"><code>returns</code></em>: A newly allocated IBusInputContext.
225
New an IBusInputContext.
227
<div class="variablelist"><table border="0">
228
<col align="left" valign="top">
231
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
232
<td>The path to the object that emitting the signal.
236
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
237
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
241
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
242
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
246
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
247
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
251
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
259
<div class="refsect2" title="ibus_input_context_new_async ()">
260
<a name="ibus-input-context-new-async"></a><h3>ibus_input_context_new_async ()</h3>
261
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_new_async (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
262
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
263
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
264
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
265
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
267
New an <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> asynchronously.
269
<div class="variablelist"><table border="0">
270
<col align="left" valign="top">
273
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
274
<td>The path to the object that emitting the signal.
278
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
279
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
283
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
284
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
288
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
289
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.
290
The callback should not be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
294
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
295
<td>The data to pass to callback.
302
<div class="refsect2" title="ibus_input_context_new_async_finish ()">
303
<a name="ibus-input-context-new-async-finish"></a><h3>ibus_input_context_new_async_finish ()</h3>
304
<pre class="programlisting"><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * ibus_input_context_new_async_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
305
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
307
<em class="parameter"><code>returns</code></em>: A newly allocated <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
310
Finishes an operation started with <a class="link" href="IBusInputContext.html#ibus-input-context-new-async" title="ibus_input_context_new_async ()"><code class="function">ibus_input_context_new_async()</code></a>.
312
<div class="variablelist"><table border="0">
313
<col align="left" valign="top">
316
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
317
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> pass to
318
<a class="link" href="IBusInputContext.html#ibus-input-context-new-async" title="ibus_input_context_new_async ()"><code class="function">ibus_input_context_new_async()</code></a>.
322
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
323
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
335
<div class="refsect2" title="ibus_input_context_get_input_context ()">
336
<a name="ibus-input-context-get-input-context"></a><h3>ibus_input_context_get_input_context ()</h3>
337
<pre class="programlisting"><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * ibus_input_context_get_input_context
338
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
339
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
341
Gets an existing IBusInputContext.
343
<div class="variablelist"><table border="0">
344
<col align="left" valign="top">
347
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
348
<td>The path to the object that emitting the signal.
352
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
353
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
357
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
358
<td> An existing <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
365
<div class="refsect2" title="ibus_input_context_get_input_context_async ()">
366
<a name="ibus-input-context-get-input-context-async"></a><h3>ibus_input_context_get_input_context_async ()</h3>
367
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_get_input_context_async
368
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
369
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
370
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
371
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
372
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
374
Get an existing <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> asynchronously.
376
<div class="variablelist"><table border="0">
377
<col align="left" valign="top">
380
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
381
<td>The path to the object that emitting the signal.
385
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
386
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
390
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
391
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
395
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
396
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.
397
The callback should not be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
401
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
402
<td>The data to pass to callback.
409
<div class="refsect2" title="ibus_input_context_get_input_context_async_finish ()">
410
<a name="ibus-input-context-get-input-context-async-finish"></a><h3>ibus_input_context_get_input_context_async_finish ()</h3>
411
<pre class="programlisting"><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="returnvalue">IBusInputContext</span></a> * ibus_input_context_get_input_context_async_finish
412
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
413
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
415
<em class="parameter"><code>returns</code></em>: (transfer none): An existing <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
418
Finishes an operation started with <code class="function">ibus_input_contex_get_input_context_async()</code>.
420
<div class="variablelist"><table border="0">
421
<col align="left" valign="top">
424
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
425
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> pass to
426
<a class="link" href="IBusInputContext.html#ibus-input-context-get-input-context-async" title="ibus_input_context_get_input_context_async ()"><code class="function">ibus_input_context_get_input_context_async()</code></a>.
430
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
431
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
435
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
443
<div class="refsect2" title="ibus_input_context_process_key_event_async ()">
444
<a name="ibus-input-context-process-key-event-async"></a><h3>ibus_input_context_process_key_event_async ()</h3>
445
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_process_key_event_async
148
446
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
149
447
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keyval</code></em>,
150
448
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keycode</code></em>,
151
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> state</code></em>);</pre>
449
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> state</code></em>,
450
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
451
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
452
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
453
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
153
455
Pass the key event to input method engine.
173
475
Use <a class="link" href="IBusKeymap.html#ibus-keymap-lookup-keysym" title="ibus_keymap_lookup_keysym ()"><code class="function">ibus_keymap_lookup_keysym()</code></a> to convert keycode to keysym in given keyboard layout.
176
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-process-key-event" title='The "process-key-event" signal'><span class="type">"process-key-event"</span></a>
478
see_also: <a class="link" href="IBusEngine.html#IBusEngine-process-key-event" title='The "process-key-event" signal'><span class="type">"process-key-event"</span></a>
480
<div class="variablelist"><table border="0">
481
<col align="left" valign="top">
484
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
485
<td>An IBusInputContext.
489
<td><p><span class="term"><em class="parameter"><code>keyval</code></em> :</span></p></td>
490
<td>Key symbol of a key event.
494
<td><p><span class="term"><em class="parameter"><code>keycode</code></em> :</span></p></td>
495
<td>Keycode of a key event.
499
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
500
<td>Key modifier flags.
504
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
505
<td>The timeout in milliseconds or -1 to use the default timeout.
509
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
510
<td>A GCancellable or NULL.
514
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
515
<td>A GAsyncReadyCallback to call when the request is satisfied or NULL
516
if you don't care about the result of the method invocation.
520
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
521
<td>The data to pass to callback.
528
<div class="refsect2" title="ibus_input_context_process_key_event_async_finish ()">
529
<a name="ibus-input-context-process-key-event-async-finish"></a><h3>ibus_input_context_process_key_event_async_finish ()</h3>
530
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_process_key_event_async_finish
531
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
532
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
533
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *processed</code></em>,
534
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
536
Finishes an operation started with <a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event-async" title="ibus_input_context_process_key_event_async ()"><code class="function">ibus_input_context_process_key_event_async()</code></a>.
538
<div class="variablelist"><table border="0">
539
<col align="left" valign="top">
542
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
543
<td>An IBusInputContext.
547
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
548
<td>A GAsyncResult obtained from the GAsyncReadyCallback passed to
549
<a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event-async" title="ibus_input_context_process_key_event_async ()"><code class="function">ibus_input_context_process_key_event_async()</code></a>.
553
<td><p><span class="term"><em class="parameter"><code>processed</code></em> :</span></p></td>
554
<td>A point to a bool value. If the the key event is processed, it will
555
assigned to TRUE, FALSE otherwise.
559
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
560
<td>Return location for error or NULL.
564
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
565
<td>TRUE for success; FALSE otherwise.
572
<div class="refsect2" title="ibus_input_context_process_key_event ()">
573
<a name="ibus-input-context-process-key-event"></a><h3>ibus_input_context_process_key_event ()</h3>
574
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_process_key_event
575
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
576
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keyval</code></em>,
577
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> keycode</code></em>,
578
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> state</code></em>);</pre>
580
Pass the key event to input method engine and wait for the reply from ibus (i.e. synchronous IPC).
583
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusInputContext.html#ibus-input-context-process-key-event-async" title="ibus_input_context_process_key_event_async ()"><code class="function">ibus_input_context_process_key_event_async()</code></a>
178
585
<div class="variablelist"><table border="0">
179
586
<col align="left" valign="top">
823
<div class="refsect2" title="ibus_input_context_is_enabled_async ()">
824
<a name="ibus-input-context-is-enabled-async"></a><h3>ibus_input_context_is_enabled_async ()</h3>
825
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_is_enabled_async (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
826
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
827
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
828
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
829
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
831
An asynchronous IPC will be performed.
833
<div class="variablelist"><table border="0">
834
<col align="left" valign="top">
837
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
838
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
842
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
843
<td>The timeout in milliseconds or -1 to use the default timeout.
847
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
848
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
852
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
853
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
854
if you don't care about the result of the method invocation.
858
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
859
<td>The data to pass to callback.
866
<div class="refsect2" title="ibus_input_context_is_enabled_async_finish ()">
867
<a name="ibus-input-context-is-enabled-async-finish"></a><h3>ibus_input_context_is_enabled_async_finish ()</h3>
868
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_is_enabled_async_finish
869
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
870
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
871
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *retval</code></em>,
872
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
874
Finishes an operation started with <a class="link" href="IBusInputContext.html#ibus-input-context-is-enabled-async" title="ibus_input_context_is_enabled_async ()"><code class="function">ibus_input_context_is_enabled_async()</code></a>.
876
<div class="variablelist"><table border="0">
877
<col align="left" valign="top">
880
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
881
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
885
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
886
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to
887
<a class="link" href="IBusInputContext.html#ibus-input-context-is-enabled-async" title="ibus_input_context_is_enabled_async ()"><code class="function">ibus_input_context_is_enabled_async()</code></a>.
891
<td><p><span class="term"><em class="parameter"><code>retval</code></em> :</span></p></td>
892
<td>If the the context is enabled, it will be assigned to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
896
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
897
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
901
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
903
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success; <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
412
910
<div class="refsect2" title="ibus_input_context_is_enabled ()">
413
911
<a name="ibus-input-context-is-enabled"></a><h3>ibus_input_context_is_enabled ()</h3>
414
912
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_is_enabled (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
416
914
Returns TRUE if the IME is enabled on the context.
915
A asynchronous IPC will be performed.
418
917
<div class="variablelist"><table border="0">
419
918
<col align="left" valign="top">
934
<div class="refsect2" title="ibus_input_context_get_engine_async ()">
935
<a name="ibus-input-context-get-engine-async"></a><h3>ibus_input_context_get_engine_async ()</h3>
936
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_get_engine_async (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
937
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
938
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
939
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
940
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
942
An asynchronous IPC will be performed.
944
<div class="variablelist"><table border="0">
945
<col align="left" valign="top">
948
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
949
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
953
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
954
<td>The timeout in milliseconds or -1 to use the default timeout.
958
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
959
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
963
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
964
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
965
if you don't care about the result of the method invocation.
969
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
970
<td>The data to pass to callback.
977
<div class="refsect2" title="ibus_input_context_get_engine_async_finish ()">
978
<a name="ibus-input-context-get-engine-async-finish"></a><h3>ibus_input_context_get_engine_async_finish ()</h3>
979
<pre class="programlisting"><a class="link" href="IBusEngineDesc.html" title="IBusEngineDesc"><span class="returnvalue">IBusEngineDesc</span></a> * ibus_input_context_get_engine_async_finish
980
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
981
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
982
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
984
Finishes an operation started with <a class="link" href="IBusInputContext.html#ibus-input-context-get-engine-async" title="ibus_input_context_get_engine_async ()"><code class="function">ibus_input_context_get_engine_async()</code></a>.
986
<div class="variablelist"><table border="0">
987
<col align="left" valign="top">
990
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
991
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
995
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
996
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to
997
<a class="link" href="IBusInputContext.html#ibus-input-context-get-engine-async" title="ibus_input_context_get_engine_async ()"><code class="function">ibus_input_context_get_engine_async()</code></a>.
1001
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1002
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1006
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1007
<td> An IME engine description for the context, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
1014
<div class="refsect2" title="ibus_input_context_get_engine ()">
1015
<a name="ibus-input-context-get-engine"></a><h3>ibus_input_context_get_engine ()</h3>
1016
<pre class="programlisting"><a class="link" href="IBusEngineDesc.html" title="IBusEngineDesc"><span class="returnvalue">IBusEngineDesc</span></a> * ibus_input_context_get_engine (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
1018
Returns an IME engine description for the context.
1019
A synchronous IPC will be performed.
1021
<div class="variablelist"><table border="0">
1022
<col align="left" valign="top">
1025
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1026
<td>An IBusInputContext.
1030
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1031
<td> An IME engine description for the context, or NULL. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
435
1038
<div class="refsect2" title="ibus_input_context_set_engine ()">
436
1039
<a name="ibus-input-context-set-engine"></a><h3>ibus_input_context_set_engine ()</h3>
437
1040
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_set_engine (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
438
1041
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
440
1043
Invoked when the IME engine is changed.
1044
An asynchronous IPC will be performed.
442
1046
<div class="variablelist"><table border="0">
443
1047
<col align="left" valign="top">
1063
<div class="refsect2" title="ibus_input_context_set_surrounding_text ()">
1064
<a name="ibus-input-context-set-surrounding-text"></a><h3>ibus_input_context_set_surrounding_text ()</h3>
1065
<pre class="programlisting"><span class="returnvalue">void</span> ibus_input_context_set_surrounding_text
1066
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
1067
<em class="parameter"><code><a class="link" href="IBusText.html" title="IBusText"><span class="type">IBusText</span></a> *text</code></em>,
1068
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> cursor_pos</code></em>);</pre>
1069
<div class="variablelist"><table border="0">
1070
<col align="left" valign="top">
1073
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1074
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
1078
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
1079
<td>An <a class="link" href="IBusText.html" title="IBusText"><span class="type">IBusText</span></a> surrounding the current cursor on the application.
1083
<td><p><span class="term"><em class="parameter"><code>cursor_pos</code></em> :</span></p></td>
1091
<div class="refsect2" title="ibus_input_context_needs_surrounding_text ()">
1092
<a name="ibus-input-context-needs-surrounding-text"></a><h3>ibus_input_context_needs_surrounding_text ()</h3>
1093
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_input_context_needs_surrounding_text
1094
(<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
1096
Check whether the current engine requires surrounding-text.
1098
<div class="variablelist"><table border="0">
1099
<col align="left" valign="top">
1102
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
1103
<td>An <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a>.
1107
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1109
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if surrounding-text is needed by the current engine;
1110
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
459
1117
<div class="refsect1" title="Signal Details">
460
1118
<a name="IBusInputContext.signal-details"></a><h2>Signal Details</h2>