4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GConfSchema</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
<link rel="home" href="index.html" title="GConf Reference Manual">
8
8
<link rel="up" href="ch01.html" title="Using the GConf library">
9
9
<link rel="prev" href="gconf-gconf-listeners.html" title="gconf-listeners">
53
53
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-type" title="gconf_schema_set_type ()">gconf_schema_set_type</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
54
54
<em class="parameter"><code><a class="link" href="gconf-gconf-value.html#GConfValueType" title="enum GConfValueType"><span class="type">GConfValueType</span></a> type</code></em>);
55
55
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-locale" title="gconf_schema_set_locale ()">gconf_schema_set_locale</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
56
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *locale</code></em>);
56
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *locale</code></em>);
57
57
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-short-desc" title="gconf_schema_set_short_desc ()">gconf_schema_set_short_desc</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
58
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);
58
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);
59
59
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-long-desc" title="gconf_schema_set_long_desc ()">gconf_schema_set_long_desc</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
60
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);
60
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-owner" title="gconf_schema_set_owner ()">gconf_schema_set_owner</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
62
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *owner</code></em>);
62
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *owner</code></em>);
63
63
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-default-value" title="gconf_schema_set_default_value ()">gconf_schema_set_default_value</a> (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
64
64
<em class="parameter"><code>const <a class="link" href="gconf-gconf-value.html#GConfValue" title="GConfValue"><span class="type">GConfValue</span></a> *val</code></em>);
65
65
<span class="returnvalue">void</span> <a class="link" href="gconf-gconf-schema.html#gconf-schema-set-default-value-nocopy" title="gconf_schema_set_default_value_nocopy ()">gconf_schema_set_default_value_nocopy</a>
407
407
<div class="refsect2" title="gconf_schema_set_locale ()">
408
408
<a name="gconf-schema-set-locale"></a><h3>gconf_schema_set_locale ()</h3>
409
409
<pre class="programlisting"><span class="returnvalue">void</span> gconf_schema_set_locale (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
410
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *locale</code></em>);</pre>
410
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *locale</code></em>);</pre>
412
412
Sets the locale for a <a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> to <em class="parameter"><code>locale</code></em>. <em class="parameter"><code>locale</code></em> is copied.
431
431
<div class="refsect2" title="gconf_schema_set_short_desc ()">
432
432
<a name="gconf-schema-set-short-desc"></a><h3>gconf_schema_set_short_desc ()</h3>
433
433
<pre class="programlisting"><span class="returnvalue">void</span> gconf_schema_set_short_desc (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
434
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);</pre>
434
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);</pre>
436
436
Sets the short description of a <a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> to <em class="parameter"><code>desc</code></em>. <em class="parameter"><code>desc</code></em> is copied.
455
455
<div class="refsect2" title="gconf_schema_set_long_desc ()">
456
456
<a name="gconf-schema-set-long-desc"></a><h3>gconf_schema_set_long_desc ()</h3>
457
457
<pre class="programlisting"><span class="returnvalue">void</span> gconf_schema_set_long_desc (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
458
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);</pre>
458
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *desc</code></em>);</pre>
460
460
Sets the long description of a <a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> to <em class="parameter"><code>desc</code></em>. <em class="parameter"><code>desc</code></em> is copied.
479
479
<div class="refsect2" title="gconf_schema_set_owner ()">
480
480
<a name="gconf-schema-set-owner"></a><h3>gconf_schema_set_owner ()</h3>
481
481
<pre class="programlisting"><span class="returnvalue">void</span> gconf_schema_set_owner (<em class="parameter"><code><a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a> *sc</code></em>,
482
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *owner</code></em>);</pre>
482
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *owner</code></em>);</pre>
484
484
Sets the "owner" of the <a class="link" href="gconf-gconf-schema.html#GConfSchema" title="GConfSchema"><span class="type">GConfSchema</span></a>, where the owner is the
485
485
name of the application that created the entry.