45
45
<a name="IBusConfig.synopsis"></a><h2>Synopsis</h2>
46
46
<pre class="synopsis">struct <a class="link" href="IBusConfig.html#IBusConfig-struct" title="struct IBusConfig">IBusConfig</a>;
47
47
struct <a class="link" href="IBusConfig.html#IBusConfigClass" title="struct IBusConfigClass">IBusConfigClass</a>;
48
<a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * <a class="link" href="IBusConfig.html#ibus-config-new" title="ibus_config_new ()">ibus_config_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
49
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
50
<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>);
51
<span class="returnvalue">void</span> <a class="link" href="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()">ibus_config_new_async</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
53
<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>,
54
<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>);
55
<a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * <a class="link" href="IBusConfig.html#ibus-config-new-async-finish" title="ibus_config_new_async_finish ()">ibus_config_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>,
56
<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>);
57
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="IBusConfig.html#ibus-config-get-value" title="ibus_config_get_value ()">ibus_config_get_value</a> (<em class="parameter"><code><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> *config</code></em>,
58
49
<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> *section</code></em>,
59
50
<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>);
78
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="IBusConfig.html#ibus-config-get-values-async-finish" title="ibus_config_get_values_async_finish ()">ibus_config_get_values_async_finish</a> (<em class="parameter"><code><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> *config</code></em>,
79
70
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
80
71
<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
<a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * <a class="link" href="IBusConfig.html#ibus-config-new" title="ibus_config_new ()">ibus_config_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</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="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()">ibus_config_new_async</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
77
<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>,
78
<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>);
79
<a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * <a class="link" href="IBusConfig.html#ibus-config-new-async-finish" title="ibus_config_new_async_finish ()">ibus_config_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>,
80
<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>);
81
81
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="IBusConfig.html#ibus-config-set-value" title="ibus_config_set_value ()">ibus_config_set_value</a> (<em class="parameter"><code><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> *config</code></em>,
82
82
<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> *section</code></em>,
83
83
<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>,
153
153
<div class="refsect2">
154
<a name="ibus-config-new"></a><h3>ibus_config_new ()</h3>
155
<pre class="programlisting"><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * ibus_config_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
156
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
157
<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>
159
New an <a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> from existing GDBusConnection.
161
<div class="variablelist"><table border="0">
162
<col align="left" valign="top">
165
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
166
<td>An GDBusConnection.</td>
169
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
170
<td>An newly allocated IBusConfig corresponding to <em class="parameter"><code>connection</code></em>.</td>
176
<div class="refsect2">
177
<a name="ibus-config-new-async"></a><h3>ibus_config_new_async ()</h3>
178
<pre class="programlisting"><span class="returnvalue">void</span> ibus_config_new_async (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
179
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
180
<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>,
181
<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>
183
New an <span class="type">IBusContext</span> asynchronously.
185
<div class="variablelist"><table border="0">
186
<col align="left" valign="top">
189
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
190
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
193
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
194
<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>.</td>
197
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
198
<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.
199
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>.</td>
202
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
203
<td>The data to pass to callback.</td>
209
<div class="refsect2">
210
<a name="ibus-config-new-async-finish"></a><h3>ibus_config_new_async_finish ()</h3>
211
<pre class="programlisting"><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * ibus_config_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>,
212
<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>
214
<em class="parameter"><code>returns</code></em>: A newly allocated <a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a>.
217
Finishes an operation started with <a class="link" href="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()"><code class="function">ibus_config_new_async()</code></a>.
219
<div class="variablelist"><table border="0">
220
<col align="left" valign="top">
223
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
224
<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
225
<a class="link" href="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()"><code class="function">ibus_config_new_async()</code></a>.</td>
228
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
229
<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>.</td>
235
<div class="refsect2">
236
154
<a name="ibus-config-get-value"></a><h3>ibus_config_get_value ()</h3>
237
155
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * ibus_config_get_value (<em class="parameter"><code><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> *config</code></em>,
238
156
<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> *section</code></em>,
461
379
<div class="refsect2">
380
<a name="ibus-config-new"></a><h3>ibus_config_new ()</h3>
381
<pre class="programlisting"><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * ibus_config_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
382
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
383
<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>
385
New an <a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> from existing GDBusConnection.
387
<div class="variablelist"><table border="0">
388
<col align="left" valign="top">
391
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
392
<td>An GDBusConnection.</td>
395
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
396
<td>An newly allocated IBusConfig corresponding to <em class="parameter"><code>connection</code></em>.</td>
402
<div class="refsect2">
403
<a name="ibus-config-new-async"></a><h3>ibus_config_new_async ()</h3>
404
<pre class="programlisting"><span class="returnvalue">void</span> ibus_config_new_async (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
405
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
406
<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>,
407
<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>
409
New an <span class="type">IBusContext</span> asynchronously.
411
<div class="variablelist"><table border="0">
412
<col align="left" valign="top">
415
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
416
<td>An <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
419
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
420
<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>.</td>
423
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
424
<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.
425
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>.</td>
428
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
429
<td>The data to pass to callback.</td>
435
<div class="refsect2">
436
<a name="ibus-config-new-async-finish"></a><h3>ibus_config_new_async_finish ()</h3>
437
<pre class="programlisting"><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="returnvalue">IBusConfig</span></a> * ibus_config_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>,
438
<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>
440
<em class="parameter"><code>returns</code></em>: A newly allocated <a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a>.
443
Finishes an operation started with <a class="link" href="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()"><code class="function">ibus_config_new_async()</code></a>.
445
<div class="variablelist"><table border="0">
446
<col align="left" valign="top">
449
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
450
<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
451
<a class="link" href="IBusConfig.html#ibus-config-new-async" title="ibus_config_new_async ()"><code class="function">ibus_config_new_async()</code></a>.</td>
454
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
455
<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>.</td>
461
<div class="refsect2">
462
462
<a name="ibus-config-set-value"></a><h3>ibus_config_set_value ()</h3>
463
463
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ibus_config_set_value (<em class="parameter"><code><a class="link" href="IBusConfig.html" title="IBusConfig"><span class="type">IBusConfig</span></a> *config</code></em>,
464
464
<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> *section</code></em>,