|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/gtk-doc/html/libgnome/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gnome-config</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME Library Reference Manual">
<link rel="up" href="ch01s02.html" title="Configuration">
<link rel="prev" href="libgnome-gnome-gconf.html" title="gnome-gconf">
<link rel="next" href="libgnome-gnome-i18n.html" title="gnome-i18n">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="libgnome.html" title="GNOME Library (libgnome)">
</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="libgnome-gnome-gconf.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01s02.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">GNOME Library Reference Manual</th>
<td><a accesskey="n" href="libgnome-gnome-i18n.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2799145" class="shortcut">Top</a>
 | 
<a href="#id2800580" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgnome-gnome-config"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2799145"></a><span class="refentrytitle">gnome-config</span>
</h2>
<p>gnome-config — Access to configuration files.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnome/libgnome.h>
#define <a href="libgnome-gnome-config.html#gnome-config-get-string">gnome_config_get_string</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-string-with-default">gnome_config_get_string_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-get-translated-string">gnome_config_get_translated_string</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-translated-string-with-default">gnome_config_get_translated_string_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-string">gnome_config_private_get_string</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-string-with-default">gnome_config_private_get_string_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-translated-string">gnome_config_private_get_translated_string</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-translated-string-with-default">gnome_config_private_get_translated_string_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-set-string">gnome_config_set_string</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-set-translated-string">gnome_config_set_translated_string</a>(path,value)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-string">gnome_config_private_set_string</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-translated-string">gnome_config_private_set_translated_string</a>(path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-get-int">gnome_config_get_int</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-int-with-default">gnome_config_get_int_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-int">gnome_config_private_get_int</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-int-with-default">gnome_config_private_get_int_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-set-int">gnome_config_set_int</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-int">gnome_config_private_set_int</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-get-float">gnome_config_get_float</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-float-with-default">gnome_config_get_float_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-float">gnome_config_private_get_float</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-float-with-default">gnome_config_private_get_float_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-set-float">gnome_config_set_float</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-float">gnome_config_private_set_float</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-get-bool">gnome_config_get_bool</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-bool-with-default">gnome_config_get_bool_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-bool">gnome_config_private_get_bool</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-bool-with-default">gnome_config_private_get_bool_with_default</a>(path,def)
#define <a href="libgnome-gnome-config.html#gnome-config-set-bool">gnome_config_set_bool</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-bool">gnome_config_private_set_bool</a> (path,new_value)
#define <a href="libgnome-gnome-config.html#gnome-config-get-vector">gnome_config_get_vector</a> (path, argcp, argvp)
#define <a href="libgnome-gnome-config.html#gnome-config-get-vector-with-default">gnome_config_get_vector_with_default</a>(path, argcp, argvp, def)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-vector">gnome_config_private_get_vector</a> (path, argcp, argvp)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-vector-with-default">gnome_config_private_get_vector_with_default</a>(path, argcp, argvp, def)
#define <a href="libgnome-gnome-config.html#gnome-config-set-vector">gnome_config_set_vector</a> (path,argc,argv)
#define <a href="libgnome-gnome-config.html#gnome-config-private-set-vector">gnome_config_private_set_vector</a> (path,argc,argv)
char* <a href="libgnome-gnome-config.html#gnome-config-assemble-vector">gnome_config_assemble_vector</a> (int argc,
const char *const argv[]);
#define <a href="libgnome-gnome-config.html#gnome-config-has-section">gnome_config_has_section</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-has-section">gnome_config_private_has_section</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-init-iterator">gnome_config_init_iterator</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-init-iterator">gnome_config_private_init_iterator</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-init-iterator-sections">gnome_config_init_iterator_sections</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-init-iterator-sections">gnome_config_private_init_iterator_sections</a>(path)
void* <a href="libgnome-gnome-config.html#gnome-config-iterator-next">gnome_config_iterator_next</a> (void *iterator_handle,
char **key,
char **value);
void <a href="libgnome-gnome-config.html#gnome-config-drop-all">gnome_config_drop_all</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgnome-gnome-config.html#gnome-config-sync">gnome_config_sync</a> (void);
#define <a href="libgnome-gnome-config.html#gnome-config-sync-file">gnome_config_sync_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-sync-file">gnome_config_private_sync_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-drop-file">gnome_config_drop_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-drop-file">gnome_config_private_drop_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-clean-file">gnome_config_clean_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-clean-file">gnome_config_private_clean_file</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-clean-section">gnome_config_clean_section</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-clean-section">gnome_config_private_clean_section</a>(path)
#define <a href="libgnome-gnome-config.html#gnome-config-clean-key">gnome_config_clean_key</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-clean-key">gnome_config_private_clean_key</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-get-real-path">gnome_config_get_real_path</a> (path)
#define <a href="libgnome-gnome-config.html#gnome-config-private-get-real-path">gnome_config_private_get_real_path</a>(path)
void <a href="libgnome-gnome-config.html#gnome-config-push-prefix">gnome_config_push_prefix</a> (const char *path);
void <a href="libgnome-gnome-config.html#gnome-config-pop-prefix">gnome_config_pop_prefix</a> (void);
void <a href="libgnome-gnome-config.html#gnome-config-make-vector">gnome_config_make_vector</a> (const char *string,
int *argcp,
char ***argvp);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2800580"></a><h2>Description</h2>
<p>
This module provides a simple method of retrieving and storing configuration
data that resides in files. It also provides the ability to supply default
values for the configuration parameters to simply client code.
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
The purpose of this module is different in GNOME 2 from what it was in
GNOME 1. General applications should use the <span class="type">gnome-gconf</span> module for
their configuration requirements.
</p>
<p>
The gnome-config module exists for applications that
</p>
<div class="itemizedlist"><ul type="disc">
<li><p>need to provide a backwards-compatible
version of their configuration files, or</p></li>
<li><p>need to run independently of a user and
access configuration files at absolute
locations (for example, a login manager), or
</p></li>
<li><p>need to parse
<em class="wordasword">.desktop</em>-style files,
or</p></li>
<li><p>need to parse user- or
shell-editable/readable files.</p></li>
</ul></div>
<p>
</p>
</div>
<p><b>Definitions. </b>
</p>
<div class="itemizedlist"><ul type="disc">
<li>
<p><span class="emphasis"><em>config path:</em></span> a string that
specifies which item to retrieve from the configuration
database. The config path is composed of three elements: the
first one is the filename where the information is stored, the
second component is the section and the third one is the key
inside the section</p>
<p>For example, a config path of "/myapp/toolbox/showit"
could be used to retrieve the setting for whether 'myapp'
should display its toolbox or not. In this example "myapp" is
the file name (which is stored in
<code class="filename">~/.gnome2</code> directory), "toolbox" is the
section and "showit" is the key.</p>
<p>If you want to access an absolute file instead of a
<code class="filename">~/.gnome2</code>-relative file, then you need to
surround the filename with equal signs, for example, to access
the key "mykey" from the section "mysection" in a
configuration file located in
<code class="filename">/gnome/var/myconfig</code> you need to use this
path: "=/gnome/var/myconfig=/mysection/mykey".</p>
</li>
<li><p><span class="emphasis"><em>default:</em></span> when retrieving a
config item, specifies the value to be used if the item is not
found.</p></li>
<li><p><span class="emphasis"><em>private configuration data:</em></span>
Normally, config item data is located in files under the
<code class="filename">~user/.gnome2</code> directory in a .ini-like format.
These files are world-readable. Items that have security or privacy
implications are stored and retrieved using the "private" versions of
the gnome-config routines, and the data for these items is stored in
files under the <code class="filename">~user/.gnome2_private</code> directory,
which is not accessable by anyone except that user and the system
administrator.</p></li>
<li><p><span class="emphasis"><em>translated strings:</em></span> GNOME's
multilingual support means that multiple languages must be supported for
configuration items. The gnome_config_*<code class="function">get_translated_string()</code> and
gnome_config_*<code class="function">set_translated_string()</code> routines allow you to specify which
language a string item should be accessed for.
</p></li>
<li><p><span class="emphasis"><em>section:</em></span> a group of config items and
other config sections</p></li>
</ul></div>
<p>
</p>
<p><b>How Config Items are Read. </b>
The gnome-config module has a versatile method of storing config items.
When a config item is written by a program, it is written to a file under
the <code class="filename">~/.gnome2</code> hierarchy. However, when config items
are read, the process is a little more complicated. There are a number of
places that are searched. If the config item is not found in one, then the
next place is checked, finally falling back to the default value provided
by the application. The locations are as follows:
</p>
<div class="itemizedlist"><ul type="disc">
<li><p><code class="filename">$(sysconfdir)/gnome/config-override</code>
- a system administrator would put config items in this directory
that they don't want to be configurable.</p></li>
<li><p><code class="filename">~/.gnome</code> - this is where the
user's config items are written to and is the next place that is
searched</p></li>
<li><p><code class="filename">$(sysconfdir)/gnome/config</code>
- this directory would hold system wide default configuration values.
</p></li>
</ul></div>
<p>
</p>
<p>
Possible uses for this are setting system wide defaults such as
proxy servers for the system (either using
<code class="filename">config-override</code> to enforce such a policy or
the <code class="filename">config</code> directory to suggest such a
default). It is also possible to configure the application
through its graphical interface, and then copy the configuration
file accross to the appropriate system-wide directory.
The <code class="filename">config-override</code> directory should be used
sparingly, as it could annoy or confuse some users. Note also
that some applications will not read the config items every time
they are needed, so putting defaults into the
<code class="filename">config-override</code> directory will not always
completely enforce a setting.
</p>
<p>
Every function in this module comes in at least two forms. There is the
<code class="function"><code class="function">gnome_config_get_foo()</code></code> version which retrieves the
configuration data from the <code class="filename">~/.gnome2</code> directory (unless an
absolute configuration key is given, as defined above). Then there is the
<code class="function"><code class="function">gnome_config_private_get_foo()</code></code> version, which retrieves
the information from the user's <code class="filename">~/.gnome2-private</code>
directory.
</p>
<p>
For functions dealing with strings, there is a third form of each function
which returns the translated version of the string for the current locale.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2800953"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2800963"></a><h3>
<a name="gnome-config-get-string"></a>gnome_config_get_string()</h3>
<a class="indexterm" name="id2800978"></a><pre class="programlisting">#define gnome_config_get_string(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string. This value should
be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item as a string.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801052"></a><h3>
<a name="gnome-config-get-string-with-default"></a>gnome_config_get_string_with_default()</h3>
<a class="indexterm" name="id2801068"></a><pre class="programlisting">#define gnome_config_get_string_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_string_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string. This value should
be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item as a string, or <em class="parameter"><code>def</code></em> if the
configuration key does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801163"></a><h3>
<a name="gnome-config-get-translated-string"></a>gnome_config_get_translated_string()</h3>
<a class="indexterm" name="id2801180"></a><pre class="programlisting">#define gnome_config_get_translated_string(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_translated_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string appropriate for the
current language. The returned value should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no
longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801254"></a><h3>
<a name="gnome-config-get-translated-string-with-default"></a>gnome_config_get_translated_string_with_default()</h3>
<a class="indexterm" name="id2801271"></a><pre class="programlisting">#define gnome_config_get_translated_string_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_translated_string_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string appropriate for the
current language. The returned value should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no
longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item or <em class="parameter"><code>def</code></em> if the configuration
item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801367"></a><h3>
<a name="gnome-config-private-get-string"></a>gnome_config_private_get_string()</h3>
<a class="indexterm" name="id2801383"></a><pre class="programlisting">#define gnome_config_private_get_string(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item from the user's private
configuration directory as a string. This value should be freed with
<a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item as a string.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801458"></a><h3>
<a name="gnome-config-private-get-string-with-default"></a>gnome_config_private_get_string_with_default()</h3>
<a class="indexterm" name="id2801474"></a><pre class="programlisting">#define gnome_config_private_get_string_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_string_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item from the user's private
configuration directory as a string. This value should be freed with
<a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item as a string, or <em class="parameter"><code>def</code></em> if the
configuration key does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801571"></a><h3>
<a name="gnome-config-private-get-translated-string"></a>gnome_config_private_get_translated_string()</h3>
<a class="indexterm" name="id2801588"></a><pre class="programlisting">#define gnome_config_private_get_translated_string(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_translated_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string appropriate for the
current language. The returned value should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no
longer needed. The item is retrieved from the user's private configuration
storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801664"></a><h3>
<a name="gnome-config-private-get-translated-string-with-default"></a>gnome_config_private_get_translated_string_with_default()</h3>
<a class="indexterm" name="id2801680"></a><pre class="programlisting">#define gnome_config_private_get_translated_string_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_translated_string_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string appropriate for the
current language. The returned value should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no
longer needed. The item is retrieved from the user's private configuration
storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of the configuration item or <em class="parameter"><code>def</code></em> if the configuration
item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801779"></a><h3>
<a name="gnome-config-set-string"></a>gnome_config_set_string()</h3>
<a class="indexterm" name="id2801794"></a><pre class="programlisting">#define gnome_config_set_string(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the string value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A string value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801871"></a><h3>
<a name="gnome-config-set-translated-string"></a>gnome_config_set_translated_string()</h3>
<a class="indexterm" name="id2801887"></a><pre class="programlisting">#define gnome_config_set_translated_string(path,value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_translated_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the string value <em class="parameter"><code>value</code></em> in the file/section/key defined
by the <em class="parameter"><code>path</code></em> on the proper section for the current language set by
by the user.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td> A string value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2801965"></a><h3>
<a name="gnome-config-private-set-string"></a>gnome_config_private_set_string()</h3>
<a class="indexterm" name="id2801981"></a><pre class="programlisting">#define gnome_config_private_set_string(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the string value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>. The configuration value is stored in the user's
private storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A string value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802060"></a><h3>
<a name="gnome-config-private-set-translated-string"></a>gnome_config_private_set_translated_string()</h3>
<a class="indexterm" name="id2802076"></a><pre class="programlisting">#define gnome_config_private_set_translated_string(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_translated_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the string value <em class="parameter"><code>new_value</code></em> in the file/section/key defined by the
<em class="parameter"><code>path</code></em> on the proper section for the current language set by by the user.
The configuration value is stored in the user's private storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A string value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802156"></a><h3>
<a name="gnome-config-get-int"></a>gnome_config_get_int()</h3>
<a class="indexterm" name="id2802171"></a><pre class="programlisting">#define gnome_config_get_int(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_int</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves an integer value configuration item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802233"></a><h3>
<a name="gnome-config-get-int-with-default"></a>gnome_config_get_int_with_default()</h3>
<a class="indexterm" name="id2802249"></a><pre class="programlisting">#define gnome_config_get_int_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_int_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves an integer value configuration item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as an integer or <em class="parameter"><code>def</code></em> if the
configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802332"></a><h3>
<a name="gnome-config-private-get-int"></a>gnome_config_private_get_int()</h3>
<a class="indexterm" name="id2802348"></a><pre class="programlisting">#define gnome_config_private_get_int(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_int</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a configuration item as an int from the user's private
configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as an integer.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802412"></a><h3>
<a name="gnome-config-private-get-int-with-default"></a>gnome_config_private_get_int_with_default()</h3>
<a class="indexterm" name="id2802428"></a><pre class="programlisting">#define gnome_config_private_get_int_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_int_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a configuration item as an int from the user's private
configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as an integer or <em class="parameter"><code>def</code></em> if the
configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802513"></a><h3>
<a name="gnome-config-set-int"></a>gnome_config_set_int()</h3>
<a class="indexterm" name="id2802528"></a><pre class="programlisting">#define gnome_config_set_int(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_int</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the integer value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A int value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802605"></a><h3>
<a name="gnome-config-private-set-int"></a>gnome_config_private_set_int()</h3>
<a class="indexterm" name="id2802621"></a><pre class="programlisting">#define gnome_config_private_set_int(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_int</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the integer value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>. The value is stored in the user's private
configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A int value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802700"></a><h3>
<a name="gnome-config-get-float"></a>gnome_config_get_float()</h3>
<a class="indexterm" name="id2802715"></a><pre class="programlisting">#define gnome_config_get_float(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_float</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a floating-point valued configuration item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802777"></a><h3>
<a name="gnome-config-get-float-with-default"></a>gnome_config_get_float_with_default()</h3>
<a class="indexterm" name="id2802794"></a><pre class="programlisting">#define gnome_config_get_float_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_float_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a floating-point valued configuration item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as a floating-point
number or <em class="parameter"><code>def</code></em> if the configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802877"></a><h3>
<a name="gnome-config-private-get-float"></a>gnome_config_private_get_float()</h3>
<a class="indexterm" name="id2802893"></a><pre class="programlisting">#define gnome_config_private_get_float(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_float</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a configuration item from the user's private configuration storage
area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as a floating-point
number.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2802956"></a><h3>
<a name="gnome-config-private-get-float-with-default"></a>gnome_config_private_get_float_with_default()</h3>
<a class="indexterm" name="id2802974"></a><pre class="programlisting">#define gnome_config_private_get_float_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_float_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a configuration item from the user's private configuration storage
area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as a floating-point
number or <em class="parameter"><code>def</code></em> if the configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803058"></a><h3>
<a name="gnome-config-set-float"></a>gnome_config_set_float()</h3>
<a class="indexterm" name="id2803074"></a><pre class="programlisting">#define gnome_config_set_float(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_float</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the double value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A double value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803151"></a><h3>
<a name="gnome-config-private-set-float"></a>gnome_config_private_set_float()</h3>
<a class="indexterm" name="id2803167"></a><pre class="programlisting">#define gnome_config_private_set_float(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_float</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores the double value <em class="parameter"><code>new_value</code></em> in the file/section/key
defined by the <em class="parameter"><code>path</code></em>. The value is stored in the user's private
configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A double value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803246"></a><h3>
<a name="gnome-config-get-bool"></a>gnome_config_get_bool()</h3>
<a class="indexterm" name="id2803261"></a><pre class="programlisting">#define gnome_config_get_bool(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_bool</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a boolean configuration value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803323"></a><h3>
<a name="gnome-config-get-bool-with-default"></a>gnome_config_get_bool_with_default()</h3>
<a class="indexterm" name="id2803339"></a><pre class="programlisting">#define gnome_config_get_bool_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_bool_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves a boolean configuration value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item, or <em class="parameter"><code>def</code></em> if the
configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803422"></a><h3>
<a name="gnome-config-private-get-bool"></a>gnome_config_private_get_bool()</h3>
<a class="indexterm" name="id2803438"></a><pre class="programlisting">#define gnome_config_private_get_bool(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_bool</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the item from the user's private configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as a boolean.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803501"></a><h3>
<a name="gnome-config-private-get-bool-with-default"></a>gnome_config_private_get_bool_with_default()</h3>
<a class="indexterm" name="id2803518"></a><pre class="programlisting">#define gnome_config_private_get_bool_with_default(path,def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_bool_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the item from the user's private configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The value of a configuration item as a boolean, or <em class="parameter"><code>def</code></em> if the
configuration item does not exist.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803603"></a><h3>
<a name="gnome-config-set-bool"></a>gnome_config_set_bool()</h3>
<a class="indexterm" name="id2803618"></a><pre class="programlisting">#define gnome_config_set_bool(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_bool</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores boolean value <em class="parameter"><code>new_value</code></em> in the file/section/key defined by
<em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A boolean value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803695"></a><h3>
<a name="gnome-config-private-set-bool"></a>gnome_config_private_set_bool()</h3>
<a class="indexterm" name="id2803711"></a><pre class="programlisting">#define gnome_config_private_set_bool(path,new_value)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_bool</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores boolean value <em class="parameter"><code>new_value</code></em> in the file/section/key defined by <em class="parameter"><code>path</code></em>.
The value is stored in the user's private configuration storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>new_value</code></em> :</span></td>
<td> A boolean value to set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803790"></a><h3>
<a name="gnome-config-get-vector"></a>gnome_config_get_vector()</h3>
<a class="indexterm" name="id2803805"></a><pre class="programlisting">#define gnome_config_get_vector(path, argcp, argvp)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string array.
The returned vector should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argcp</code></em> :</span></td>
<td> Number of elements in the vector.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argvp</code></em> :</span></td>
<td> Vector of strings.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2803896"></a><h3>
<a name="gnome-config-get-vector-with-default"></a>gnome_config_get_vector_with_default()</h3>
<a class="indexterm" name="id2803912"></a><pre class="programlisting">#define gnome_config_get_vector_with_default(path, argcp, argvp, def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_vector_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string array.
The returned vector should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argcp</code></em> :</span></td>
<td> Number of elements in the vector.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argvp</code></em> :</span></td>
<td> Vector of strings.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804019"></a><h3>
<a name="gnome-config-private-get-vector"></a>gnome_config_private_get_vector()</h3>
<a class="indexterm" name="id2804034"></a><pre class="programlisting">#define gnome_config_private_get_vector(path, argcp, argvp)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string array.
The returned vector should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed. The
configuration value is retrieved from the user's private configuration
storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argcp</code></em> :</span></td>
<td> Number of elements in the vector.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argvp</code></em> :</span></td>
<td> Vector of strings.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804128"></a><h3>
<a name="gnome-config-private-get-vector-with-default"></a>gnome_config_private_get_vector_with_default()</h3>
<a class="indexterm" name="id2804144"></a><pre class="programlisting">#define gnome_config_private_get_vector_with_default(path, argcp, argvp, def)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_vector_with_default</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the value of a configuration item as a string array.
The returned vector should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when no longer needed. The
configuration value is retrieved from the user's private configuration
storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to an item in the user-private namespace.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argcp</code></em> :</span></td>
<td> Number of elements in the vector
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argvp</code></em> :</span></td>
<td> Vector of strings
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>def</code></em> :</span></td>
<td> A pointer to a flag that will be set if the default value for the item
is returned.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804253"></a><h3>
<a name="gnome-config-set-vector"></a>gnome_config_set_vector()</h3>
<a class="indexterm" name="id2804268"></a><pre class="programlisting">#define gnome_config_set_vector(path,argc,argv)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_set_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores vector <em class="parameter"><code>argv</code></em> in the file/section/key defined by
<em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argc</code></em> :</span></td>
<td> The number of elements in <em class="parameter"><code>argv</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argv</code></em> :</span></td>
<td> A string array holding the data to store.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804365"></a><h3>
<a name="gnome-config-private-set-vector"></a>gnome_config_private_set_vector()</h3>
<a class="indexterm" name="id2804380"></a><pre class="programlisting">#define gnome_config_private_set_vector(path,argc,argv)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_set_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Stores vector <em class="parameter"><code>argv</code></em> in the file/section/key defined by <em class="parameter"><code>path</code></em>. The
configuration value is set in the user's private storage area.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argc</code></em> :</span></td>
<td> The number of elements in <em class="parameter"><code>argv</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argv</code></em> :</span></td>
<td> A string array holding the data to store.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804479"></a><h3>
<a name="gnome-config-assemble-vector"></a>gnome_config_assemble_vector ()</h3>
<a class="indexterm" name="id2804494"></a><pre class="programlisting">char* gnome_config_assemble_vector (int argc,
const char *const argv[]);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_assemble_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This routine returns the the strings in the array contactenated by
spaces. The return value should be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is no longer
required.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>argc</code></em> :</span></td>
<td> Number of elements in the <em class="parameter"><code>argv</code></em> string array.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argv</code></em> :</span></td>
<td> An array of strings.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A string with the concatenation results.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804608"></a><h3>
<a name="gnome-config-has-section"></a>gnome_config_has_section()</h3>
<a class="indexterm" name="id2804623"></a><pre class="programlisting">#define gnome_config_has_section(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_has_section</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Queries the gnome configuration file for the presence
of the section specified in <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a section
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the section exists, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804712"></a><h3>
<a name="gnome-config-private-has-section"></a>gnome_config_private_has_section()</h3>
<a class="indexterm" name="id2804728"></a><pre class="programlisting">#define gnome_config_private_has_section(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_has_section</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Queries the private gnome configuration file for the presence
of the section specified in <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a section
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the section exists, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804817"></a><h3>
<a name="gnome-config-init-iterator"></a>gnome_config_init_iterator()</h3>
<a class="indexterm" name="id2804832"></a><pre class="programlisting">#define gnome_config_init_iterator(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_init_iterator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates an iterator handle that can be used to
iterate over the keys in a section in a gnome configuration
file. <em class="parameter"><code>path</code></em> must refer to a section. The returned value
can be used as an iterator for <a href="libgnome-gnome-config.html#gnome-config-iterator-next"><code class="function">gnome_config_iterator_next()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path for a section.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The iterator handle.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2804913"></a><h3>
<a name="gnome-config-private-init-iterator"></a>gnome_config_private_init_iterator()</h3>
<a class="indexterm" name="id2804929"></a><pre class="programlisting">#define gnome_config_private_init_iterator(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_init_iterator</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates an iterator handle that can be used to
iterate over the keys in a section in a private gnome configuration
file. <em class="parameter"><code>path</code></em> must refer to a section. The returned value
can be used as an iterator for <a href="libgnome-gnome-config.html#gnome-config-iterator-next"><code class="function">gnome_config_iterator_next()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path for a section.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The iterator handle.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805010"></a><h3>
<a name="gnome-config-init-iterator-sections"></a>gnome_config_init_iterator_sections()</h3>
<a class="indexterm" name="id2805026"></a><pre class="programlisting">#define gnome_config_init_iterator_sections(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_init_iterator_sections</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates an iterator handle that can be used to iterate over the
sections in a gnome configuration file. <em class="parameter"><code>path</code></em> must refer to a
gnome configuration file. The returned value can be used as an
iterator for <a href="libgnome-gnome-config.html#gnome-config-iterator-next"><code class="function">gnome_config_iterator_next()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path for a file.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The iterator handle.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805107"></a><h3>
<a name="gnome-config-private-init-iterator-sections"></a>gnome_config_private_init_iterator_sections()</h3>
<a class="indexterm" name="id2805125"></a><pre class="programlisting">#define gnome_config_private_init_iterator_sections(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_init_iterator_sections</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates an iterator handle that can be used to iterate over the
sections in a private gnome configuration file. <em class="parameter"><code>path</code></em> must refer to a
gnome configuration file. The returned value can be used as an
iterator for <a href="libgnome-gnome-config.html#gnome-config-iterator-next"><code class="function">gnome_config_iterator_next()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path for a file
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The iterator handle.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805206"></a><h3>
<a name="gnome-config-iterator-next"></a>gnome_config_iterator_next ()</h3>
<a class="indexterm" name="id2805222"></a><pre class="programlisting">void* gnome_config_iterator_next (void *iterator_handle,
char **key,
char **value);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_iterator_next</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
If <em class="parameter"><code>key</code></em> is non-NULL, then <em class="parameter"><code>key</code></em> will point to a <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-malloc"
><code class="function">g_malloc()</code></a>ed region that
holds the key.
</p>
<p>
If <em class="parameter"><code>value</code></em> is non-NULL, then <em class="parameter"><code>value</code></em> will point to a <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-malloc"
><code class="function">g_malloc()</code></a>ed region that
holds the key.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>iterator_handle</code></em> :</span></td>
<td> A gnome configu iterator handle, returned from any
iteration start routine or this routine.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>key</code></em> :</span></td>
<td> Address where the key gets stored.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em> :</span></td>
<td> Address where the value gets stored.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805388"></a><h3>
<a name="gnome-config-drop-all"></a>gnome_config_drop_all ()</h3>
<a class="indexterm" name="id2805403"></a><pre class="programlisting">void gnome_config_drop_all (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_drop_all</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Drops any information cached in memory that was fetched with
gnome config. Any pending information that has not been
written to disk is discarded.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805443"></a><h3>
<a name="gnome-config-sync"></a>gnome_config_sync ()</h3>
<a class="indexterm" name="id2805459"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gnome_config_sync (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_sync</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Writes all of the information modified by gnome-config to the
disk.
</p>
<p>
Note: the gnome-config code does not write anything to the
configuration files until this routine is actually invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if everything went well. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if any file
could not be written to disk.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805538"></a><h3>
<a name="gnome-config-sync-file"></a>gnome_config_sync_file()</h3>
<a class="indexterm" name="id2805553"></a><pre class="programlisting">#define gnome_config_sync_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_sync_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Writes all of the information modified by gnome-config to the
disk for the given file.
</p>
<p>
Note: the gnome-config code does not write anything to the
configuration files until this routine or <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a>
is actually invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if everything went well, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the file
could not be written to for some reason. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> is only returned
when a write was actually attempted and failed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805664"></a><h3>
<a name="gnome-config-private-sync-file"></a>gnome_config_private_sync_file()</h3>
<a class="indexterm" name="id2805679"></a><pre class="programlisting">#define gnome_config_private_sync_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_sync_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Writes all of the information modified by gnome-config to the
disk for the given private file.
</p>
<p>
Note: the gnome-config code does not write anything to the
configuration files until this routine or <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a>
is actually invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if everything went well, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the file
could not be written to for some reason. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> is only returned
when a write was actually attempted and failed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805790"></a><h3>
<a name="gnome-config-drop-file"></a>gnome_config_drop_file()</h3>
<a class="indexterm" name="id2805806"></a><pre class="programlisting">#define gnome_config_drop_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_drop_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Releases any memory resources that were allocated from accessing
the configuration file in <em class="parameter"><code>path</code></em>. Changes will take place after
<a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805874"></a><h3>
<a name="gnome-config-private-drop-file"></a>gnome_config_private_drop_file()</h3>
<a class="indexterm" name="id2805890"></a><pre class="programlisting">#define gnome_config_private_drop_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_drop_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Releases any memory resources that were allocated from accessing the
private configuration file in <em class="parameter"><code>path</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2805948"></a><h3>
<a name="gnome-config-clean-file"></a>gnome_config_clean_file()</h3>
<a class="indexterm" name="id2805963"></a><pre class="programlisting">#define gnome_config_clean_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_clean_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Cleans up the configuration file specified by <em class="parameter"><code>path</code></em> from any
configuration information.
</p>
<p>
Changes will take place after <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806035"></a><h3>
<a name="gnome-config-private-clean-file"></a>gnome_config_private_clean_file()</h3>
<a class="indexterm" name="id2806051"></a><pre class="programlisting">#define gnome_config_private_clean_file(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_clean_file</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Cleans up the private configuration file specified by <em class="parameter"><code>path</code></em> from
any configuration information.
</p>
<p>
Changes will take place after <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome-config path
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806124"></a><h3>
<a name="gnome-config-clean-section"></a>gnome_config_clean_section()</h3>
<a class="indexterm" name="id2806140"></a><pre class="programlisting">#define gnome_config_clean_section(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_clean_section</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Cleans up the section specified by <em class="parameter"><code>path</code></em> from any
configuration information. Changes will only take place
after <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a section.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806209"></a><h3>
<a name="gnome-config-private-clean-section"></a>gnome_config_private_clean_section()</h3>
<a class="indexterm" name="id2806225"></a><pre class="programlisting">#define gnome_config_private_clean_section(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_clean_section</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Cleans up the section specified by <em class="parameter"><code>path</code></em> in a private file from any
configuration information. Changes will only take place after
<a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a section.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806294"></a><h3>
<a name="gnome-config-clean-key"></a>gnome_config_clean_key()</h3>
<a class="indexterm" name="id2806309"></a><pre class="programlisting">#define gnome_config_clean_key(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_clean_key</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the definition for the key on a gnome configuration file.
</p>
<p>
Changes will take place after <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806375"></a><h3>
<a name="gnome-config-private-clean-key"></a>gnome_config_private_clean_key()</h3>
<a class="indexterm" name="id2806391"></a><pre class="programlisting">#define gnome_config_private_clean_key(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_clean_key</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Removes the definition for the key on a private gnome configuration
file.
</p>
<p>
Changes will take place after <a href="libgnome-gnome-config.html#gnome-config-sync"><code class="function">gnome_config_sync()</code></a> has been invoked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path to a key.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806457"></a><h3>
<a name="gnome-config-get-real-path"></a>gnome_config_get_real_path()</h3>
<a class="indexterm" name="id2806473"></a><pre class="programlisting">#define gnome_config_get_real_path(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_get_real_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the full (absolute) path to a configuration file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td>A configuration file (this should only be the file, not the section or
key).
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>An absolute path to the config file.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806532"></a><h3>
<a name="gnome-config-private-get-real-path"></a>gnome_config_private_get_real_path()</h3>
<a class="indexterm" name="id2806549"></a><pre class="programlisting">#define gnome_config_private_get_real_path(path)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_private_get_real_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves the full (absolute) path to a configuration file in the user's
private configuration storage area.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td>A configuration file (this should only be the file, not the section or
key).
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>An absolute path to the config file.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806609"></a><h3>
<a name="gnome-config-push-prefix"></a>gnome_config_push_prefix ()</h3>
<a class="indexterm" name="id2806625"></a><pre class="programlisting">void gnome_config_push_prefix (const char *path);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_push_prefix</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
<em class="parameter"><code>path</code></em> is a prefix that will be prepended automatically to any
non-absolute configuration path in gnome config.
</p>
<p>
This is used to simplify application loading code.
</p>
<p>
Library code will usually have to set the prefix before doing
any gnome-configuration access, since the application might
be using their own prefix.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>path</code></em> :</span></td>
<td> A gnome configuration path prefix.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806705"></a><h3>
<a name="gnome-config-pop-prefix"></a>gnome_config_pop_prefix ()</h3>
<a class="indexterm" name="id2806720"></a><pre class="programlisting">void gnome_config_pop_prefix (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_pop_prefix</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Call this routine to remove the current configuration prefix from the stack.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2806759"></a><h3>
<a name="gnome-config-make-vector"></a>gnome_config_make_vector ()</h3>
<a class="indexterm" name="id2806775"></a><pre class="programlisting">void gnome_config_make_vector (const char *string,
int *argcp,
char ***argvp);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_config_make_vector</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new vector from a string as it stored in the config file,
breaks the string on spaces except if the space is escaped with a
backslash.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>string</code></em> :</span></td>
<td> The stringified vector to decode into 'argcp' and 'argvp'
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argcp</code></em> :</span></td>
<td> Returns the number of elements in <em class="parameter"><code>string</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argvp</code></em> :</span></td>
<td> Returns the array of strings found in <em class="parameter"><code>string</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>