~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpgimprc.html

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
Import upstream version 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
<div class="refnamediv"><table width="100%"><tr>
32
32
<td valign="top">
33
33
<h2><span class="refentrytitle"><a name="libgimp-gimpgimprc.top_of_page"></a>gimpgimprc</span></h2>
34
 
<p>gimpgimprc — Interactions with settings from .gimprc.</p>
 
34
<p>gimpgimprc — Interactions with settings from gimprc.</p>
35
35
</td>
36
36
<td valign="top" align="right"></td>
37
37
</tr></table></div>
38
38
<div class="refsynopsisdiv">
39
39
<a name="libgimp-gimpgimprc.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-gimprc-query" title="gimp_gimprc_query ()">gimp_gimprc_query</a>                   (<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> *token</code></em>);
41
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpgimprc.html#gimp-gimprc-set" title="gimp_gimprc_set ()">gimp_gimprc_set</a>                     (<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> *token</code></em>,
42
 
                                                         <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> *value</code></em>);
43
 
<a href="/usr/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="returnvalue">GimpColorConfig</span></a> *   <a class="link" href="libgimp-gimpgimprc.html#gimp-get-color-configuration" title="gimp_get_color_configuration ()">gimp_get_color_configuration</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
44
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-default-comment" title="gimp_get_default_comment ()">gimp_get_default_comment</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
45
 
<a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>            <a class="link" href="libgimp-gimpgimprc.html#gimp-get-default-unit" title="gimp_get_default_unit ()">gimp_get_default_unit</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
46
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-module-load-inhibit" title="gimp_get_module_load_inhibit ()">gimp_get_module_load_inhibit</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
47
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgimp-gimpgimprc.html#gimp-get-monitor-resolution" title="gimp_get_monitor_resolution ()">gimp_get_monitor_resolution</a>         (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *xres</code></em>,
48
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *yres</code></em>);
49
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-theme-dir" title="gimp_get_theme_dir ()">gimp_get_theme_dir</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
 
40
<pre class="synopsis"><span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-gimprc-query" title="gimp_gimprc_query ()">gimp_gimprc_query</a>                   (<em class="parameter"><code>const <span class="type">gchar</span> *token</code></em>);
 
41
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimpgimprc.html#gimp-gimprc-set" title="gimp_gimprc_set ()">gimp_gimprc_set</a>                     (<em class="parameter"><code>const <span class="type">gchar</span> *token</code></em>,
 
42
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
 
43
<a href="/local/head/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="returnvalue">GimpColorConfig</span></a> *   <a class="link" href="libgimp-gimpgimprc.html#gimp-get-color-configuration" title="gimp_get_color_configuration ()">gimp_get_color_configuration</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
 
44
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-default-comment" title="gimp_get_default_comment ()">gimp_get_default_comment</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
 
45
<a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>            <a class="link" href="libgimp-gimpgimprc.html#gimp-get-default-unit" title="gimp_get_default_unit ()">gimp_get_default_unit</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
 
46
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-module-load-inhibit" title="gimp_get_module_load_inhibit ()">gimp_get_module_load_inhibit</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
 
47
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimpgimprc.html#gimp-get-monitor-resolution" title="gimp_get_monitor_resolution ()">gimp_get_monitor_resolution</a>         (<em class="parameter"><code><span class="type">gdouble</span> *xres</code></em>,
 
48
                                                         <em class="parameter"><code><span class="type">gdouble</span> *yres</code></em>);
 
49
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimpgimprc.html#gimp-get-theme-dir" title="gimp_get_theme_dir ()">gimp_get_theme_dir</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
50
50
</pre>
51
51
</div>
52
52
<div class="refsect1">
53
53
<a name="libgimp-gimpgimprc.description"></a><h2>Description</h2>
54
54
<p>
55
 
Interactions with settings from .gimprc.
 
55
Interactions with settings from gimprc.
56
56
</p>
57
57
</div>
58
58
<div class="refsect1">
59
59
<a name="libgimp-gimpgimprc.details"></a><h2>Details</h2>
60
60
<div class="refsect2">
61
61
<a name="gimp-gimprc-query"></a><h3>gimp_gimprc_query ()</h3>
62
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gimp_gimprc_query                   (<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> *token</code></em>);</pre>
 
62
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_gimprc_query                   (<em class="parameter"><code>const <span class="type">gchar</span> *token</code></em>);</pre>
63
63
<p>
64
64
Queries the gimprc file parser for information on a specified token.
65
65
</p>
91
91
<hr>
92
92
<div class="refsect2">
93
93
<a name="gimp-gimprc-set"></a><h3>gimp_gimprc_set ()</h3>
94
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_gimprc_set                     (<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> *token</code></em>,
95
 
                                                         <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> *value</code></em>);</pre>
 
94
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_gimprc_set                     (<em class="parameter"><code>const <span class="type">gchar</span> *token</code></em>,
 
95
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
96
96
<p>
97
97
Sets a gimprc token to a value and saves it in the gimprc.
98
98
</p>
124
124
<hr>
125
125
<div class="refsect2">
126
126
<a name="gimp-get-color-configuration"></a><h3>gimp_get_color_configuration ()</h3>
127
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="returnvalue">GimpColorConfig</span></a> *   gimp_get_color_configuration        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
127
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="returnvalue">GimpColorConfig</span></a> *   gimp_get_color_configuration        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
128
128
<p>
129
129
Retrieve a copy of the current color management configuration.
130
130
</p>
132
132
<col align="left" valign="top">
133
133
<tbody><tr>
134
134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
135
 
<td>A copy of the core's <a href="/usr/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="type">GimpColorConfig</span></a>. You should unref
 
135
<td>A copy of the core's <a href="/local/head/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"><span class="type">GimpColorConfig</span></a>. You should unref
136
136
this copy if you don't need it any longer.</td>
137
137
</tr></tbody>
138
138
</table></div>
141
141
<hr>
142
142
<div class="refsect2">
143
143
<a name="gimp-get-default-comment"></a><h3>gimp_get_default_comment ()</h3>
144
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gimp_get_default_comment            (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
144
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_get_default_comment            (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
145
145
<p>
146
146
Get the default image comment as specified in the Preferences.
147
147
</p>
159
159
<hr>
160
160
<div class="refsect2">
161
161
<a name="gimp-get-default-unit"></a><h3>gimp_get_default_unit ()</h3>
162
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>            gimp_get_default_unit               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
162
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="returnvalue">GimpUnit</span></a>            gimp_get_default_unit               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
163
163
<p>
164
164
Get the default unit (taken from the user's locale).
165
165
</p>
178
178
<hr>
179
179
<div class="refsect2">
180
180
<a name="gimp-get-module-load-inhibit"></a><h3>gimp_get_module_load_inhibit ()</h3>
181
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gimp_get_module_load_inhibit        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
181
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_get_module_load_inhibit        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
182
182
<p>
183
183
Get the list of modules which should not be loaded.
184
184
</p>
196
196
<hr>
197
197
<div class="refsect2">
198
198
<a name="gimp-get-monitor-resolution"></a><h3>gimp_get_monitor_resolution ()</h3>
199
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gimp_get_monitor_resolution         (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *xres</code></em>,
200
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *yres</code></em>);</pre>
 
199
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_get_monitor_resolution         (<em class="parameter"><code><span class="type">gdouble</span> *xres</code></em>,
 
200
                                                         <em class="parameter"><code><span class="type">gdouble</span> *yres</code></em>);</pre>
201
201
<p>
202
202
Get the monitor resolution as specified in the Preferences.
203
203
</p>
228
228
<hr>
229
229
<div class="refsect2">
230
230
<a name="gimp-get-theme-dir"></a><h3>gimp_get_theme_dir ()</h3>
231
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gimp_get_theme_dir                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
231
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_get_theme_dir                  (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
232
232
<p>
233
233
Get the directory of the current GUI theme.
234
234
</p>