/usr/share/gtk-doc/html/libgconf-bridge/libgconf-bridge-gconf-bridge.html is in libgconf-bridge-dev 0.1-2.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GConfBridge</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GConf Bridge Reference Manual">
<link rel="up" href="ch01.html" title="API Reference">
<link rel="prev" href="ch01.html" title="API Reference">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GConf Bridge Reference Manual</th>
<td> </td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgconf-bridge-gconf-bridge.synopsis" class="shortcut">Top</a>
|
<a href="#libgconf-bridge-gconf-bridge.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgconf-bridge-gconf-bridge"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgconf-bridge-gconf-bridge.top_of_page"></a>GConfBridge</span></h2>
<p>GConfBridge — GConf bridge</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgconf-bridge-gconf-bridge.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">void</span> <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-install-default-error-handler" title="gconf_bridge_install_default_error_handler ()">gconf_bridge_install_default_error_handler</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge">GConfBridge</a>;
<a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="returnvalue">GConfBridge</span></a> * <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-get" title="gconf_bridge_get ()">gconf_bridge_get</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">GConfClient</span> * <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-get-client" title="gconf_bridge_get_client ()">gconf_bridge_get_client</a> (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-property-full" title="gconf_bridge_bind_property_full ()">gconf_bridge_bind_property_full</a> (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *prop</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> delayed_sync</code></em>);
#define <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-property" title="gconf_bridge_bind_property()">gconf_bridge_bind_property</a> (bridge,
key,
object,
prop)
#define <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-property-delayed" title="gconf_bridge_bind_property_delayed()">gconf_bridge_bind_property_delayed</a> (bridge,
key,
object,
prop)
<span class="returnvalue">guint</span> <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-window" title="gconf_bridge_bind_window ()">gconf_bridge_bind_window</a> (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key_prefix</code></em>,
<em class="parameter"><code><span class="type">GtkWindow</span> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> bind_size</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> bind_pos</code></em>);
#define <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-window-size" title="gconf_bridge_bind_window_size()">gconf_bridge_bind_window_size</a> (bridge,
key_prefix,
window)
#define <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-window-pos" title="gconf_bridge_bind_window_pos()">gconf_bridge_bind_window_pos</a> (bridge,
key_prefix,
window)
<span class="returnvalue">guint</span> <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-string-list-store" title="gconf_bridge_bind_string_list_store ()">gconf_bridge_bind_string_list_store</a> (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">GtkListStore</span> *list_store</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-unbind" title="gconf_bridge_unbind ()">gconf_bridge_unbind</a> (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code><span class="type">guint</span> binding_id</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgconf-bridge-gconf-bridge.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libgconf-bridge-gconf-bridge.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gconf-bridge-install-default-error-handler"></a><h3>gconf_bridge_install_default_error_handler ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gconf_bridge_install_default_error_handler
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Sets up the default error handler. Any unhandled GConf errors will
automatically be handled by presenting the user an error dialog.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GConfBridge"></a><h3>GConfBridge</h3>
<pre class="programlisting">typedef struct _GConfBridge GConfBridge;</pre>
<p>
<a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> is an opaque type, there are no publicly accessible members.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-get"></a><h3>gconf_bridge_get ()</h3>
<pre class="programlisting"><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="returnvalue">GConfBridge</span></a> * gconf_bridge_get (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>. This is a singleton object.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-get-client"></a><h3>gconf_bridge_get_client ()</h3>
<pre class="programlisting"><span class="returnvalue">GConfClient</span> * gconf_bridge_get_client (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>);</pre>
<p>
Returns the <span class="type">GConfClient</span> used by <em class="parameter"><code>bridge</code></em>. This is the same <span class="type">GConfClient</span>
as returned by <code class="function">gconf_client_get_default()</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">GConfClient</span>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-property-full"></a><h3>gconf_bridge_bind_property_full ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> gconf_bridge_bind_property_full (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *prop</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> delayed_sync</code></em>);</pre>
<p>
Binds <em class="parameter"><code>key</code></em> to <em class="parameter"><code>prop</code></em>, causing them to have the same value at all times.
</p>
<p>
The types of <em class="parameter"><code>key</code></em> and <em class="parameter"><code>prop</code></em> should be compatible. Floats and doubles, and
ints, uints, longs, unlongs, int64s, uint64s, chars, uchars and enums
can be matched up. Booleans and strings can only be matched to their
respective types.
</p>
<p>
On calling this function the current value of <em class="parameter"><code>key</code></em> will be set to <em class="parameter"><code>prop</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>A GConf key to be bound</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>A <span class="type">GObject</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop</code></em> :</span></p></td>
<td>The property of <em class="parameter"><code>object</code></em> to be bound</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>delayed_sync</code></em> :</span></p></td>
<td>TRUE if there should be a delay between property changes
and syncs to GConf. Set to TRUE when binding to a rapidly-changing
property, for example the "value" property on a <span class="type">GtkAdjustment</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The ID of the new binding.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-property"></a><h3>gconf_bridge_bind_property()</h3>
<pre class="programlisting">#define gconf_bridge_bind_property(bridge, key, object, prop)</pre>
<p>
Binds <em class="parameter"><code>key</code></em> to <em class="parameter"><code>prop</code></em> without delays, causing them to have the same value at all times. See
<a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-property-full" title="gconf_bridge_bind_property_full ()"><span class="type">gconf_bridge_bind_property_full</span></a> for more details.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>A GConf key to be bound</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>A <span class="type">GObject</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop</code></em> :</span></p></td>
<td>The property of <em class="parameter"><code>object</code></em> to be bound</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-property-delayed"></a><h3>gconf_bridge_bind_property_delayed()</h3>
<pre class="programlisting">#define gconf_bridge_bind_property_delayed(bridge, key, object, prop)</pre>
<p>
Binds <em class="parameter"><code>key</code></em> to <em class="parameter"><code>prop</code></em> with a delay, causing them to have the same value at all
times. See <a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-property-full" title="gconf_bridge_bind_property_full ()"><span class="type">gconf_bridge_bind_property_full</span></a> for more details.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>A GConf key to be bound</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>A <span class="type">GObject</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop</code></em> :</span></p></td>
<td>The property of <em class="parameter"><code>object</code></em> to be bound</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-window"></a><h3>gconf_bridge_bind_window ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> gconf_bridge_bind_window (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key_prefix</code></em>,
<em class="parameter"><code><span class="type">GtkWindow</span> *window</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> bind_size</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> bind_pos</code></em>);</pre>
<p>
On calling this function <em class="parameter"><code>window</code></em> will be resized to the values
specified by "<em class="parameter"><code>key_prefix</code></em>_width" and "<em class="parameter"><code>key_prefix</code></em>_height" if
<em class="parameter"><code>bind_size</code></em> is TRUE, and moved to the values specified by
"<em class="parameter"><code>key_prefix</code></em>_x" and "<em class="parameter"><code>key_prefix</code></em>_y" if <em class="parameter"><code>bind_pos</code></em> is TRUE.
The respective GConf values will be updated when the window is resized
and/or moved.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key_prefix</code></em> :</span></p></td>
<td>The prefix of the GConf keys</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <span class="type">GtkWindow</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bind_size</code></em> :</span></p></td>
<td>TRUE to bind the size of <em class="parameter"><code>window</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bind_pos</code></em> :</span></p></td>
<td>TRUE to bind the position of <em class="parameter"><code>window</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The ID of the new binding.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-window-size"></a><h3>gconf_bridge_bind_window_size()</h3>
<pre class="programlisting">#define gconf_bridge_bind_window_size(bridge, key_prefix, window)</pre>
<p>
On calling this function <em class="parameter"><code>window</code></em> will be resized to the values specified by
"<em class="parameter"><code>key_prefix</code></em>_width" and "<em class="parameter"><code>key_prefix</code></em>_height". The respective
GConf values will be updated when the window is resized. See
<a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-window" title="gconf_bridge_bind_window ()"><span class="type">gconf_bridge_bind_window</span></a> for more details.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key_prefix</code></em> :</span></p></td>
<td>The prefix of the GConf keys</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <span class="type">GtkWindow</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-window-pos"></a><h3>gconf_bridge_bind_window_pos()</h3>
<pre class="programlisting">#define gconf_bridge_bind_window_pos(bridge, key_prefix, window)</pre>
<p>
On calling this function <em class="parameter"><code>window</code></em> will be moved to the values specified by
"<em class="parameter"><code>key_prefix</code></em>_x" and "<em class="parameter"><code>key_prefix</code></em>_y". The respective GConf
values will be updated when the window is moved. See
<a class="link" href="libgconf-bridge-gconf-bridge.html#gconf-bridge-bind-window" title="gconf_bridge_bind_window ()"><span class="type">gconf_bridge_bind_window</span></a> for more details.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key_prefix</code></em> :</span></p></td>
<td>The prefix of the GConf keys</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>A <span class="type">GtkWindow</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-bind-string-list-store"></a><h3>gconf_bridge_bind_string_list_store ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> gconf_bridge_bind_string_list_store (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
<em class="parameter"><code><span class="type">GtkListStore</span> *list_store</code></em>);</pre>
<p>
On calling this function single string column <span class="type">GtkListStore</span> <em class="parameter"><code>list_store</code></em>
will be kept synchronized with the GConf string list value pointed to by
<em class="parameter"><code>key</code></em>. On calling this function <em class="parameter"><code>list_store</code></em> will be populated with the
strings specified by the value of <em class="parameter"><code>key</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>A GConf key to be bound</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>list_store</code></em> :</span></p></td>
<td>A <span class="type">GtkListStore</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The ID of the new binding.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gconf-bridge-unbind"></a><h3>gconf_bridge_unbind ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gconf_bridge_unbind (<em class="parameter"><code><a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a> *bridge</code></em>,
<em class="parameter"><code><span class="type">guint</span> binding_id</code></em>);</pre>
<p>
Removes the binding with ID <em class="parameter"><code>binding_id</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bridge</code></em> :</span></p></td>
<td>A <a class="link" href="libgconf-bridge-gconf-bridge.html#GConfBridge" title="GConfBridge"><span class="type">GConfBridge</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>binding_id</code></em> :</span></p></td>
<td>The ID of the binding to be removed</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|