libgnome-gnome-config.html
来自「最新gtk中文资料集」· HTML 代码 · 共 1,690 行 · 第 1/5 页
HTML
1,690 行
<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 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 an integer 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="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 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 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 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 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 an integer 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="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/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 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/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 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 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="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 storagearea.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?