~ubuntu-branches/ubuntu/quantal/ibus/quantal

« back to all changes in this revision

Viewing changes to docs/reference/ibus/html/IBusInputContext.html

  • Committer: Bazaar Package Importer
  • Author(s): Barry Warsaw
  • Date: 2011-08-11 17:00:57 UTC
  • mfrom: (6.2.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110811170057-6dmbfs4s3cchzl7x
Tags: 1.3.99.20110419-1ubuntu1
* Merge with Debian unstable.  Remaining Ubuntu changes:
  - Indicator support:
    + Add 05_appindicator.patch: Use an indicator rather than a notification
      icon.
    + debian/control: Recommend python-appindicator.
  - debian/control: Install im-switch instead of im-config by default.
  - debian/README.source: Removed, it was outdated and no longer correct
  - debian/patches/01_ubuntu_desktop: Fix "Desktop entry needs the
    X-Ubuntu-Gettext-Domain key"  (LP: #457632)
  - debian/patches/02_title_update.patch: Rename "IBus Preferences" to
    "Keyboard Input Methods"
  - debian/patches/06_locale_parser.patch: Cherry-picked from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                   | 
28
28
                  <a href="#IBusInputContext.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
29
                   | 
 
30
                  <a href="#IBusInputContext.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
                   | 
30
32
                  <a href="#IBusInputContext.signals" class="shortcut">Signals</a>
31
33
</td></tr>
32
34
</table>
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>);
75
140
</pre>
76
141
</div>
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>
84
 
                     +----IBusInputContext
 
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
85
149
</pre>
86
150
</div>
 
151
<div class="refsect1" title="Implemented Interfaces">
 
152
<a name="IBusInputContext.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
153
<p>
 
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>
 
156
</div>
87
157
<div class="refsect1" title="Signals">
88
158
<a name="IBusInputContext.signals"></a><h2>Signals</h2>
89
159
<pre class="synopsis">
142
212
</p>
143
213
</div>
144
214
<hr>
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>
 
221
<p>
 
222
<em class="parameter"><code>returns</code></em>: A newly allocated IBusInputContext.
 
223
</p>
 
224
<p>
 
225
New an IBusInputContext.
 
226
</p>
 
227
<div class="variablelist"><table border="0">
 
228
<col align="left" valign="top">
 
229
<tbody>
 
230
<tr>
 
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.
 
233
</td>
 
234
</tr>
 
235
<tr>
 
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>.
 
238
</td>
 
239
</tr>
 
240
<tr>
 
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>.
 
243
</td>
 
244
</tr>
 
245
<tr>
 
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>.
 
248
</td>
 
249
</tr>
 
250
<tr>
 
251
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
252
<td>
 
253
</td>
 
254
</tr>
 
255
</tbody>
 
256
</table></div>
 
257
</div>
 
258
<hr>
 
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>
 
266
<p>
 
267
New an <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> asynchronously.
 
268
</p>
 
269
<div class="variablelist"><table border="0">
 
270
<col align="left" valign="top">
 
271
<tbody>
 
272
<tr>
 
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.
 
275
</td>
 
276
</tr>
 
277
<tr>
 
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>.
 
280
</td>
 
281
</tr>
 
282
<tr>
 
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>.
 
285
</td>
 
286
</tr>
 
287
<tr>
 
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>.
 
291
</td>
 
292
</tr>
 
293
<tr>
 
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.
 
296
</td>
 
297
</tr>
 
298
</tbody>
 
299
</table></div>
 
300
</div>
 
301
<hr>
 
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>
 
306
<p>
 
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>.
 
308
</p>
 
309
<p>
 
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>.
 
311
</p>
 
312
<div class="variablelist"><table border="0">
 
313
<col align="left" valign="top">
 
314
<tbody>
 
315
<tr>
 
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>.
 
319
</td>
 
320
</tr>
 
321
<tr>
 
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>.
 
324
</td>
 
325
</tr>
 
326
<tr>
 
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
328
<td>
 
329
</td>
 
330
</tr>
 
331
</tbody>
 
332
</table></div>
 
333
</div>
 
334
<hr>
 
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>
 
340
<p>
 
341
Gets an existing IBusInputContext.
 
342
</p>
 
343
<div class="variablelist"><table border="0">
 
344
<col align="left" valign="top">
 
345
<tbody>
 
346
<tr>
 
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.
 
349
</td>
 
350
</tr>
 
351
<tr>
 
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>.
 
354
</td>
 
355
</tr>
 
356
<tr>
 
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>
 
359
</td>
 
360
</tr>
 
361
</tbody>
 
362
</table></div>
 
363
</div>
 
364
<hr>
 
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>
 
373
<p>
 
374
Get an existing <a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> asynchronously.
 
375
</p>
 
376
<div class="variablelist"><table border="0">
 
377
<col align="left" valign="top">
 
378
<tbody>
 
379
<tr>
 
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.
 
382
</td>
 
383
</tr>
 
384
<tr>
 
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>.
 
387
</td>
 
388
</tr>
 
389
<tr>
 
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>.
 
392
</td>
 
393
</tr>
 
394
<tr>
 
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>.
 
398
</td>
 
399
</tr>
 
400
<tr>
 
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.
 
403
</td>
 
404
</tr>
 
405
</tbody>
 
406
</table></div>
 
407
</div>
 
408
<hr>
 
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>
 
414
<p>
 
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>.
 
416
</p>
 
417
<p>
 
418
Finishes an operation started with <code class="function">ibus_input_contex_get_input_context_async()</code>.
 
419
</p>
 
420
<div class="variablelist"><table border="0">
 
421
<col align="left" valign="top">
 
422
<tbody>
 
423
<tr>
 
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>.
 
427
</td>
 
428
</tr>
 
429
<tr>
 
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>.
 
432
</td>
 
433
</tr>
 
434
<tr>
 
435
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
436
<td>
 
437
</td>
 
438
</tr>
 
439
</tbody>
 
440
</table></div>
 
441
</div>
 
442
<hr>
 
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>
152
454
<p>
153
455
Pass the key event to input method engine.
154
456
</p>
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.
174
476
</p>
175
477
<p>
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>
 
479
</p>
 
480
<div class="variablelist"><table border="0">
 
481
<col align="left" valign="top">
 
482
<tbody>
 
483
<tr>
 
484
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
 
485
<td>An IBusInputContext.
 
486
</td>
 
487
</tr>
 
488
<tr>
 
489
<td><p><span class="term"><em class="parameter"><code>keyval</code></em> :</span></p></td>
 
490
<td>Key symbol of a key event.
 
491
</td>
 
492
</tr>
 
493
<tr>
 
494
<td><p><span class="term"><em class="parameter"><code>keycode</code></em> :</span></p></td>
 
495
<td>Keycode of a key event.
 
496
</td>
 
497
</tr>
 
498
<tr>
 
499
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
 
500
<td>Key modifier flags.
 
501
</td>
 
502
</tr>
 
503
<tr>
 
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.
 
506
</td>
 
507
</tr>
 
508
<tr>
 
509
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
510
<td>A GCancellable or NULL.
 
511
</td>
 
512
</tr>
 
513
<tr>
 
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.
 
517
</td>
 
518
</tr>
 
519
<tr>
 
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.
 
522
</td>
 
523
</tr>
 
524
</tbody>
 
525
</table></div>
 
526
</div>
 
527
<hr>
 
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>
 
535
<p>
 
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>.
 
537
</p>
 
538
<div class="variablelist"><table border="0">
 
539
<col align="left" valign="top">
 
540
<tbody>
 
541
<tr>
 
542
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
 
543
<td>An IBusInputContext.
 
544
</td>
 
545
</tr>
 
546
<tr>
 
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>.
 
550
</td>
 
551
</tr>
 
552
<tr>
 
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.
 
556
</td>
 
557
</tr>
 
558
<tr>
 
559
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
560
<td>Return location for error or NULL.
 
561
</td>
 
562
</tr>
 
563
<tr>
 
564
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
565
<td>TRUE for success; FALSE otherwise.
 
566
</td>
 
567
</tr>
 
568
</tbody>
 
569
</table></div>
 
570
</div>
 
571
<hr>
 
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>
 
579
<p>
 
580
Pass the key event to input method engine and wait for the reply from ibus (i.e. synchronous IPC).
 
581
</p>
 
582
<p>
 
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>
177
584
</p>
178
585
<div class="variablelist"><table border="0">
179
586
<col align="left" valign="top">
216
623
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> w</code></em>,
217
624
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> h</code></em>);</pre>
218
625
<p>
219
 
Set the cursor location of IBus input context.
 
626
Set the cursor location of IBus input context asynchronously.
220
627
</p>
221
628
<p>
222
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-set-cursor-location" title='The "set-cursor-location" signal'><span class="type">"set-cursor-location"</span></a>
 
629
see_also: <a class="link" href="IBusEngine.html#IBusEngine-set-cursor-location" title='The "set-cursor-location" signal'><span class="type">"set-cursor-location"</span></a>
223
630
</p>
224
631
<div class="variablelist"><table border="0">
225
632
<col align="left" valign="top">
258
665
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_set_capabilities (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
259
666
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> capabilities</code></em>);</pre>
260
667
<p>
261
 
Set the capabilities flags of client application.
 
668
Set the capabilities flags of client application asynchronously.
 
669
When IBUS_CAP_FOCUS is not set, IBUS_CAP_PREEDIT_TEXT, IBUS_CAP_AUXILIARY_TEXT, IBUS_CAP_LOOKUP_TABLE, and IBUS_CAP_PROPERTY have to be all set.
 
670
The panel component does nothing for an application that doesn't support focus.
262
671
</p>
263
672
<p>
264
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-set-capabilities" title='The "set-capabilities" signal'><span class="type">"set-capabilities"</span></a>
 
673
see_also: <a class="link" href="IBusEngine.html#IBusEngine-set-capabilities" title='The "set-capabilities" signal'><span class="type">"set-capabilities"</span></a>
265
674
</p>
266
675
<div class="variablelist"><table border="0">
267
676
<col align="left" valign="top">
285
694
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_property_activate
286
695
                                                        (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>,
287
696
                                                         <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>,
288
 
                                                         <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>);</pre>
 
697
                                                         <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>
289
698
<p>
290
 
Activate the property.
 
699
Activate the property asynchronously.
291
700
</p>
292
701
<p>
293
702
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-property-activate" title='The "property-activate" signal'><span class="type">"property_activate"</span></a>
318
727
<a name="ibus-input-context-focus-in"></a><h3>ibus_input_context_focus_in ()</h3>
319
728
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_focus_in         (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
320
729
<p>
321
 
Invoked when the client application get focus.
 
730
Invoked when the client application get focus. An asynchronous IPC will be performed.
322
731
</p>
323
732
<p>
324
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-focus-in" title='The "focus-in" signal'><span class="type">"focus_in"</span></a>.
 
733
see_also: <a class="link" href="IBusEngine.html#IBusEngine-focus-in" title='The "focus-in" signal'><span class="type">"focus_in"</span></a>.
325
734
</p>
326
735
<div class="variablelist"><table border="0">
327
736
<col align="left" valign="top">
337
746
<a name="ibus-input-context-focus-out"></a><h3>ibus_input_context_focus_out ()</h3>
338
747
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_focus_out        (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
339
748
<p>
340
 
Invoked when the client application get focus.
 
749
Invoked when the client application get focus. An asynchronous IPC will be performed.
341
750
</p>
342
751
<p>
343
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-focus-out" title='The "focus-out" signal'><span class="type">"focus_out"</span></a>.
 
752
see_also: <a class="link" href="IBusEngine.html#IBusEngine-focus-out" title='The "focus-out" signal'><span class="type">"focus_out"</span></a>.
344
753
</p>
345
754
<div class="variablelist"><table border="0">
346
755
<col align="left" valign="top">
356
765
<a name="ibus-input-context-reset"></a><h3>ibus_input_context_reset ()</h3>
357
766
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_reset            (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
358
767
<p>
359
 
Invoked when the IME is reset.
 
768
Invoked when the IME is reset. An asynchronous IPC will be performed.
360
769
</p>
361
770
<p>
362
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-reset" title='The "reset" signal'><span class="type">"reset"</span></a>
 
771
see_also: <a class="link" href="IBusEngine.html#IBusEngine-reset" title='The "reset" signal'><span class="type">"reset"</span></a>
363
772
</p>
364
773
<div class="variablelist"><table border="0">
365
774
<col align="left" valign="top">
376
785
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_enable           (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
377
786
<p>
378
787
Invoked when the IME is enabled, either by IME switch hotkey or select from the menu.
 
788
An asynchronous IPC will be performed.
379
789
</p>
380
790
<p>
381
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-enable" title='The "enable" signal'><span class="type">"enable"</span></a>
 
791
see_also: <a class="link" href="IBusEngine.html#IBusEngine-enable" title='The "enable" signal'><span class="type">"enable"</span></a>
382
792
</p>
383
793
<div class="variablelist"><table border="0">
384
794
<col align="left" valign="top">
395
805
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_input_context_disable          (<em class="parameter"><code><a class="link" href="IBusInputContext.html" title="IBusInputContext"><span class="type">IBusInputContext</span></a> *context</code></em>);</pre>
396
806
<p>
397
807
Invoked when the IME is disabled, either by IME switch hotkey or select from the menu.
 
808
An asynchronous IPC will be performed.
398
809
</p>
399
810
<p>
400
 
<em class="parameter"><code>see_also</code></em>: <a class="link" href="IBusEngine.html#IBusEngine-disable" title='The "disable" signal'><span class="type">"disable"</span></a>
 
811
see_also: <a class="link" href="IBusEngine.html#IBusEngine-disable" title='The "disable" signal'><span class="type">"disable"</span></a>
401
812
</p>
402
813
<div class="variablelist"><table border="0">
403
814
<col align="left" valign="top">
409
820
</table></div>
410
821
</div>
411
822
<hr>
 
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>
 
830
<p>
 
831
An asynchronous IPC will be performed.
 
832
</p>
 
833
<div class="variablelist"><table border="0">
 
834
<col align="left" valign="top">
 
835
<tbody>
 
836
<tr>
 
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>.
 
839
</td>
 
840
</tr>
 
841
<tr>
 
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.
 
844
</td>
 
845
</tr>
 
846
<tr>
 
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>.
 
849
</td>
 
850
</tr>
 
851
<tr>
 
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.
 
855
</td>
 
856
</tr>
 
857
<tr>
 
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.
 
860
</td>
 
861
</tr>
 
862
</tbody>
 
863
</table></div>
 
864
</div>
 
865
<hr>
 
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>
 
873
<p>
 
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>.
 
875
</p>
 
876
<div class="variablelist"><table border="0">
 
877
<col align="left" valign="top">
 
878
<tbody>
 
879
<tr>
 
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>.
 
882
</td>
 
883
</tr>
 
884
<tr>
 
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>.
 
888
</td>
 
889
</tr>
 
890
<tr>
 
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.
 
893
</td>
 
894
</tr>
 
895
<tr>
 
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>.
 
898
</td>
 
899
</tr>
 
900
<tr>
 
901
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
902
<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.
 
904
</td>
 
905
</tr>
 
906
</tbody>
 
907
</table></div>
 
908
</div>
 
909
<hr>
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>
415
913
<p>
416
914
Returns TRUE if the IME is enabled on the context.
 
915
A asynchronous IPC will be performed.
417
916
</p>
418
917
<div class="variablelist"><table border="0">
419
918
<col align="left" valign="top">
432
931
</table></div>
433
932
</div>
434
933
<hr>
 
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>
 
941
<p>
 
942
An asynchronous IPC will be performed.
 
943
</p>
 
944
<div class="variablelist"><table border="0">
 
945
<col align="left" valign="top">
 
946
<tbody>
 
947
<tr>
 
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>.
 
950
</td>
 
951
</tr>
 
952
<tr>
 
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.
 
955
</td>
 
956
</tr>
 
957
<tr>
 
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>.
 
960
</td>
 
961
</tr>
 
962
<tr>
 
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.
 
966
</td>
 
967
</tr>
 
968
<tr>
 
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.
 
971
</td>
 
972
</tr>
 
973
</tbody>
 
974
</table></div>
 
975
</div>
 
976
<hr>
 
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>
 
983
<p>
 
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>.
 
985
</p>
 
986
<div class="variablelist"><table border="0">
 
987
<col align="left" valign="top">
 
988
<tbody>
 
989
<tr>
 
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>.
 
992
</td>
 
993
</tr>
 
994
<tr>
 
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>.
 
998
</td>
 
999
</tr>
 
1000
<tr>
 
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>.
 
1003
</td>
 
1004
</tr>
 
1005
<tr>
 
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>
 
1008
</td>
 
1009
</tr>
 
1010
</tbody>
 
1011
</table></div>
 
1012
</div>
 
1013
<hr>
 
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>
 
1017
<p>
 
1018
Returns an IME engine description for the context.
 
1019
A synchronous IPC will be performed.
 
1020
</p>
 
1021
<div class="variablelist"><table border="0">
 
1022
<col align="left" valign="top">
 
1023
<tbody>
 
1024
<tr>
 
1025
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
 
1026
<td>An IBusInputContext.
 
1027
</td>
 
1028
</tr>
 
1029
<tr>
 
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>
 
1032
</td>
 
1033
</tr>
 
1034
</tbody>
 
1035
</table></div>
 
1036
</div>
 
1037
<hr>
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>
439
1042
<p>
440
1043
Invoked when the IME engine is changed.
 
1044
An asynchronous IPC will be performed.
441
1045
</p>
442
1046
<div class="variablelist"><table border="0">
443
1047
<col align="left" valign="top">
455
1059
</tbody>
456
1060
</table></div>
457
1061
</div>
 
1062
<hr>
 
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">
 
1071
<tbody>
 
1072
<tr>
 
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>.
 
1075
</td>
 
1076
</tr>
 
1077
<tr>
 
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.
 
1080
</td>
 
1081
</tr>
 
1082
<tr>
 
1083
<td><p><span class="term"><em class="parameter"><code>cursor_pos</code></em> :</span></p></td>
 
1084
<td>
 
1085
</td>
 
1086
</tr>
 
1087
</tbody>
 
1088
</table></div>
 
1089
</div>
 
1090
<hr>
 
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>
 
1095
<p>
 
1096
Check whether the current engine requires surrounding-text.
 
1097
</p>
 
1098
<div class="variablelist"><table border="0">
 
1099
<col align="left" valign="top">
 
1100
<tbody>
 
1101
<tr>
 
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>.
 
1104
</td>
 
1105
</tr>
 
1106
<tr>
 
1107
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1108
<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.
 
1111
</td>
 
1112
</tr>
 
1113
</tbody>
 
1114
</table></div>
 
1115
</div>
458
1116
</div>
459
1117
<div class="refsect1" title="Signal Details">
460
1118
<a name="IBusInputContext.signal-details"></a><h2>Signal Details</h2>