Imported Upstream version 2.3.13
This commit is contained in:
@ -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 III. 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-gimppaletteselect.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="#id2555877" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586629" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2690245" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2694497" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpgradientselect"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2555877"></a><span class="refentrytitle">gimpgradientselect</span>
|
||||
<a name="id2586629"></a><span class="refentrytitle">gimpgradientselect</span>
|
||||
</h2>
|
||||
<p>gimpgradientselect — Functions providing a gradient selection dialog.</p>
|
||||
</td>
|
||||
@ -74,17 +74,17 @@ gboolean <a href="libgimp-gimpgradientselect.html#gimp-gradients-set-popup">g
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2690245"></a><h2>Description</h2>
|
||||
<a name="id2694497"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions providing a gradient selection dialog.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2690261"></a><h2>Details</h2>
|
||||
<a name="id2694513"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2690272"></a><h3>
|
||||
<a name="id2694524"></a><h3>
|
||||
<a name="GimpRunGradientCallback"></a>GimpRunGradientCallback ()</h3>
|
||||
<a class="indexterm" name="id2690283"></a><pre class="programlisting">void (*GimpRunGradientCallback) (const gchar *gradient_name,
|
||||
<a class="indexterm" name="id2694535"></a><pre class="programlisting">void (*GimpRunGradientCallback) (const gchar *gradient_name,
|
||||
gint width,
|
||||
const gdouble *grad_data,
|
||||
gboolean dialog_closing,
|
||||
@ -96,32 +96,27 @@ Functions providing a gradient selection dialog.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>grad_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>grad_data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>dialog_closing</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>dialog_closing</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -132,9 +127,9 @@ Functions providing a gradient selection dialog.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2696778"></a><h3>
|
||||
<a name="id2695215"></a><h3>
|
||||
<a name="gimp-gradient-select-new"></a>gimp_gradient_select_new ()</h3>
|
||||
<a class="indexterm" name="id2696790"></a><pre class="programlisting">const gchar* gimp_gradient_select_new (const gchar *title,
|
||||
<a class="indexterm" name="id2695226"></a><pre class="programlisting">const gchar* gimp_gradient_select_new (const gchar *title,
|
||||
const gchar *gradient_name,
|
||||
gint sample_size,
|
||||
<a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
|
||||
@ -146,38 +141,32 @@ Functions providing a gradient selection dialog.
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>sample_size</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>sample_size</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>data</code></em> :</span></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -188,17 +177,16 @@ Functions providing a gradient selection dialog.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2696930"></a><h3>
|
||||
<a name="id2698515"></a><h3>
|
||||
<a name="gimp-gradient-select-destroy"></a>gimp_gradient_select_destroy ()</h3>
|
||||
<a class="indexterm" name="id2696941"></a><pre class="programlisting">void gimp_gradient_select_destroy (const gchar *gradient_callback);</pre>
|
||||
<a class="indexterm" name="id2698527"></a><pre class="programlisting">void gimp_gradient_select_destroy (const gchar *gradient_callback);</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td>
|
||||
|
||||
|
||||
@ -208,9 +196,9 @@ Functions providing a gradient selection dialog.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2696986"></a><h3>
|
||||
<a name="id2698571"></a><h3>
|
||||
<a name="gimp-gradients-popup"></a>gimp_gradients_popup ()</h3>
|
||||
<a class="indexterm" name="id2696997"></a><pre class="programlisting">gboolean gimp_gradients_popup (const gchar *gradient_callback,
|
||||
<a class="indexterm" name="id2698582"></a><pre class="programlisting">gboolean gimp_gradients_popup (const gchar *gradient_callback,
|
||||
const gchar *popup_title,
|
||||
const gchar *initial_gradient,
|
||||
gint sample_size);</pre>
|
||||
@ -226,32 +214,27 @@ This procedure popups the gradients selection dialog.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td> The callback PDB proc to call when gradient selection is made.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>popup_title</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>popup_title</code></em> :</span></td>
|
||||
<td> Title to give the gradient popup window.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>initial_gradient</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>initial_gradient</code></em> :</span></td>
|
||||
<td> The name of the pattern to set as the first selected.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>sample_size</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>sample_size</code></em> :</span></td>
|
||||
<td> Size of the sample to return when the gradient is changed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -260,9 +243,9 @@ This procedure popups the gradients selection dialog.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2695082"></a><h3>
|
||||
<a name="id2698710"></a><h3>
|
||||
<a name="gimp-gradients-close-popup"></a>gimp_gradients_close_popup ()</h3>
|
||||
<a class="indexterm" name="id2695093"></a><pre class="programlisting">gboolean gimp_gradients_close_popup (const gchar *gradient_callback);</pre>
|
||||
<a class="indexterm" name="id2698722"></a><pre class="programlisting">gboolean gimp_gradients_close_popup (const gchar *gradient_callback);</pre>
|
||||
<p>
|
||||
Popdown the Gimp gradient selection.
|
||||
</p>
|
||||
@ -275,14 +258,12 @@ This procedure closes an opened gradient selection dialog.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td> The name of the callback registered for this popup.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -291,9 +272,9 @@ This procedure closes an opened gradient selection dialog.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2695156"></a><h3>
|
||||
<a name="id2696805"></a><h3>
|
||||
<a name="gimp-gradients-set-popup"></a>gimp_gradients_set_popup ()</h3>
|
||||
<a class="indexterm" name="id2695167"></a><pre class="programlisting">gboolean gimp_gradients_set_popup (const gchar *gradient_callback,
|
||||
<a class="indexterm" name="id2696816"></a><pre class="programlisting">gboolean gimp_gradients_set_popup (const gchar *gradient_callback,
|
||||
const gchar *gradient_name);</pre>
|
||||
<p>
|
||||
Sets the current gradient selection in a popup.
|
||||
@ -307,20 +288,17 @@ Sets the current gradient selection in a popup.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_callback</code></em> :</span></td>
|
||||
<td> The name of the callback registered for this popup.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>gradient_name</code></em> :</span></td>
|
||||
<td> The name of the gradient to set as selected.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user