~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
<a name="GimpGradientSelectButton.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
                    <a class="link" href="GimpGradientSelectButton.html#GimpGradientSelectButton-struct" title="GimpGradientSelectButton">GimpGradientSelectButton</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpGradientSelectButton.html#gimp-gradient-select-button-new" title="gimp_gradient_select_button_new ()">gimp_gradient_select_button_new</a>     (const <a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
63
 
>gchar</a> *title,
64
 
                                                         const <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
66
 
>gchar</a> *gradient_name);
67
 
const <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
69
 
>gchar</a>*        <a class="link" href="GimpGradientSelectButton.html#gimp-gradient-select-button-get-gradient" title="gimp_gradient_select_button_get_gradient ()">gimp_gradient_select_button_get_gradient</a>
 
59
GtkWidget*          <a class="link" href="GimpGradientSelectButton.html#gimp-gradient-select-button-new" title="gimp_gradient_select_button_new ()">gimp_gradient_select_button_new</a>     (const gchar *title,
 
60
                                                         const gchar *gradient_name);
 
61
const gchar*        <a class="link" href="GimpGradientSelectButton.html#gimp-gradient-select-button-get-gradient" title="gimp_gradient_select_button_get_gradient ()">gimp_gradient_select_button_get_gradient</a>
70
62
                                                        (<a class="link" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">GimpGradientSelectButton</a> *button);
71
63
void                <a class="link" href="GimpGradientSelectButton.html#gimp-gradient-select-button-set-gradient" title="gimp_gradient_select_button_set_gradient ()">gimp_gradient_select_button_set_gradient</a>
72
64
                                                        (<a class="link" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">GimpGradientSelectButton</a> *button,
73
 
                                                         const <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
 
>gchar</a> *gradient_name);
 
65
                                                         const gchar *gradient_name);
76
66
</pre>
77
67
</div>
78
68
<div class="refsect1" lang="en">
79
69
<a name="GimpGradientSelectButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
80
70
<pre class="synopsis">
81
 
  <a
82
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
83
 
>GObject</a>
84
 
   +----<a
85
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
86
 
>GInitiallyUnowned</a>
87
 
         +----<a
88
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
89
 
>GtkObject</a>
90
 
               +----<a
91
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
92
 
>GtkWidget</a>
93
 
                     +----<a
94
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
95
 
>GtkContainer</a>
96
 
                           +----<a
97
 
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
98
 
>GtkBox</a>
99
 
                                 +----<a
100
 
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
101
 
>GtkHBox</a>
 
71
  GObject
 
72
   +----GInitiallyUnowned
 
73
         +----GtkObject
 
74
               +----GtkWidget
 
75
                     +----GtkContainer
 
76
                           +----GtkBox
 
77
                                 +----GtkHBox
102
78
                                       +----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
103
79
                                             +----GimpGradientSelectButton
104
80
</pre>
112
88
<div class="refsect1" lang="en">
113
89
<a name="GimpGradientSelectButton.properties"></a><h2>Properties</h2>
114
90
<pre class="synopsis">
115
 
  "<a class="link" href="GimpGradientSelectButton.html#GimpGradientSelectButton--gradient-name" title='The "gradient-name" property'>gradient-name</a>"            <a
116
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
117
 
>gchar</a>*                : Read / Write
118
 
  "<a class="link" href="GimpGradientSelectButton.html#GimpGradientSelectButton--title" title='The "title" property'>title</a>"                    <a
119
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
120
 
>gchar</a>*                : Read / Write / Construct Only
 
91
  "<a class="link" href="GimpGradientSelectButton.html#GimpGradientSelectButton--gradient-name" title='The "gradient-name" property'>gradient-name</a>"            gchar*                : Read / Write
 
92
  "<a class="link" href="GimpGradientSelectButton.html#GimpGradientSelectButton--title" title='The "title" property'>title</a>"                    gchar*                : Read / Write / Construct Only
121
93
</pre>
122
94
</div>
123
95
<div class="refsect1" lang="en">
144
116
<hr>
145
117
<div class="refsect2" lang="en">
146
118
<a name="gimp-gradient-select-button-new"></a><h3>gimp_gradient_select_button_new ()</h3>
147
 
<pre class="programlisting"><a
148
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
149
 
>GtkWidget</a>*          gimp_gradient_select_button_new     (const <a
150
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
151
 
>gchar</a> *title,
152
 
                                                         const <a
153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
154
 
>gchar</a> *gradient_name);</pre>
 
119
<pre class="programlisting">GtkWidget*          gimp_gradient_select_button_new     (const gchar *title,
 
120
                                                         const gchar *gradient_name);</pre>
155
121
<p>
156
 
Creates a new <a
157
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
158
 
><span class="type">GtkWidget</span></a> that completely controls the selection of
 
122
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
159
123
a gradient.  This widget is suitable for placement in a table in a
160
124
plug-in dialog.</p>
161
125
<p>
166
130
<tbody>
167
131
<tr>
168
132
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
169
 
<td>         Title of the dialog to use or <a
170
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
171
 
><code class="literal">NULL</code></a> to use the default title.
 
133
<td>         Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
172
134
</td>
173
135
</tr>
174
136
<tr>
178
140
</tr>
179
141
<tr>
180
142
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
181
 
<td> A <a
182
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
183
 
><span class="type">GtkWidget</span></a> that you can use in your UI.
 
143
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
184
144
 
185
145
</td>
186
146
</tr>
192
152
<hr>
193
153
<div class="refsect2" lang="en">
194
154
<a name="gimp-gradient-select-button-get-gradient"></a><h3>gimp_gradient_select_button_get_gradient ()</h3>
195
 
<pre class="programlisting">const <a
196
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
197
 
>gchar</a>*        gimp_gradient_select_button_get_gradient
 
155
<pre class="programlisting">const gchar*        gimp_gradient_select_button_get_gradient
198
156
                                                        (<a class="link" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">GimpGradientSelectButton</a> *button);</pre>
199
157
<p>
200
158
Retrieves the name of currently selected gradient.</p>
225
183
<a name="gimp-gradient-select-button-set-gradient"></a><h3>gimp_gradient_select_button_set_gradient ()</h3>
226
184
<pre class="programlisting">void                gimp_gradient_select_button_set_gradient
227
185
                                                        (<a class="link" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">GimpGradientSelectButton</a> *button,
228
 
                                                         const <a
229
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
230
 
>gchar</a> *gradient_name);</pre>
 
186
                                                         const gchar *gradient_name);</pre>
231
187
<p>
232
188
Sets the current gradient for the gradient select button.</p>
233
189
<p>
256
212
<a name="GimpGradientSelectButton.property-details"></a><h2>Property Details</h2>
257
213
<div class="refsect2" lang="en">
258
214
<a name="GimpGradientSelectButton--gradient-name"></a><h3>The <code class="literal">"gradient-name"</code> property</h3>
259
 
<pre class="programlisting">  "gradient-name"            <a
260
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
261
 
>gchar</a>*                : Read / Write</pre>
 
215
<pre class="programlisting">  "gradient-name"            gchar*                : Read / Write</pre>
262
216
<p>
263
217
The name of the currently selected gradient.</p>
264
218
<p>
271
225
<hr>
272
226
<div class="refsect2" lang="en">
273
227
<a name="GimpGradientSelectButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
274
 
<pre class="programlisting">  "title"                    <a
275
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
276
 
>gchar</a>*                : Read / Write / Construct Only</pre>
 
228
<pre class="programlisting">  "title"                    gchar*                : Read / Write / Construct Only</pre>
277
229
<p>
278
230
The title to be used for the gradient selection popup dialog.</p>
279
231
<p>
289
241
<div class="refsect2" lang="en">
290
242
<a name="GimpGradientSelectButton-gradient-set"></a><h3>The <code class="literal">"gradient-set"</code> signal</h3>
291
243
<pre class="programlisting">void                user_function                      (<a class="link" href="GimpGradientSelectButton.html" title="GimpGradientSelectButton">GimpGradientSelectButton</a> *widget,
292
 
                                                        <a
293
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
294
 
>gchar</a>                    *gradient_name,
295
 
                                                        <a
296
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
297
 
>gint</a>                      width,
298
 
                                                        <a
299
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
300
 
>gpointer</a>                  grad_data,
301
 
                                                        <a
302
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
303
 
>gboolean</a>                  dialog_closing,
304
 
                                                        <a
305
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
306
 
>gpointer</a>                  user_data)           : Run First</pre>
 
244
                                                        gchar                    *gradient_name,
 
245
                                                        gint                      width,
 
246
                                                        gpointer                  grad_data,
 
247
                                                        gboolean                  dialog_closing,
 
248
                                                        gpointer                  user_data)           : Run First</pre>
307
249
<p>
308
250
The ::gradient-set signal is emitted when the user selects a gradient.</p>
309
251
<p>