Imported Upstream version 2.3.6

This commit is contained in:
Ari Pollak
2010-08-11 01:18:19 -04:00
parent 7802c3a9cb
commit de5dc4f4c2
3129 changed files with 762016 additions and 525609 deletions

View File

@ -1,14 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpgradientmenu</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
<link rel="prev" href="libgimp-gimpfontmenu.html" title="gimpfontmenu">
<link rel="next" href="libgimp-gimppalettemenu.html" title="gimppalettemenu">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
@ -18,27 +17,24 @@
<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">
</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">
<tr valign="middle">
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="libgimp-gimpfontmenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpui.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<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="#id2595123" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2693737" class="shortcut">Description</a></nobr></td></tr>
</table>
</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="id2595123"></a><span class="refentrytitle">gimpgradientmenu</span>
</h2>
<h2><span class="refentrytitle">gimpgradientmenu</span></h2>
<p>gimpgradientmenu &#8212; A widget for selecting gradients.</p>
</td>
<td valign="top" align="right"></td>
@ -49,32 +45,43 @@
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="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="../gtk/GtkWidget.html"
>GtkWidget</a>* <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="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>
(<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 gchar *gradient_name);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2693737"></a><h2>Description</h2>
<a name="id2526296"></a><h2>Description</h2>
<p>
A widget for selecting gradients.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2693753"></a><h2>Details</h2>
<a name="id2660122"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2693763"></a><h3>
<a name="id2660128"></a><h3>
<a name="gimp-gradient-select-widget-new"></a>gimp_gradient_select_widget_new ()</h3>
<a class="indexterm" name="id2693774"></a><pre class="programlisting">GtkWidget* gimp_gradient_select_widget_new (const gchar *title,
const gchar *gradient_name,
<a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
gpointer data);</pre>
<a class="indexterm" name="id2660137"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_gradient_select_widget_new (const gchar *title,
const gchar *gradient_name,
<a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
gpointer data);</pre>
<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>
@ -84,29 +91,36 @@ plug-in dialog.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<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>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
<td> Initial gradient name or <code class="literal">NULL</code> to use current selection.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> A function to call when the selected gradient changes.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> A pointer to arbitary data to be used in the call to
<em class="parameter"><code>callback</code></em>.
</td>
</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>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> that you can use in your UI.
</td>
</tr>
</tbody>
@ -114,9 +128,12 @@ plug-in dialog.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2693938"></a><h3>
<a name="id2660293"></a><h3>
<a name="gimp-gradient-select-widget-close"></a>gimp_gradient_select_widget_close ()</h3>
<a class="indexterm" name="id2690371"></a><pre class="programlisting">void gimp_gradient_select_widget_close (GtkWidget *widget);</pre>
<a class="indexterm" name="id2660302"></a><pre class="programlisting">void gimp_gradient_select_widget_close
(<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<p>
Closes the popup window associated with <em class="parameter"><code>widget</code></em>.</p>
<p>
@ -125,7 +142,8 @@ Closes the popup window associated with <em class="parameter"><code>widget</code
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> A gradient select widget.
</td>
</tr></tbody>
@ -133,10 +151,12 @@ Closes the popup window associated with <em class="parameter"><code>widget</code
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2690425"></a><h3>
<a name="id2660357"></a><h3>
<a name="gimp-gradient-select-widget-set"></a>gimp_gradient_select_widget_set ()</h3>
<a class="indexterm" name="id2690436"></a><pre class="programlisting">void gimp_gradient_select_widget_set (GtkWidget *widget,
const gchar *gradient_name);</pre>
<a class="indexterm" name="id2660366"></a><pre class="programlisting">void gimp_gradient_select_widget_set (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const gchar *gradient_name);</pre>
<p>
Sets the current gradient for the gradient select widget. Calls
the callback function if one was supplied in the call to
@ -148,12 +168,14 @@ the callback function if one was supplied in the call to
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> A gradient select widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
<td>
<span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
<td> Gradient name to set.
</td>
</tr>
@ -162,5 +184,9 @@ the callback function if one was supplied in the call to
</div>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"><a accesskey="p" href="libgimp-gimpfontmenu.html"><b>&lt;&lt;&#160;gimpfontmenu</b></a></td>
<td align="right"><a accesskey="n" href="libgimp-gimppalettemenu.html"><b>gimppalettemenu&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>