libgnome-gnome-config.html
来自「最新gtk中文资料集」· HTML 代码 · 共 1,690 行 · 第 1/5 页
HTML
1,690 行
<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-pointnumber.</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 storagearea.</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 itemis 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-pointnumber 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/keydefined 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/keydefined by the <em class="parameter"><code>path</code></em>. The value is stored in the user's privateconfiguration 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 itemis 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 theconfiguration 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 itemis 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 theconfiguration 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;">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?