~ubuntu-branches/ubuntu/karmic/ibus/karmic-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-07-23 20:22:09 UTC
  • mfrom: (1.1.4 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090723202209-bmgqa80g1umg8l2p
Tags: 1.2.0.20090723-1
new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
<div class="refnamediv"><table width="100%"><tr>
37
37
<td valign="top">
38
38
<h2><span class="refentrytitle"><a name="ibus-ibusinternal.top_of_page"></a>ibusinternal</span></h2>
39
 
<p>ibusinternal</p>
 
39
<p>ibusinternal — IBus DBus setting functions for internal use.</p>
40
40
</td>
41
41
<td valign="top" align="right"></td>
42
42
</tr></table></div>
 
43
<div class="refsect1" lang="en">
 
44
<a name="ibus-ibusinternal.stability-level"></a><h2>Stability Level</h2>
 
45
Stable, unless otherwise indicated
 
46
</div>
43
47
<div class="refsynopsisdiv">
44
48
<a name="ibus-ibusinternal.synopsis"></a><h2>Synopsis</h2>
45
49
<pre class="synopsis">
57
61
<div class="refsect1" lang="en">
58
62
<a name="ibus-ibusinternal.description"></a><h2>Description</h2>
59
63
<p>
 
64
This section contain several IBus house keeping functions.</p>
 
65
<p>
60
66
</p>
61
67
</div>
62
68
<div class="refsect1" lang="en">
84
90
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"
85
91
>GMainContext</a> *context);</pre>
86
92
<p>
 
93
Sets the watch and timeout functions of a <span class="type">DBusServer</span>
 
94
to integrate the server with the GLib main loop.
 
95
In most cases the context argument should be <a
 
96
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
97
><span class="type">NULL</span></a>.
 
98
</p>
 
99
<p>
 
100
If called twice for the same context, does nothing the second
 
101
time. If called once with context A and once with context B,
 
102
context B replaces context A as the context monitoring the
 
103
connection.</p>
 
104
<p>
87
105
</p>
88
106
<div class="variablelist"><table border="0">
89
107
<col align="left" valign="top">
90
108
<tbody>
91
109
<tr>
92
110
<td><p><span class="term"><em class="parameter"><code>server</code></em> :</span></p></td>
93
 
<td>
 
111
<td> the server
94
112
</td>
95
113
</tr>
96
114
<tr>
97
115
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
98
 
<td>
 
116
<td> the <a
 
117
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"
 
118
><span class="type">GMainContext</span></a> or <a
 
119
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
120
><span class="type">NULL</span></a> for default
99
121
</td>
100
122
</tr>
101
123
</tbody>
109
131
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"
110
132
>GMainContext</a> *context);</pre>
111
133
<p>
 
134
Sets the watch and timeout functions of a <span class="type">DBusConnection</span>
 
135
to integrate the connection with the GLib main loop.
 
136
</p>
 
137
<p>
 
138
This function uses the parameter <em class="parameter"><code>user_data</code></em> and
 
139
connection_func set with <code class="function">ibus_mainloop_setup()</code>,
 
140
or fall back to NULL and <a class="link" href="ibus-ibusinternal.html#dbus-connection-setup" title="dbus_connection_setup ()"><code class="function">dbus_connection_setup()</code></a> if those are not defined.
 
141
</p>
 
142
<p>
 
143
<em class="parameter"><code>see_also</code></em>: <code class="function">ibus_mainloop_setup()</code>, <a class="link" href="ibus-ibusinternal.html#dbus-connection-setup" title="dbus_connection_setup ()"><code class="function">dbus_connection_setup()</code></a>.</p>
 
144
<p>
112
145
</p>
113
146
<div class="variablelist"><table border="0">
114
147
<col align="left" valign="top">
115
148
<tbody>
116
149
<tr>
117
150
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
118
 
<td>
 
151
<td> A DBusConnection.
119
152
</td>
120
153
</tr>
121
154
<tr>
127
160
</table></div>
128
161
</div>
129
162
</div>
 
163
<div class="refsect1" lang="en">
 
164
<a name="ibus-ibusinternal.see-also"></a><h2>See Also</h2>
 
165
#IBusMainLoop
 
166
</div>
130
167
</div>
131
168
<div class="footer">
132
169
<hr>