Imported Upstream version 2.3.13

This commit is contained in:
Ari Pollak
2010-08-11 01:20:31 -04:00
parent a028e0b309
commit bbd6d9844c
1225 changed files with 162390 additions and 93699 deletions

View File

@ -18,10 +18,10 @@
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
<link rel="index" href="libgimp-index.html" title="Index">
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
</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">
@ -32,16 +32,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpgimprc.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="#id2577413" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576059" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2576370" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2524658" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpcontext"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2577413"></a><span class="refentrytitle">gimpcontext</span>
<a name="id2576059"></a><span class="refentrytitle">gimpcontext</span>
</h2>
<p>gimpcontext &#8212; Functions to manipulate a plug-in's context.</p>
</td>
@ -89,17 +89,17 @@ gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-paint-method">gim
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2576370"></a><h2>Description</h2>
<a name="id2524658"></a><h2>Description</h2>
<p>
Functions to manipulate a plug-in's context.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2591576"></a><h2>Details</h2>
<a name="id2524674"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2591587"></a><h3>
<a name="id2570025"></a><h3>
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
<a class="indexterm" name="id2591601"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
<a class="indexterm" name="id2570040"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
<p>
Pushes a context to the top of the plug-in's context stack.
</p>
@ -113,8 +113,7 @@ until it is popped again using <a href="libgimp-gimpcontext.html#gimp-context-po
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -125,9 +124,9 @@ until it is popped again using <a href="libgimp-gimpcontext.html#gimp-context-po
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2591661"></a><h3>
<a name="id2570101"></a><h3>
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
<a class="indexterm" name="id2591676"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<a class="indexterm" name="id2570116"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<p>
Pops the topmost context from the plug-in's context stack.
</p>
@ -142,8 +141,7 @@ plug-in.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -154,9 +152,9 @@ plug-in.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2591737"></a><h3>
<a name="id2570177"></a><h3>
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
<a class="indexterm" name="id2591750"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
<a class="indexterm" name="id2570190"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -173,14 +171,12 @@ blending, and bucket fill.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>foreground</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>foreground</code></em>&#160;:</span></td>
<td> The foreground color.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -192,9 +188,9 @@ blending, and bucket fill.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2591820"></a><h3>
<a name="id2570260"></a><h3>
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
<a class="indexterm" name="id2554225"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
<a class="indexterm" name="id2590773"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -211,14 +207,12 @@ and bucket fill will use the new value.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>foreground</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>foreground</code></em>&#160;:</span></td>
<td> The foreground color.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -230,9 +224,9 @@ and bucket fill will use the new value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554295"></a><h3>
<a name="id2590843"></a><h3>
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
<a class="indexterm" name="id2554309"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
<a class="indexterm" name="id2590857"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -249,14 +243,12 @@ erasing (with non-alpha images), and image filling.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>background</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>background</code></em>&#160;:</span></td>
<td> The background color.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -268,9 +260,9 @@ erasing (with non-alpha images), and image filling.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554379"></a><h3>
<a name="id2590928"></a><h3>
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
<a class="indexterm" name="id2554393"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
<a class="indexterm" name="id2590942"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -288,14 +280,12 @@ value.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>background</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>background</code></em>&#160;:</span></td>
<td> The background color.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -307,9 +297,9 @@ value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554463"></a><h3>
<a name="id2591014"></a><h3>
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
<a class="indexterm" name="id2554477"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
<a class="indexterm" name="id2591028"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
<p>
Set the current GIMP foreground and background colors to black and
white.
@ -323,8 +313,7 @@ colors to their initial default values, black and white.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -335,9 +324,9 @@ colors to their initial default values, black and white.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2592953"></a><h3>
<a name="id2592320"></a><h3>
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
<a class="indexterm" name="id2592967"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<a class="indexterm" name="id2592333"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<p>
Swap the current GIMP foreground and background colors.
</p>
@ -351,8 +340,7 @@ color and vice versa.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -363,9 +351,9 @@ color and vice versa.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593017"></a><h3>
<a name="id2592385"></a><h3>
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
<a class="indexterm" name="id2593031"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<a class="indexterm" name="id2592398"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<p>
Get the opacity.
</p>
@ -378,8 +366,7 @@ floating point number between 0 and 100.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The opacity.
</td>
@ -390,9 +377,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593081"></a><h3>
<a name="id2592449"></a><h3>
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
<a class="indexterm" name="id2593095"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<a class="indexterm" name="id2592462"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<p>
Set the opacity.
</p>
@ -406,14 +393,12 @@ floating point number between 0 and 100.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
<td> The opacity.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -425,9 +410,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593164"></a><h3>
<a name="id2592533"></a><h3>
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
<a class="indexterm" name="id2593179"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
<a class="indexterm" name="id2592546"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
(void);</pre>
<p>
Get the paint mode.
@ -442,8 +427,7 @@ description.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The paint mode.
</td>
@ -454,9 +438,9 @@ description.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593229"></a><h3>
<a name="id2592597"></a><h3>
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
<a class="indexterm" name="id2593243"></a><pre class="programlisting">gboolean gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
<a class="indexterm" name="id2592611"></a><pre class="programlisting">gboolean gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
<p>
Set the paint mode.
</p>
@ -469,14 +453,12 @@ This procedure modifies the paint_mode setting.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
<td> The paint mode.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -488,9 +470,9 @@ This procedure modifies the paint_mode setting.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593311"></a><h3>
<a name="id2592680"></a><h3>
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
<a class="indexterm" name="id2593325"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<a class="indexterm" name="id2592693"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<p>
Retrieve the currently active brush.
</p>
@ -504,8 +486,7 @@ application of paint to the image.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active brush.
</td>
@ -516,9 +497,9 @@ application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593377"></a><h3>
<a name="id2592745"></a><h3>
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
<a class="indexterm" name="id2593390"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<a class="indexterm" name="id2592759"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<p>
Set the specified brush as the active brush.
</p>
@ -535,14 +516,12 @@ becomes active and will be used in all subsequent paint operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the brush.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -554,9 +533,9 @@ becomes active and will be used in all subsequent paint operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593465"></a><h3>
<a name="id2592833"></a><h3>
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
<a class="indexterm" name="id2593478"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<a class="indexterm" name="id2592847"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<p>
Retrieve the currently active pattern.
</p>
@ -570,8 +549,7 @@ to control the application of paint to the image.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active pattern.
</td>
@ -582,9 +560,9 @@ to control the application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593530"></a><h3>
<a name="id2592899"></a><h3>
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
<a class="indexterm" name="id2593544"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<a class="indexterm" name="id2592913"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<p>
Set the specified pattern as the active pattern.
</p>
@ -602,14 +580,12 @@ operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the pattern.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -621,9 +597,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593619"></a><h3>
<a name="id2592987"></a><h3>
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
<a class="indexterm" name="id2593633"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<a class="indexterm" name="id2593001"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<p>
Retrieve the currently active gradient.
</p>
@ -635,8 +611,7 @@ This procedure returns the name of the currently active gradient.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active gradient.
</td>
@ -647,9 +622,9 @@ This procedure returns the name of the currently active gradient.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593683"></a><h3>
<a name="id2593052"></a><h3>
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
<a class="indexterm" name="id2593697"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<a class="indexterm" name="id2593066"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<p>
Sets the specified gradient as the active gradient.
</p>
@ -667,14 +642,12 @@ operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the gradient.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -686,9 +659,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593772"></a><h3>
<a name="id2593140"></a><h3>
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
<a class="indexterm" name="id2593786"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<a class="indexterm" name="id2593154"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<p>
Retrieve the currently active palette.
</p>
@ -700,8 +673,7 @@ This procedure returns the name of the the currently active palette.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active palette.
</td>
@ -712,9 +684,9 @@ This procedure returns the name of the the currently active palette.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2593836"></a><h3>
<a name="id2593204"></a><h3>
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
<a class="indexterm" name="id2593849"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<a class="indexterm" name="id2593218"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<p>
Set the specified palette as the active palette.
</p>
@ -732,14 +704,12 @@ operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the palette.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -751,9 +721,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599920"></a><h3>
<a name="id2599290"></a><h3>
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
<a class="indexterm" name="id2599932"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<a class="indexterm" name="id2599302"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<p>
Retrieve the currently active font.
</p>
@ -765,8 +735,7 @@ This procedure returns the name of the currently active font.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active font.
</td>
@ -777,9 +746,9 @@ This procedure returns the name of the currently active font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599978"></a><h3>
<a name="id2599348"></a><h3>
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
<a class="indexterm" name="id2599990"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<a class="indexterm" name="id2599360"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<p>
Set the specified font as the active font.
</p>
@ -796,14 +765,12 @@ becomes active and will be used in all subsequent font operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the font.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>
@ -815,9 +782,9 @@ becomes active and will be used in all subsequent font operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600058"></a><h3>
<a name="id2599428"></a><h3>
<a name="gimp-context-get-paint-method"></a>gimp_context_get_paint_method ()</h3>
<a class="indexterm" name="id2600072"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
<a class="indexterm" name="id2599442"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
<p>
Retrieve the currently active paint method.
</p>
@ -830,8 +797,7 @@ method.</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>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The name of the active paint method.
</td>
@ -842,9 +808,9 @@ method.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600119"></a><h3>
<a name="id2599489"></a><h3>
<a name="gimp-context-set-paint-method"></a>gimp_context_set_paint_method ()</h3>
<a class="indexterm" name="id2600133"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
<a class="indexterm" name="id2599503"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
<p>
Set the specified paint method as the active paint method.
</p>
@ -862,14 +828,12 @@ all subsequent paint operations.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the paint method.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> TRUE on success.
</td>