~ubuntu-branches/ubuntu/vivid/ibus/vivid

« back to all changes in this revision

Viewing changes to docs/reference/ibus/html/ibus-ibusshare.html

  • Committer: Package Import Robot
  • Author(s): Osamu Aoki
  • Date: 2013-09-06 23:41:07 UTC
  • mfrom: (17.1.12 experimental)
  • Revision ID: package-import@ubuntu.com-20130906234107-vdaech8wbq1fkef0
Tags: 1.5.3-5
* This initiates ibus 1.4 to 1.5 transition.  This changes IM 
  switching key to SUPER-space and integrates xkb. 
  Closes: #690605, #699368
* Remove gjs and gnome-shell build dependency since ibus-gjs was 
  removed.
* Add breaks to packages indirectly depending on python-ibus
  since ibus does not depend on python-ibus anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ibusshare</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="IBus Reference Manual">
8
8
<link rel="up" href="ch06.html" title="Internal">
9
9
<link rel="prev" href="IBusObject.html" title="IBusObject">
10
10
<link rel="next" href="ibus-ibustypes.html" title="ibustypes">
11
 
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
41
41
</div>
42
42
<div class="refsynopsisdiv">
43
43
<a name="ibus-ibusshare.synopsis"></a><h2>Synopsis</h2>
44
 
<pre class="synopsis">#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-CONFIG:CAPS" title="IBUS_INTERFACE_CONFIG">IBUS_INTERFACE_CONFIG</a>
45
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-ENGINE:CAPS" title="IBUS_INTERFACE_ENGINE">IBUS_INTERFACE_ENGINE</a>
46
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-FACTORY:CAPS" title="IBUS_INTERFACE_FACTORY">IBUS_INTERFACE_FACTORY</a>
 
44
<pre class="synopsis">#define             <a class="link" href="ibus-ibusshare.html#IBUS-DEPRECATED:CAPS" title="IBUS_DEPRECATED">IBUS_DEPRECATED</a>
 
45
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-IBUS:CAPS" title="IBUS_SERVICE_IBUS">IBUS_SERVICE_IBUS</a>
 
46
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-PANEL:CAPS" title="IBUS_SERVICE_PANEL">IBUS_SERVICE_PANEL</a>
 
47
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-CONFIG:CAPS" title="IBUS_SERVICE_CONFIG">IBUS_SERVICE_CONFIG</a>
 
48
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-NOTIFICATIONS:CAPS" title="IBUS_SERVICE_NOTIFICATIONS">IBUS_SERVICE_NOTIFICATIONS</a>
 
49
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-IBUS:CAPS" title="IBUS_PATH_IBUS">IBUS_PATH_IBUS</a>
 
50
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-FACTORY:CAPS" title="IBUS_PATH_FACTORY">IBUS_PATH_FACTORY</a>
 
51
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-PANEL:CAPS" title="IBUS_PATH_PANEL">IBUS_PATH_PANEL</a>
 
52
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-CONFIG:CAPS" title="IBUS_PATH_CONFIG">IBUS_PATH_CONFIG</a>
 
53
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-NOTIFICATIONS:CAPS" title="IBUS_PATH_NOTIFICATIONS">IBUS_PATH_NOTIFICATIONS</a>
 
54
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-INPUT-CONTEXT:CAPS" title="IBUS_PATH_INPUT_CONTEXT">IBUS_PATH_INPUT_CONTEXT</a>
47
55
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-IBUS:CAPS" title="IBUS_INTERFACE_IBUS">IBUS_INTERFACE_IBUS</a>
48
56
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-INPUT-CONTEXT:CAPS" title="IBUS_INTERFACE_INPUT_CONTEXT">IBUS_INTERFACE_INPUT_CONTEXT</a>
 
57
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-FACTORY:CAPS" title="IBUS_INTERFACE_FACTORY">IBUS_INTERFACE_FACTORY</a>
 
58
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-ENGINE:CAPS" title="IBUS_INTERFACE_ENGINE">IBUS_INTERFACE_ENGINE</a>
 
59
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-PANEL:CAPS" title="IBUS_INTERFACE_PANEL">IBUS_INTERFACE_PANEL</a>
 
60
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-CONFIG:CAPS" title="IBUS_INTERFACE_CONFIG">IBUS_INTERFACE_CONFIG</a>
49
61
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-NOTIFICATIONS:CAPS" title="IBUS_INTERFACE_NOTIFICATIONS">IBUS_INTERFACE_NOTIFICATIONS</a>
50
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-INTERFACE-PANEL:CAPS" title="IBUS_INTERFACE_PANEL">IBUS_INTERFACE_PANEL</a>
51
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-CONFIG:CAPS" title="IBUS_PATH_CONFIG">IBUS_PATH_CONFIG</a>
52
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-FACTORY:CAPS" title="IBUS_PATH_FACTORY">IBUS_PATH_FACTORY</a>
53
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-IBUS:CAPS" title="IBUS_PATH_IBUS">IBUS_PATH_IBUS</a>
54
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-INPUT-CONTEXT:CAPS" title="IBUS_PATH_INPUT_CONTEXT">IBUS_PATH_INPUT_CONTEXT</a>
55
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-NOTIFICATIONS:CAPS" title="IBUS_PATH_NOTIFICATIONS">IBUS_PATH_NOTIFICATIONS</a>
56
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-PATH-PANEL:CAPS" title="IBUS_PATH_PANEL">IBUS_PATH_PANEL</a>
57
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-CONFIG:CAPS" title="IBUS_SERVICE_CONFIG">IBUS_SERVICE_CONFIG</a>
58
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-IBUS:CAPS" title="IBUS_SERVICE_IBUS">IBUS_SERVICE_IBUS</a>
59
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-NOTIFICATIONS:CAPS" title="IBUS_SERVICE_NOTIFICATIONS">IBUS_SERVICE_NOTIFICATIONS</a>
60
 
#define             <a class="link" href="ibus-ibusshare.html#IBUS-SERVICE-PANEL:CAPS" title="IBUS_SERVICE_PANEL">IBUS_SERVICE_PANEL</a>
61
 
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-free-strv" title="ibus_free_strv ()">ibus_free_strv</a>                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **strv</code></em>);
62
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ibus-ibusshare.html#ibus-get-address" title="ibus_get_address ()">ibus_get_address</a>                    (<em class="parameter"><code><span class="type">void</span></code></em>);
63
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a>               <a class="link" href="ibus-ibusshare.html#ibus-get-daemon-uid" title="ibus_get_daemon_uid ()">ibus_get_daemon_uid</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
64
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ibus-ibusshare.html#ibus-get-local-machine-id" title="ibus_get_local_machine_id ()">ibus_get_local_machine_id</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
65
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ibus-ibusshare.html#ibus-get-socket-path" title="ibus_get_socket_path ()">ibus_get_socket_path</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
66
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="ibus-ibusshare.html#ibus-get-timeout" title="ibus_get_timeout ()">ibus_get_timeout</a>                    (<em class="parameter"><code><span class="type">void</span></code></em>);
67
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ibus-ibusshare.html#ibus-get-user-name" title="ibus_get_user_name ()">ibus_get_user_name</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
 
62
const <span class="returnvalue">gchar</span> *       <a class="link" href="ibus-ibusshare.html#ibus-get-local-machine-id" title="ibus_get_local_machine_id ()">ibus_get_local_machine_id</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
 
63
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-set-display" title="ibus_set_display ()">ibus_set_display</a>                    (<em class="parameter"><code>const <span class="type">gchar</span> *display</code></em>);
 
64
const <span class="returnvalue">gchar</span> *       <a class="link" href="ibus-ibusshare.html#ibus-get-address" title="ibus_get_address ()">ibus_get_address</a>                    (<em class="parameter"><code><span class="type">void</span></code></em>);
 
65
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-write-address" title="ibus_write_address ()">ibus_write_address</a>                  (<em class="parameter"><code>const <span class="type">gchar</span> *address</code></em>);
 
66
const <span class="returnvalue">gchar</span> *       <a class="link" href="ibus-ibusshare.html#ibus-get-user-name" title="ibus_get_user_name ()">ibus_get_user_name</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
 
67
<span class="returnvalue">glong</span>               <a class="link" href="ibus-ibusshare.html#ibus-get-daemon-uid" title="ibus_get_daemon_uid ()">ibus_get_daemon_uid</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
 
68
const <span class="returnvalue">gchar</span> *       <a class="link" href="ibus-ibusshare.html#ibus-get-socket-path" title="ibus_get_socket_path ()">ibus_get_socket_path</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
 
69
<span class="returnvalue">gint</span>                <a class="link" href="ibus-ibusshare.html#ibus-get-timeout" title="ibus_get_timeout ()">ibus_get_timeout</a>                    (<em class="parameter"><code><span class="type">void</span></code></em>);
 
70
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-free-strv" title="ibus_free_strv ()">ibus_free_strv</a>                      (<em class="parameter"><code><span class="type">gchar</span> **strv</code></em>);
 
71
const <span class="returnvalue">gchar</span> *       <a class="link" href="ibus-ibusshare.html#ibus-key-event-to-string" title="ibus_key_event_to_string ()">ibus_key_event_to_string</a>            (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
 
72
                                                         <em class="parameter"><code><span class="type">guint</span> modifiers</code></em>);
 
73
<span class="returnvalue">gboolean</span>            <a class="link" href="ibus-ibusshare.html#ibus-key-event-from-string" title="ibus_key_event_from_string ()">ibus_key_event_from_string</a>          (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
 
74
                                                         <em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
 
75
                                                         <em class="parameter"><code><span class="type">guint</span> *modifiers</code></em>);
68
76
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-init" title="ibus_init ()">ibus_init</a>                           (<em class="parameter"><code><span class="type">void</span></code></em>);
69
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="ibus-ibusshare.html#ibus-key-event-from-string" title="ibus_key_event_from_string ()">ibus_key_event_from_string</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> *string</code></em>,
70
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *keyval</code></em>,
71
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *modifiers</code></em>);
72
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ibus-ibusshare.html#ibus-key-event-to-string" title="ibus_key_event_to_string ()">ibus_key_event_to_string</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
73
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> modifiers</code></em>);
74
77
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-main" title="ibus_main ()">ibus_main</a>                           (<em class="parameter"><code><span class="type">void</span></code></em>);
75
78
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-quit" title="ibus_quit ()">ibus_quit</a>                           (<em class="parameter"><code><span class="type">void</span></code></em>);
76
 
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-set-display" title="ibus_set_display ()">ibus_set_display</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> *display</code></em>);
77
 
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-set-log-handler" title="ibus_set_log_handler ()">ibus_set_log_handler</a>                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> verbose</code></em>);
 
79
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-set-log-handler" title="ibus_set_log_handler ()">ibus_set_log_handler</a>                (<em class="parameter"><code><span class="type">gboolean</span> verbose</code></em>);
78
80
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-unset-log-handler" title="ibus_unset_log_handler ()">ibus_unset_log_handler</a>              (<em class="parameter"><code><span class="type">void</span></code></em>);
79
 
<span class="returnvalue">void</span>                <a class="link" href="ibus-ibusshare.html#ibus-write-address" title="ibus_write_address ()">ibus_write_address</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> *address</code></em>);
80
81
</pre>
81
82
</div>
82
83
<div class="refsect1">
89
90
<div class="refsect1">
90
91
<a name="ibus-ibusshare.details"></a><h2>Details</h2>
91
92
<div class="refsect2">
92
 
<a name="IBUS-INTERFACE-CONFIG:CAPS"></a><h3>IBUS_INTERFACE_CONFIG</h3>
93
 
<pre class="programlisting">#define IBUS_INTERFACE_CONFIG   "org.freedesktop.IBus.Config"
94
 
</pre>
95
 
<p>
96
 
D-Bus interface for IBus config.
97
 
</p>
98
 
</div>
99
 
<hr>
100
 
<div class="refsect2">
101
 
<a name="IBUS-INTERFACE-ENGINE:CAPS"></a><h3>IBUS_INTERFACE_ENGINE</h3>
102
 
<pre class="programlisting">#define IBUS_INTERFACE_ENGINE   "org.freedesktop.IBus.Engine"
103
 
</pre>
104
 
<p>
105
 
D-Bus interface for IBus engine.
106
 
</p>
107
 
</div>
108
 
<hr>
109
 
<div class="refsect2">
110
 
<a name="IBUS-INTERFACE-FACTORY:CAPS"></a><h3>IBUS_INTERFACE_FACTORY</h3>
111
 
<pre class="programlisting">#define IBUS_INTERFACE_FACTORY  "org.freedesktop.IBus.Factory"
112
 
</pre>
113
 
<p>
114
 
D-Bus interface for IBus factory.
 
93
<a name="IBUS-DEPRECATED:CAPS"></a><h3>IBUS_DEPRECATED</h3>
 
94
<pre class="programlisting">#define IBUS_DEPRECATED
 
95
</pre>
 
96
<p>
 
97
</p>
 
98
</div>
 
99
<hr>
 
100
<div class="refsect2">
 
101
<a name="IBUS-SERVICE-IBUS:CAPS"></a><h3>IBUS_SERVICE_IBUS</h3>
 
102
<pre class="programlisting">#define IBUS_SERVICE_IBUS       "org.freedesktop.IBus"
 
103
</pre>
 
104
<p>
 
105
Address of IBus service.
 
106
</p>
 
107
</div>
 
108
<hr>
 
109
<div class="refsect2">
 
110
<a name="IBUS-SERVICE-PANEL:CAPS"></a><h3>IBUS_SERVICE_PANEL</h3>
 
111
<pre class="programlisting">#define IBUS_SERVICE_PANEL      "org.freedesktop.IBus.Panel"
 
112
</pre>
 
113
<p>
 
114
Address of IBus panel service.
 
115
</p>
 
116
</div>
 
117
<hr>
 
118
<div class="refsect2">
 
119
<a name="IBUS-SERVICE-CONFIG:CAPS"></a><h3>IBUS_SERVICE_CONFIG</h3>
 
120
<pre class="programlisting">#define IBUS_SERVICE_CONFIG     "org.freedesktop.IBus.Config"
 
121
</pre>
 
122
<p>
 
123
Address of IBus config service.
 
124
</p>
 
125
</div>
 
126
<hr>
 
127
<div class="refsect2">
 
128
<a name="IBUS-SERVICE-NOTIFICATIONS:CAPS"></a><h3>IBUS_SERVICE_NOTIFICATIONS</h3>
 
129
<pre class="programlisting">#define IBUS_SERVICE_NOTIFICATIONS    "org.freedesktop.IBus.Notifications"
 
130
</pre>
 
131
<p>
 
132
Address of IBus notification service.
 
133
</p>
 
134
</div>
 
135
<hr>
 
136
<div class="refsect2">
 
137
<a name="IBUS-PATH-IBUS:CAPS"></a><h3>IBUS_PATH_IBUS</h3>
 
138
<pre class="programlisting">#define IBUS_PATH_IBUS          "/org/freedesktop/IBus"
 
139
</pre>
 
140
<p>
 
141
D-Bus path for IBus
 
142
</p>
 
143
</div>
 
144
<hr>
 
145
<div class="refsect2">
 
146
<a name="IBUS-PATH-FACTORY:CAPS"></a><h3>IBUS_PATH_FACTORY</h3>
 
147
<pre class="programlisting">#define IBUS_PATH_FACTORY       "/org/freedesktop/IBus/Factory"
 
148
</pre>
 
149
<p>
 
150
D-Bus path for IBus factory.
 
151
</p>
 
152
</div>
 
153
<hr>
 
154
<div class="refsect2">
 
155
<a name="IBUS-PATH-PANEL:CAPS"></a><h3>IBUS_PATH_PANEL</h3>
 
156
<pre class="programlisting">#define IBUS_PATH_PANEL         "/org/freedesktop/IBus/Panel"
 
157
</pre>
 
158
<p>
 
159
D-Bus path for IBus panel.
 
160
</p>
 
161
</div>
 
162
<hr>
 
163
<div class="refsect2">
 
164
<a name="IBUS-PATH-CONFIG:CAPS"></a><h3>IBUS_PATH_CONFIG</h3>
 
165
<pre class="programlisting">#define IBUS_PATH_CONFIG        "/org/freedesktop/IBus/Config"
 
166
</pre>
 
167
<p>
 
168
D-Bus path for IBus config.
 
169
</p>
 
170
</div>
 
171
<hr>
 
172
<div class="refsect2">
 
173
<a name="IBUS-PATH-NOTIFICATIONS:CAPS"></a><h3>IBUS_PATH_NOTIFICATIONS</h3>
 
174
<pre class="programlisting">#define IBUS_PATH_NOTIFICATIONS "/org/freedesktop/IBus/Notifications"
 
175
</pre>
 
176
<p>
 
177
D-Bus path for IBus notifications.
 
178
</p>
 
179
</div>
 
180
<hr>
 
181
<div class="refsect2">
 
182
<a name="IBUS-PATH-INPUT-CONTEXT:CAPS"></a><h3>IBUS_PATH_INPUT_CONTEXT</h3>
 
183
<pre class="programlisting">#define IBUS_PATH_INPUT_CONTEXT "/org/freedesktop/IBus/InputContext_%d"
 
184
</pre>
 
185
<p>
 
186
Template of D-Bus path for IBus input context.
115
187
</p>
116
188
</div>
117
189
<hr>
133
205
</div>
134
206
<hr>
135
207
<div class="refsect2">
 
208
<a name="IBUS-INTERFACE-FACTORY:CAPS"></a><h3>IBUS_INTERFACE_FACTORY</h3>
 
209
<pre class="programlisting">#define IBUS_INTERFACE_FACTORY  "org.freedesktop.IBus.Factory"
 
210
</pre>
 
211
<p>
 
212
D-Bus interface for IBus factory.
 
213
</p>
 
214
</div>
 
215
<hr>
 
216
<div class="refsect2">
 
217
<a name="IBUS-INTERFACE-ENGINE:CAPS"></a><h3>IBUS_INTERFACE_ENGINE</h3>
 
218
<pre class="programlisting">#define IBUS_INTERFACE_ENGINE   "org.freedesktop.IBus.Engine"
 
219
</pre>
 
220
<p>
 
221
D-Bus interface for IBus engine.
 
222
</p>
 
223
</div>
 
224
<hr>
 
225
<div class="refsect2">
 
226
<a name="IBUS-INTERFACE-PANEL:CAPS"></a><h3>IBUS_INTERFACE_PANEL</h3>
 
227
<pre class="programlisting">#define IBUS_INTERFACE_PANEL    "org.freedesktop.IBus.Panel"
 
228
</pre>
 
229
<p>
 
230
D-Bus interface for IBus panel.
 
231
</p>
 
232
</div>
 
233
<hr>
 
234
<div class="refsect2">
 
235
<a name="IBUS-INTERFACE-CONFIG:CAPS"></a><h3>IBUS_INTERFACE_CONFIG</h3>
 
236
<pre class="programlisting">#define IBUS_INTERFACE_CONFIG   "org.freedesktop.IBus.Config"
 
237
</pre>
 
238
<p>
 
239
D-Bus interface for IBus config.
 
240
</p>
 
241
</div>
 
242
<hr>
 
243
<div class="refsect2">
136
244
<a name="IBUS-INTERFACE-NOTIFICATIONS:CAPS"></a><h3>IBUS_INTERFACE_NOTIFICATIONS</h3>
137
245
<pre class="programlisting">#define IBUS_INTERFACE_NOTIFICATIONS    "org.freedesktop.IBus.Notifications"
138
246
</pre>
142
250
</div>
143
251
<hr>
144
252
<div class="refsect2">
145
 
<a name="IBUS-INTERFACE-PANEL:CAPS"></a><h3>IBUS_INTERFACE_PANEL</h3>
146
 
<pre class="programlisting">#define IBUS_INTERFACE_PANEL    "org.freedesktop.IBus.Panel"
147
 
</pre>
148
 
<p>
149
 
D-Bus interface for IBus panel.
150
 
</p>
151
 
</div>
152
 
<hr>
153
 
<div class="refsect2">
154
 
<a name="IBUS-PATH-CONFIG:CAPS"></a><h3>IBUS_PATH_CONFIG</h3>
155
 
<pre class="programlisting">#define IBUS_PATH_CONFIG        "/org/freedesktop/IBus/Config"
156
 
</pre>
157
 
<p>
158
 
D-Bus path for IBus config.
159
 
</p>
160
 
</div>
161
 
<hr>
162
 
<div class="refsect2">
163
 
<a name="IBUS-PATH-FACTORY:CAPS"></a><h3>IBUS_PATH_FACTORY</h3>
164
 
<pre class="programlisting">#define IBUS_PATH_FACTORY       "/org/freedesktop/IBus/Factory"
165
 
</pre>
166
 
<p>
167
 
D-Bus path for IBus factory.
168
 
</p>
169
 
</div>
170
 
<hr>
171
 
<div class="refsect2">
172
 
<a name="IBUS-PATH-IBUS:CAPS"></a><h3>IBUS_PATH_IBUS</h3>
173
 
<pre class="programlisting">#define IBUS_PATH_IBUS          "/org/freedesktop/IBus"
174
 
</pre>
175
 
<p>
176
 
D-Bus path for IBus
177
 
</p>
178
 
</div>
179
 
<hr>
180
 
<div class="refsect2">
181
 
<a name="IBUS-PATH-INPUT-CONTEXT:CAPS"></a><h3>IBUS_PATH_INPUT_CONTEXT</h3>
182
 
<pre class="programlisting">#define IBUS_PATH_INPUT_CONTEXT "/org/freedesktop/IBus/InputContext_%d"
183
 
</pre>
184
 
<p>
185
 
Template of D-Bus path for IBus input context.
186
 
</p>
187
 
</div>
188
 
<hr>
189
 
<div class="refsect2">
190
 
<a name="IBUS-PATH-NOTIFICATIONS:CAPS"></a><h3>IBUS_PATH_NOTIFICATIONS</h3>
191
 
<pre class="programlisting">#define IBUS_PATH_NOTIFICATIONS "/org/freedesktop/IBus/Notifications"
192
 
</pre>
193
 
<p>
194
 
D-Bus path for IBus notifications.
195
 
</p>
196
 
</div>
197
 
<hr>
198
 
<div class="refsect2">
199
 
<a name="IBUS-PATH-PANEL:CAPS"></a><h3>IBUS_PATH_PANEL</h3>
200
 
<pre class="programlisting">#define IBUS_PATH_PANEL         "/org/freedesktop/IBus/Panel"
201
 
</pre>
202
 
<p>
203
 
D-Bus path for IBus panel.
204
 
</p>
205
 
</div>
206
 
<hr>
207
 
<div class="refsect2">
208
 
<a name="IBUS-SERVICE-CONFIG:CAPS"></a><h3>IBUS_SERVICE_CONFIG</h3>
209
 
<pre class="programlisting">#define IBUS_SERVICE_CONFIG     "org.freedesktop.IBus.Config"
210
 
</pre>
211
 
<p>
212
 
Address of IBus config service.
213
 
</p>
214
 
</div>
215
 
<hr>
216
 
<div class="refsect2">
217
 
<a name="IBUS-SERVICE-IBUS:CAPS"></a><h3>IBUS_SERVICE_IBUS</h3>
218
 
<pre class="programlisting">#define IBUS_SERVICE_IBUS       "org.freedesktop.IBus"
219
 
</pre>
220
 
<p>
221
 
Address of IBus service.
222
 
</p>
223
 
</div>
224
 
<hr>
225
 
<div class="refsect2">
226
 
<a name="IBUS-SERVICE-NOTIFICATIONS:CAPS"></a><h3>IBUS_SERVICE_NOTIFICATIONS</h3>
227
 
<pre class="programlisting">#define IBUS_SERVICE_NOTIFICATIONS    "org.freedesktop.IBus.Notifications"
228
 
</pre>
229
 
<p>
230
 
Address of IBus notification service.
231
 
</p>
232
 
</div>
233
 
<hr>
234
 
<div class="refsect2">
235
 
<a name="IBUS-SERVICE-PANEL:CAPS"></a><h3>IBUS_SERVICE_PANEL</h3>
236
 
<pre class="programlisting">#define IBUS_SERVICE_PANEL      "org.freedesktop.IBus.Panel"
237
 
</pre>
238
 
<p>
239
 
Address of IBus panel service.
240
 
</p>
241
 
</div>
242
 
<hr>
243
 
<div class="refsect2">
244
 
<a name="ibus-free-strv"></a><h3>ibus_free_strv ()</h3>
245
 
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_free_strv                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **strv</code></em>);</pre>
246
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
247
 
<h3 class="title">Warning</h3>
248
 
<p><code class="literal">ibus_free_strv</code> is deprecated and should not be used in newly-written code. This function has been deprecated and should
249
 
not be used in newly written code.</p>
250
 
</div>
251
 
<p>
252
 
Free a list of strings.
253
 
</p>
254
 
<div class="variablelist"><table border="0">
255
 
<col align="left" valign="top">
256
 
<tbody><tr>
257
 
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
258
 
<td>List of strings.</td>
 
253
<a name="ibus-get-local-machine-id"></a><h3>ibus_get_local_machine_id ()</h3>
 
254
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       ibus_get_local_machine_id           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
255
<p>
 
256
Obtains the machine UUID of the machine this process is running on.
 
257
</p>
 
258
<div class="variablelist"><table border="0" class="variablelist">
 
259
<colgroup>
 
260
<col align="left" valign="top">
 
261
<col>
 
262
</colgroup>
 
263
<tbody><tr>
 
264
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
265
<td>A newly allocated string that shows the UUID of the machine.</td>
 
266
</tr></tbody>
 
267
</table></div>
 
268
</div>
 
269
<hr>
 
270
<div class="refsect2">
 
271
<a name="ibus-set-display"></a><h3>ibus_set_display ()</h3>
 
272
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_set_display                    (<em class="parameter"><code>const <span class="type">gchar</span> *display</code></em>);</pre>
 
273
<p>
 
274
Set the display address.
 
275
</p>
 
276
<div class="variablelist"><table border="0" class="variablelist">
 
277
<colgroup>
 
278
<col align="left" valign="top">
 
279
<col>
 
280
</colgroup>
 
281
<tbody><tr>
 
282
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
 
283
<td>Display address, as in DISPLAY environment for X.</td>
259
284
</tr></tbody>
260
285
</table></div>
261
286
</div>
262
287
<hr>
263
288
<div class="refsect2">
264
289
<a name="ibus-get-address"></a><h3>ibus_get_address ()</h3>
265
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ibus_get_address                    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
290
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       ibus_get_address                    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
266
291
<p>
267
292
Return the D-Bus address of IBus.
268
293
It will find the address from following source:
276
301
<p>
277
302
See also: <a class="link" href="ibus-ibusshare.html#ibus-write-address" title="ibus_write_address ()"><code class="function">ibus_write_address()</code></a>.
278
303
</p>
279
 
<div class="variablelist"><table border="0">
280
 
<col align="left" valign="top">
281
 
<tbody><tr>
282
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
283
 
<td>D-Bus address of IBus. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for not found.</td>
 
304
<div class="variablelist"><table border="0" class="variablelist">
 
305
<colgroup>
 
306
<col align="left" valign="top">
 
307
<col>
 
308
</colgroup>
 
309
<tbody><tr>
 
310
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
311
<td>D-Bus address of IBus. <code class="literal">NULL</code> for not found.</td>
 
312
</tr></tbody>
 
313
</table></div>
 
314
</div>
 
315
<hr>
 
316
<div class="refsect2">
 
317
<a name="ibus-write-address"></a><h3>ibus_write_address ()</h3>
 
318
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_write_address                  (<em class="parameter"><code>const <span class="type">gchar</span> *address</code></em>);</pre>
 
319
<p>
 
320
Write D-Bus address to socket file.
 
321
</p>
 
322
<p>
 
323
See also: <a class="link" href="ibus-ibusshare.html#ibus-get-address" title="ibus_get_address ()"><code class="function">ibus_get_address()</code></a>.
 
324
</p>
 
325
<div class="variablelist"><table border="0" class="variablelist">
 
326
<colgroup>
 
327
<col align="left" valign="top">
 
328
<col>
 
329
</colgroup>
 
330
<tbody><tr>
 
331
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
 
332
<td>D-Bus address of IBus.</td>
 
333
</tr></tbody>
 
334
</table></div>
 
335
</div>
 
336
<hr>
 
337
<div class="refsect2">
 
338
<a name="ibus-get-user-name"></a><h3>ibus_get_user_name ()</h3>
 
339
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       ibus_get_user_name                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
340
<p>
 
341
Get the current user name.
 
342
It is determined by:
 
343
</p>
 
344
<div class="orderedlist"><ol class="orderedlist" type="1">
 
345
<li class="listitem"><p><code class="function">getlogin()</code></p></li>
 
346
<li class="listitem"><p>Environment variable SUDO_USER</p></li>
 
347
<li class="listitem"><p>Environment variable USERHELPER_UID</p></li>
 
348
<li class="listitem"><p>Environment variable USERNAME</p></li>
 
349
<li class="listitem"><p>Environment variable LOGNAME</p></li>
 
350
<li class="listitem"><p>Environment variable USER</p></li>
 
351
<li class="listitem"><p>Environment variable LNAME</p></li>
 
352
</ol></div>
 
353
<p>
 
354
</p>
 
355
<div class="variablelist"><table border="0" class="variablelist">
 
356
<colgroup>
 
357
<col align="left" valign="top">
 
358
<col>
 
359
</colgroup>
 
360
<tbody><tr>
 
361
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
362
<td>A newly allocated string that stores current user name.</td>
284
363
</tr></tbody>
285
364
</table></div>
286
365
</div>
287
366
<hr>
288
367
<div class="refsect2">
289
368
<a name="ibus-get-daemon-uid"></a><h3>ibus_get_daemon_uid ()</h3>
290
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a>               ibus_get_daemon_uid                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
369
<pre class="programlisting"><span class="returnvalue">glong</span>               ibus_get_daemon_uid                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
291
370
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
292
371
<h3 class="title">Warning</h3>
293
372
<p><code class="literal">ibus_get_daemon_uid</code> is deprecated and should not be used in newly-written code. This function has been deprecated and should
296
375
<p>
297
376
Get UID of ibus-daemon.
298
377
</p>
299
 
<div class="variablelist"><table border="0">
 
378
<div class="variablelist"><table border="0" class="variablelist">
 
379
<colgroup>
300
380
<col align="left" valign="top">
 
381
<col>
 
382
</colgroup>
301
383
<tbody><tr>
302
384
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
303
385
<td>UID of ibus-daemon; or 0 if UID is not available.</td>
306
388
</div>
307
389
<hr>
308
390
<div class="refsect2">
309
 
<a name="ibus-get-local-machine-id"></a><h3>ibus_get_local_machine_id ()</h3>
310
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ibus_get_local_machine_id           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
311
 
<p>
312
 
Obtains the machine UUID of the machine this process is running on.
313
 
</p>
314
 
<div class="variablelist"><table border="0">
315
 
<col align="left" valign="top">
316
 
<tbody><tr>
317
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
318
 
<td>A newly allocated string that shows the UUID of the machine.</td>
319
 
</tr></tbody>
320
 
</table></div>
321
 
</div>
322
 
<hr>
323
 
<div class="refsect2">
324
391
<a name="ibus-get-socket-path"></a><h3>ibus_get_socket_path ()</h3>
325
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ibus_get_socket_path                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
392
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       ibus_get_socket_path                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
326
393
<p>
327
394
Get the path of socket file.
328
395
</p>
329
 
<div class="variablelist"><table border="0">
 
396
<div class="variablelist"><table border="0" class="variablelist">
 
397
<colgroup>
330
398
<col align="left" valign="top">
 
399
<col>
 
400
</colgroup>
331
401
<tbody><tr>
332
402
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
333
403
<td>A newly allocated string that stores the path of socket file.</td>
337
407
<hr>
338
408
<div class="refsect2">
339
409
<a name="ibus-get-timeout"></a><h3>ibus_get_timeout ()</h3>
340
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                ibus_get_timeout                    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
410
<pre class="programlisting"><span class="returnvalue">gint</span>                ibus_get_timeout                    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
341
411
<p>
342
412
Get the GDBus timeout in milliseconds. The timeout is for clients (e.g. im-ibus.so), not for ibus-daemon.
343
413
Note that the timeout for ibus-daemon could be set by --timeout command line option of the daemon.
344
414
</p>
345
 
<div class="variablelist"><table border="0">
 
415
<div class="variablelist"><table border="0" class="variablelist">
 
416
<colgroup>
346
417
<col align="left" valign="top">
 
418
<col>
 
419
</colgroup>
347
420
<tbody><tr>
348
421
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
349
422
<td>A GDBus timeout in milliseconds. -1 when default timeout for GDBus should be used.</td>
352
425
</div>
353
426
<hr>
354
427
<div class="refsect2">
355
 
<a name="ibus-get-user-name"></a><h3>ibus_get_user_name ()</h3>
356
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ibus_get_user_name                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
357
 
<p>
358
 
Get the current user name.
359
 
It is determined by:
360
 
</p>
361
 
<div class="orderedlist"><ol class="orderedlist" type="1">
362
 
<li class="listitem"><p><code class="function">getlogin()</code></p></li>
363
 
<li class="listitem"><p>Environment variable SUDO_USER</p></li>
364
 
<li class="listitem"><p>Environment variable USERHELPER_UID</p></li>
365
 
<li class="listitem"><p>Environment variable USERNAME</p></li>
366
 
<li class="listitem"><p>Environment variable LOGNAME</p></li>
367
 
<li class="listitem"><p>Environment variable USER</p></li>
368
 
<li class="listitem"><p>Environment variable LNAME</p></li>
369
 
</ol></div>
370
 
<p>
371
 
</p>
372
 
<div class="variablelist"><table border="0">
 
428
<a name="ibus-free-strv"></a><h3>ibus_free_strv ()</h3>
 
429
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_free_strv                      (<em class="parameter"><code><span class="type">gchar</span> **strv</code></em>);</pre>
 
430
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
431
<h3 class="title">Warning</h3>
 
432
<p><code class="literal">ibus_free_strv</code> is deprecated and should not be used in newly-written code. This function has been deprecated and should
 
433
not be used in newly written code.</p>
 
434
</div>
 
435
<p>
 
436
Free a list of strings.
 
437
</p>
 
438
<div class="variablelist"><table border="0" class="variablelist">
 
439
<colgroup>
373
440
<col align="left" valign="top">
 
441
<col>
 
442
</colgroup>
374
443
<tbody><tr>
 
444
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
 
445
<td>List of strings.</td>
 
446
</tr></tbody>
 
447
</table></div>
 
448
</div>
 
449
<hr>
 
450
<div class="refsect2">
 
451
<a name="ibus-key-event-to-string"></a><h3>ibus_key_event_to_string ()</h3>
 
452
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       ibus_key_event_to_string            (<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
 
453
                                                         <em class="parameter"><code><span class="type">guint</span> modifiers</code></em>);</pre>
 
454
<p>
 
455
Return the name of a key symbol and modifiers.
 
456
</p>
 
457
<p>
 
458
For example, if press ctrl, shift, and enter, then this function returns:
 
459
Shift+Control+enter.
 
460
</p>
 
461
<div class="variablelist"><table border="0" class="variablelist">
 
462
<colgroup>
 
463
<col align="left" valign="top">
 
464
<col>
 
465
</colgroup>
 
466
<tbody>
 
467
<tr>
 
468
<td><p><span class="term"><em class="parameter"><code>keyval</code></em> :</span></p></td>
 
469
<td>Key symbol.</td>
 
470
</tr>
 
471
<tr>
 
472
<td><p><span class="term"><em class="parameter"><code>modifiers</code></em> :</span></p></td>
 
473
<td>Modifiers such as Ctrl or Shift.</td>
 
474
</tr>
 
475
<tr>
375
476
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
376
 
<td>A newly allocated string that stores current user name.</td>
377
 
</tr></tbody>
 
477
<td>The name of a key symbol and modifier.</td>
 
478
</tr>
 
479
</tbody>
378
480
</table></div>
379
481
</div>
380
482
<hr>
381
483
<div class="refsect2">
382
 
<a name="ibus-init"></a><h3>ibus_init ()</h3>
383
 
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_init                           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
384
 
<p>
385
 
Init the ibus types.
386
 
</p>
387
 
<p>
388
 
It is actually a wrapper of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init"><code class="function">g_type_init()</code></a>.
389
 
</p>
390
 
</div>
391
 
<hr>
392
 
<div class="refsect2">
393
484
<a name="ibus-key-event-from-string"></a><h3>ibus_key_event_from_string ()</h3>
394
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ibus_key_event_from_string          (<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> *string</code></em>,
395
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *keyval</code></em>,
396
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *modifiers</code></em>);</pre>
 
485
<pre class="programlisting"><span class="returnvalue">gboolean</span>            ibus_key_event_from_string          (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
 
486
                                                         <em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
 
487
                                                         <em class="parameter"><code><span class="type">guint</span> *modifiers</code></em>);</pre>
397
488
<p>
398
489
Parse key event string and return key symbol and modifiers.
399
490
</p>
400
 
<div class="variablelist"><table border="0">
 
491
<div class="variablelist"><table border="0" class="variablelist">
 
492
<colgroup>
401
493
<col align="left" valign="top">
 
494
<col>
 
495
</colgroup>
402
496
<tbody>
403
497
<tr>
404
498
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
421
515
</div>
422
516
<hr>
423
517
<div class="refsect2">
424
 
<a name="ibus-key-event-to-string"></a><h3>ibus_key_event_to_string ()</h3>
425
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ibus_key_event_to_string            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
426
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> modifiers</code></em>);</pre>
427
 
<p>
428
 
Return the name of a key symbol and modifiers.
429
 
</p>
430
 
<p>
431
 
For example, if press ctrl, shift, and enter, then this function returns:
432
 
Shift+Control+enter.
433
 
</p>
434
 
<div class="variablelist"><table border="0">
435
 
<col align="left" valign="top">
436
 
<tbody>
437
 
<tr>
438
 
<td><p><span class="term"><em class="parameter"><code>keyval</code></em> :</span></p></td>
439
 
<td>Key symbol.</td>
440
 
</tr>
441
 
<tr>
442
 
<td><p><span class="term"><em class="parameter"><code>modifiers</code></em> :</span></p></td>
443
 
<td>Modifiers such as Ctrl or Shift.</td>
444
 
</tr>
445
 
<tr>
446
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
447
 
<td>The name of a key symbol and modifier.</td>
448
 
</tr>
449
 
</tbody>
450
 
</table></div>
 
518
<a name="ibus-init"></a><h3>ibus_init ()</h3>
 
519
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_init                           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
520
<p>
 
521
Initialize the ibus types.
 
522
</p>
451
523
</div>
452
524
<hr>
453
525
<div class="refsect2">
474
546
</div>
475
547
<hr>
476
548
<div class="refsect2">
477
 
<a name="ibus-set-display"></a><h3>ibus_set_display ()</h3>
478
 
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_set_display                    (<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> *display</code></em>);</pre>
479
 
<p>
480
 
Set the display address.
481
 
</p>
482
 
<div class="variablelist"><table border="0">
483
 
<col align="left" valign="top">
484
 
<tbody><tr>
485
 
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
486
 
<td>Display address, as in DISPLAY environment for X.</td>
487
 
</tr></tbody>
488
 
</table></div>
489
 
</div>
490
 
<hr>
491
 
<div class="refsect2">
492
549
<a name="ibus-set-log-handler"></a><h3>ibus_set_log_handler ()</h3>
493
 
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_set_log_handler                (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> verbose</code></em>);</pre>
 
550
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_set_log_handler                (<em class="parameter"><code><span class="type">gboolean</span> verbose</code></em>);</pre>
494
551
<p>
495
552
Sets GLIB's log handler to ours. Our log handler adds time info
496
553
including hour, minute, second, and microsecond, like:
499
556
(ibus-daemon:7088): IBUS-DEBUG: 18:06:45.822819: ibus-daemon started
500
557
</p>
501
558
<p>
502
 
If <em class="parameter"><code>verbose</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, all levels of messages will be logged. Otherwise,
 
559
If <em class="parameter"><code>verbose</code></em> is <code class="literal">TRUE</code>, all levels of messages will be logged. Otherwise,
503
560
DEBUG and WARNING messages will be ignored.  The function is used in
504
561
ibus-daemon, but can be useful for IBus client programs as well for
505
562
debugging. It's totally fine for not calling this function. If you
506
563
don't set a custom GLIB log handler, the default GLIB log handler will
507
564
be used.
508
565
</p>
509
 
<div class="variablelist"><table border="0">
 
566
<div class="variablelist"><table border="0" class="variablelist">
 
567
<colgroup>
510
568
<col align="left" valign="top">
 
569
<col>
 
570
</colgroup>
511
571
<tbody><tr>
512
572
<td><p><span class="term"><em class="parameter"><code>verbose</code></em> :</span></p></td>
513
573
<td>TRUE for verbose logging.</td>
522
582
Remove the log handler which is set by ibus_set_log_handler.
523
583
</p>
524
584
</div>
525
 
<hr>
526
 
<div class="refsect2">
527
 
<a name="ibus-write-address"></a><h3>ibus_write_address ()</h3>
528
 
<pre class="programlisting"><span class="returnvalue">void</span>                ibus_write_address                  (<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> *address</code></em>);</pre>
529
 
<p>
530
 
Write D-Bus address to socket file.
531
 
</p>
532
 
<p>
533
 
See also: <a class="link" href="ibus-ibusshare.html#ibus-get-address" title="ibus_get_address ()"><code class="function">ibus_get_address()</code></a>.
534
 
</p>
535
 
<div class="variablelist"><table border="0">
536
 
<col align="left" valign="top">
537
 
<tbody><tr>
538
 
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
539
 
<td>D-Bus address of IBus.</td>
540
 
</tr></tbody>
541
 
</table></div>
542
 
</div>
543
585
</div>
544
586
</div>
545
587
<div class="footer">
546
588
<hr>
547
 
          Generated by GTK-Doc V1.18</div>
 
589
          Generated by GTK-Doc V1.19</div>
548
590
</body>
549
591
</html>
 
 
b'\\ No newline at end of file'