Imported Upstream version 2.4.0~rc1

This commit is contained in:
Ari Pollak
2010-08-11 01:22:21 -04:00
parent 5516c26b4b
commit d884b2912c
672 changed files with 122964 additions and 82169 deletions

View File

@ -31,16 +31,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimppalettemenu.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="#id2583038" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575227" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2593297" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2723159" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpgradientmenu"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583038"></a><span class="refentrytitle">gimpgradientmenu</span>
<a name="id2575227"></a><span class="refentrytitle">gimpgradientmenu</span>
</h2>
<p>gimpgradientmenu &#8212; A widget for selecting gradients.</p>
</td>
@ -52,36 +52,60 @@
GtkWidget* <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-new">gimp_gradient_select_widget_new</a> (const gchar *title,
const gchar *gradient_name,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-new">gimp_gradient_select_widget_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *gradient_name,
<a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
gpointer data);
void <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-close">gimp_gradient_select_widget_close</a> (GtkWidget *widget);
void <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-set">gimp_gradient_select_widget_set</a> (GtkWidget *widget,
const gchar *gradient_name);
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-close">gimp_gradient_select_widget_close</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);
void <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-set">gimp_gradient_select_widget_set</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *gradient_name);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2593297"></a><h2>Description</h2>
<a name="id2723159"></a><h2>Description</h2>
<p>
A widget for selecting gradients.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2722103"></a><h2>Details</h2>
<a name="id2723174"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2722111"></a><h3>
<a name="id2723185"></a><h3>
<a name="gimp-gradient-select-widget-new"></a>gimp_gradient_select_widget_new ()</h3>
<a class="indexterm" name="id2722122"></a><a class="indexterm" name="id2722128"></a><pre class="programlisting">GtkWidget* gimp_gradient_select_widget_new (const gchar *title,
const gchar *gradient_name,
<a class="indexterm" name="id2723198"></a><a class="indexterm" name="id2723206"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_gradient_select_widget_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *gradient_name,
<a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_gradient_select_widget_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
Creates a new <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> that completely controls the selection of
a gradient. This widget is suitable for placement in a table in a
plug-in dialog.</p>
<p>
@ -92,7 +116,9 @@ plug-in dialog.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
<td> Title of the dialog to use or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to use the default title.
</td>
</tr>
<tr>
@ -112,7 +138,9 @@ plug-in dialog.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
<td> A <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> that you can use in your UI.
</td>
</tr>
@ -123,9 +151,11 @@ plug-in dialog.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2720688"></a><h3>
<a name="id2723377"></a><h3>
<a name="gimp-gradient-select-widget-close"></a>gimp_gradient_select_widget_close ()</h3>
<a class="indexterm" name="id2720701"></a><pre class="programlisting">void gimp_gradient_select_widget_close (GtkWidget *widget);</pre>
<a class="indexterm" name="id2723391"></a><pre class="programlisting">void gimp_gradient_select_widget_close (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_gradient_select_widget_close</code> is deprecated and should not be used in newly-written code.</p>
@ -146,10 +176,14 @@ Closes the popup window associated with <em class="parameter"><code>widget</code
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2720768"></a><h3>
<a name="id2720938"></a><h3>
<a name="gimp-gradient-select-widget-set"></a>gimp_gradient_select_widget_set ()</h3>
<a class="indexterm" name="id2720781"></a><pre class="programlisting">void gimp_gradient_select_widget_set (GtkWidget *widget,
const gchar *gradient_name);</pre>
<a class="indexterm" name="id2720952"></a><pre class="programlisting">void gimp_gradient_select_widget_set (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *gradient_name);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_gradient_select_widget_set</code> is deprecated and should not be used in newly-written code.</p>