~ubuntu-branches/ubuntu/maverick/gimp/maverick-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-09 19:44:52 UTC
  • Revision ID: james.westby@ubuntu.com-20051209194452-yggpemjlofpjqyf4
Tags: upstream-2.2.9
ImportĀ upstreamĀ versionĀ 2.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<title>gimpgradientmenu</title>
 
5
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
 
7
<link rel="up" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
8
<link rel="prev" href="libgimp-gimpfontmenu.html" title="gimpfontmenu">
 
9
<link rel="next" href="libgimp-gimppalettemenu.html" title="gimppalettemenu">
 
10
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
 
11
<link rel="stylesheet" href="style.css" type="text/css">
 
12
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
 
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
</head>
 
21
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
22
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
23
<td><a accesskey="p" href="libgimp-gimpfontmenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="u" href="libgimpui.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
25
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
26
<th width="100%" align="center">GIMP Library Reference Manual</th>
 
27
<td><a accesskey="n" href="libgimp-gimppalettemenu.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
28
</tr></table>
 
29
<div class="refentry" lang="en">
 
30
<a name="libgimp-gimpgradientmenu"></a><div class="titlepage"></div>
 
31
<div class="refnamediv"><table width="100%"><tr>
 
32
<td valign="top">
 
33
<h2><span class="refentrytitle">gimpgradientmenu</span></h2>
 
34
<p>gimpgradientmenu &#8212; A widget for selecting gradients.</p>
 
35
</td>
 
36
<td valign="top" align="right"></td>
 
37
</tr></table></div>
 
38
<div class="refsynopsisdiv">
 
39
<h2>Synopsis</h2>
 
40
<pre class="synopsis">
 
41
 
 
42
 
 
43
 
 
44
<a
 
45
href="../gtk/GtkWidget.html"
 
46
>GtkWidget</a>*  <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-new">gimp_gradient_select_widget_new</a> (const gchar *title,
 
47
                                             const gchar *gradient_name,
 
48
                                             <a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
 
49
                                             gpointer data);
 
50
void        <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-close">gimp_gradient_select_widget_close</a>
 
51
                                            (<a
 
52
href="../gtk/GtkWidget.html"
 
53
>GtkWidget</a> *widget);
 
54
void        <a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-set">gimp_gradient_select_widget_set</a> (<a
 
55
href="../gtk/GtkWidget.html"
 
56
>GtkWidget</a> *widget,
 
57
                                             const gchar *gradient_name);
 
58
</pre>
 
59
</div>
 
60
<div class="refsect1" lang="en">
 
61
<a name="id2649226"></a><h2>Description</h2>
 
62
<p>
 
63
A widget for selecting gradients.
 
64
</p>
 
65
</div>
 
66
<div class="refsect1" lang="en">
 
67
<a name="id2649237"></a><h2>Details</h2>
 
68
<div class="refsect2" lang="en">
 
69
<a name="id2649243"></a><h3>
 
70
<a name="gimp-gradient-select-widget-new"></a>gimp_gradient_select_widget_new ()</h3>
 
71
<a class="indexterm" name="id2649252"></a><pre class="programlisting"><a
 
72
href="../gtk/GtkWidget.html"
 
73
>GtkWidget</a>*  gimp_gradient_select_widget_new (const gchar *title,
 
74
                                             const gchar *gradient_name,
 
75
                                             <a href="libgimp-gimpgradientselect.html#GimpRunGradientCallback">GimpRunGradientCallback</a> callback,
 
76
                                             gpointer data);</pre>
 
77
<p>
 
78
Creates a new <a
 
79
href="../gtk/GtkWidget.html"
 
80
><span class="type">GtkWidget</span></a> that completely controls the selection of
 
81
a gradient.  This widget is suitable for placement in a table in a
 
82
plug-in dialog.</p>
 
83
<p>
 
84
 
 
85
</p>
 
86
<div class="variablelist"><table border="0">
 
87
<col align="left" valign="top">
 
88
<tbody>
 
89
<tr>
 
90
<td>
 
91
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
92
<td>         Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
 
93
</td>
 
94
</tr>
 
95
<tr>
 
96
<td>
 
97
<span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
 
98
<td> Initial gradient name or <code class="literal">NULL</code> to use current selection.
 
99
</td>
 
100
</tr>
 
101
<tr>
 
102
<td>
 
103
<span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
 
104
<td>      A function to call when the selected gradient changes.
 
105
</td>
 
106
</tr>
 
107
<tr>
 
108
<td>
 
109
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
110
<td>          A pointer to arbitary data to be used in the call to
 
111
                <em class="parameter"><code>callback</code></em>.
 
112
</td>
 
113
</tr>
 
114
<tr>
 
115
<td>
 
116
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
117
<td> A <a
 
118
href="../gtk/GtkWidget.html"
 
119
><span class="type">GtkWidget</span></a> that you can use in your UI.
 
120
</td>
 
121
</tr>
 
122
</tbody>
 
123
</table></div>
 
124
</div>
 
125
<hr>
 
126
<div class="refsect2" lang="en">
 
127
<a name="id2649408"></a><h3>
 
128
<a name="gimp-gradient-select-widget-close"></a>gimp_gradient_select_widget_close ()</h3>
 
129
<a class="indexterm" name="id2649417"></a><pre class="programlisting">void        gimp_gradient_select_widget_close
 
130
                                            (<a
 
131
href="../gtk/GtkWidget.html"
 
132
>GtkWidget</a> *widget);</pre>
 
133
<p>
 
134
Closes the popup window associated with <em class="parameter"><code>widget</code></em>.</p>
 
135
<p>
 
136
 
 
137
</p>
 
138
<div class="variablelist"><table border="0">
 
139
<col align="left" valign="top">
 
140
<tbody><tr>
 
141
<td>
 
142
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
143
<td> A gradient select widget.
 
144
</td>
 
145
</tr></tbody>
 
146
</table></div>
 
147
</div>
 
148
<hr>
 
149
<div class="refsect2" lang="en">
 
150
<a name="id2649472"></a><h3>
 
151
<a name="gimp-gradient-select-widget-set"></a>gimp_gradient_select_widget_set ()</h3>
 
152
<a class="indexterm" name="id2646473"></a><pre class="programlisting">void        gimp_gradient_select_widget_set (<a
 
153
href="../gtk/GtkWidget.html"
 
154
>GtkWidget</a> *widget,
 
155
                                             const gchar *gradient_name);</pre>
 
156
<p>
 
157
Sets the current gradient for the gradient select widget.  Calls
 
158
the callback function if one was supplied in the call to
 
159
<a href="libgimp-gimpgradientmenu.html#gimp-gradient-select-widget-new"><code class="function">gimp_gradient_select_widget_new()</code></a>.</p>
 
160
<p>
 
161
 
 
162
</p>
 
163
<div class="variablelist"><table border="0">
 
164
<col align="left" valign="top">
 
165
<tbody>
 
166
<tr>
 
167
<td>
 
168
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
169
<td>        A gradient select widget.
 
170
</td>
 
171
</tr>
 
172
<tr>
 
173
<td>
 
174
<span class="term"><em class="parameter"><code>gradient_name</code></em>&#160;:</span></td>
 
175
<td> Gradient name to set.
 
176
</td>
 
177
</tr>
 
178
</tbody>
 
179
</table></div>
 
180
</div>
 
181
</div>
 
182
</div>
 
183
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
 
184
<td align="left"><a accesskey="p" href="libgimp-gimpfontmenu.html"><b>&lt;&lt;&#160;gimpfontmenu</b></a></td>
 
185
<td align="right"><a accesskey="n" href="libgimp-gimppalettemenu.html"><b>gimppalettemenu&#160;&gt;&gt;</b></a></td>
 
186
</tr></table>
 
187
</body>
 
188
</html>