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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpbrushselect</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
8
<link rel="up" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
9
 
<link rel="prev" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
 
9
<link rel="prev" href="GimpPatternSelectButton.html" title="GimpPatternSelectButton">
10
10
<link rel="next" href="libgimp-gimpfontselect.html" title="gimpfontselect">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
24
27
<tr valign="middle">
25
 
<td><a accesskey="p" href="libgimp-selectors.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
28
<td><a accesskey="p" href="GimpPatternSelectButton.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
29
<td><a accesskey="u" href="libgimp-selectors.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
30
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpfontselect.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2584574" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2569711" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2647652" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2702473" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpbrushselect"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2584574"></a><span class="refentrytitle">gimpbrushselect</span>
 
43
<a name="id2569711"></a><span class="refentrytitle">gimpbrushselect</span>
41
44
</h2>
42
45
<p>gimpbrushselect &#8212; Functions providing a brush selection dialog.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
void        (<a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">*GimpRunBrushCallback</a>)         (const gchar *brush_name,
53
 
                                             gdouble opacity,
54
 
                                             gint spacing,
55
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
56
 
                                             gint width,
57
 
                                             gint height,
58
 
                                             const guchar *mask_data,
59
 
                                             gboolean dialog_closing,
60
 
                                             gpointer user_data);
61
 
const gchar* <a href="libgimp-gimpbrushselect.html#gimp-brush-select-new">gimp_brush_select_new</a>          (const gchar *title,
62
 
                                             const gchar *brush_name,
63
 
                                             gdouble opacity,
64
 
                                             gint spacing,
65
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
66
 
                                             <a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">GimpRunBrushCallback</a> callback,
67
 
                                             gpointer data);
68
 
void        <a href="libgimp-gimpbrushselect.html#gimp-brush-select-destroy">gimp_brush_select_destroy</a>       (const gchar *brush_callback);
69
 
gboolean    <a href="libgimp-gimpbrushselect.html#gimp-brushes-popup">gimp_brushes_popup</a>              (const gchar *brush_callback,
70
 
                                             const gchar *popup_title,
71
 
                                             const gchar *initial_brush,
72
 
                                             gdouble opacity,
73
 
                                             gint spacing,
74
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
75
 
gboolean    <a href="libgimp-gimpbrushselect.html#gimp-brushes-close-popup">gimp_brushes_close_popup</a>        (const gchar *brush_callback);
76
 
gboolean    <a href="libgimp-gimpbrushselect.html#gimp-brushes-set-popup">gimp_brushes_set_popup</a>          (const gchar *brush_callback,
77
 
                                             const gchar *brush_name,
78
 
                                             gdouble opacity,
79
 
                                             gint spacing,
80
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
 
55
void                (<a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">*GimpRunBrushCallback</a>)             (const gchar *brush_name,
 
56
                                                         gdouble opacity,
 
57
                                                         gint spacing,
 
58
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
59
                                                         gint width,
 
60
                                                         gint height,
 
61
                                                         const guchar *mask_data,
 
62
                                                         gboolean dialog_closing,
 
63
                                                         gpointer user_data);
 
64
const gchar*        <a href="libgimp-gimpbrushselect.html#gimp-brush-select-new">gimp_brush_select_new</a>               (const gchar *title,
 
65
                                                         const gchar *brush_name,
 
66
                                                         gdouble opacity,
 
67
                                                         gint spacing,
 
68
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
69
                                                         <a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">GimpRunBrushCallback</a> callback,
 
70
                                                         gpointer data);
 
71
void                <a href="libgimp-gimpbrushselect.html#gimp-brush-select-destroy">gimp_brush_select_destroy</a>           (const gchar *brush_callback);
 
72
gboolean            <a href="libgimp-gimpbrushselect.html#gimp-brushes-popup">gimp_brushes_popup</a>                  (const gchar *brush_callback,
 
73
                                                         const gchar *popup_title,
 
74
                                                         const gchar *initial_brush,
 
75
                                                         gdouble opacity,
 
76
                                                         gint spacing,
 
77
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
 
78
gboolean            <a href="libgimp-gimpbrushselect.html#gimp-brushes-close-popup">gimp_brushes_close_popup</a>            (const gchar *brush_callback);
 
79
gboolean            <a href="libgimp-gimpbrushselect.html#gimp-brushes-set-popup">gimp_brushes_set_popup</a>              (const gchar *brush_callback,
 
80
                                                         const gchar *brush_name,
 
81
                                                         gdouble opacity,
 
82
                                                         gint spacing,
 
83
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
81
84
</pre>
82
85
</div>
83
86
<div class="refsect1" lang="en">
84
 
<a name="id2647652"></a><h2>Description</h2>
 
87
<a name="id2702473"></a><h2>Description</h2>
85
88
<p>
86
89
Functions providing a brush selection dialog.
87
90
</p>
88
91
</div>
89
92
<div class="refsect1" lang="en">
90
 
<a name="id2647669"></a><h2>Details</h2>
 
93
<a name="id2702490"></a><h2>Details</h2>
91
94
<div class="refsect2" lang="en">
92
 
<a name="id2647680"></a><h3>
 
95
<a name="id2702500"></a><h3>
93
96
<a name="GimpRunBrushCallback"></a>GimpRunBrushCallback ()</h3>
94
 
<a class="indexterm" name="id2647691"></a><pre class="programlisting">void        (*GimpRunBrushCallback)         (const gchar *brush_name,
95
 
                                             gdouble opacity,
96
 
                                             gint spacing,
97
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
98
 
                                             gint width,
99
 
                                             gint height,
100
 
                                             const guchar *mask_data,
101
 
                                             gboolean dialog_closing,
102
 
                                             gpointer user_data);</pre>
 
97
<a class="indexterm" name="id2702511"></a><pre class="programlisting">void                (*GimpRunBrushCallback)             (const gchar *brush_name,
 
98
                                                         gdouble opacity,
 
99
                                                         gint spacing,
 
100
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
101
                                                         gint width,
 
102
                                                         gint height,
 
103
                                                         const guchar *mask_data,
 
104
                                                         gboolean dialog_closing,
 
105
                                                         gpointer user_data);</pre>
103
106
<p>
104
107
 
105
108
</p>
107
110
<col align="left" valign="top">
108
111
<tbody>
109
112
<tr>
110
 
<td>
111
 
<span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
112
 
<td>
113
 
</td>
114
 
</tr>
115
 
<tr>
116
 
<td>
117
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
118
 
<td>
119
 
</td>
120
 
</tr>
121
 
<tr>
122
 
<td>
123
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
124
 
<td>
125
 
</td>
126
 
</tr>
127
 
<tr>
128
 
<td>
129
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
130
 
<td>
131
 
</td>
132
 
</tr>
133
 
<tr>
134
 
<td>
135
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
136
 
<td>
137
 
</td>
138
 
</tr>
139
 
<tr>
140
 
<td>
141
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
142
 
<td>
143
 
</td>
144
 
</tr>
145
 
<tr>
146
 
<td>
147
 
<span class="term"><em class="parameter"><code>mask_data</code></em>&#160;:</span></td>
148
 
<td>
149
 
</td>
150
 
</tr>
151
 
<tr>
152
 
<td>
153
 
<span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
154
 
<td>
155
 
</td>
156
 
</tr>
157
 
<tr>
158
 
<td>
159
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
113
<td><span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
 
114
<td>
 
115
</td>
 
116
</tr>
 
117
<tr>
 
118
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
119
<td>
 
120
</td>
 
121
</tr>
 
122
<tr>
 
123
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
124
<td>
 
125
</td>
 
126
</tr>
 
127
<tr>
 
128
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
129
<td>
 
130
</td>
 
131
</tr>
 
132
<tr>
 
133
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
134
<td>
 
135
</td>
 
136
</tr>
 
137
<tr>
 
138
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
139
<td>
 
140
</td>
 
141
</tr>
 
142
<tr>
 
143
<td><span class="term"><em class="parameter"><code>mask_data</code></em>&#160;:</span></td>
 
144
<td>
 
145
</td>
 
146
</tr>
 
147
<tr>
 
148
<td><span class="term"><em class="parameter"><code>dialog_closing</code></em>&#160;:</span></td>
 
149
<td>
 
150
</td>
 
151
</tr>
 
152
<tr>
 
153
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
160
154
<td>
161
155
 
162
156
 
167
161
</div>
168
162
<hr>
169
163
<div class="refsect2" lang="en">
170
 
<a name="id2631686"></a><h3>
 
164
<a name="id2704769"></a><h3>
171
165
<a name="gimp-brush-select-new"></a>gimp_brush_select_new ()</h3>
172
 
<a class="indexterm" name="id2631698"></a><pre class="programlisting">const gchar* gimp_brush_select_new          (const gchar *title,
173
 
                                             const gchar *brush_name,
174
 
                                             gdouble opacity,
175
 
                                             gint spacing,
176
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
177
 
                                             <a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">GimpRunBrushCallback</a> callback,
178
 
                                             gpointer data);</pre>
 
166
<a class="indexterm" name="id2704781"></a><pre class="programlisting">const gchar*        gimp_brush_select_new               (const gchar *title,
 
167
                                                         const gchar *brush_name,
 
168
                                                         gdouble opacity,
 
169
                                                         gint spacing,
 
170
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
171
                                                         <a href="libgimp-gimpbrushselect.html#GimpRunBrushCallback">GimpRunBrushCallback</a> callback,
 
172
                                                         gpointer data);</pre>
179
173
<p>
180
174
 
181
175
</p>
183
177
<col align="left" valign="top">
184
178
<tbody>
185
179
<tr>
186
 
<td>
187
 
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
188
 
<td>
189
 
</td>
190
 
</tr>
191
 
<tr>
192
 
<td>
193
 
<span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
194
 
<td>
195
 
</td>
196
 
</tr>
197
 
<tr>
198
 
<td>
199
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
200
 
<td>
201
 
</td>
202
 
</tr>
203
 
<tr>
204
 
<td>
205
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
206
 
<td>
207
 
</td>
208
 
</tr>
209
 
<tr>
210
 
<td>
211
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
212
 
<td>
213
 
</td>
214
 
</tr>
215
 
<tr>
216
 
<td>
217
 
<span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
218
 
<td>
219
 
</td>
220
 
</tr>
221
 
<tr>
222
 
<td>
223
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
224
 
<td>
225
 
</td>
226
 
</tr>
227
 
<tr>
228
 
<td>
229
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
180
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
181
<td>
 
182
</td>
 
183
</tr>
 
184
<tr>
 
185
<td><span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
 
186
<td>
 
187
</td>
 
188
</tr>
 
189
<tr>
 
190
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
191
<td>
 
192
</td>
 
193
</tr>
 
194
<tr>
 
195
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
196
<td>
 
197
</td>
 
198
</tr>
 
199
<tr>
 
200
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
201
<td>
 
202
</td>
 
203
</tr>
 
204
<tr>
 
205
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
 
206
<td>
 
207
</td>
 
208
</tr>
 
209
<tr>
 
210
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
211
<td>
 
212
</td>
 
213
</tr>
 
214
<tr>
 
215
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
230
216
<td>
231
217
 
232
218
 
237
223
</div>
238
224
<hr>
239
225
<div class="refsect2" lang="en">
240
 
<a name="id2631880"></a><h3>
 
226
<a name="id2705230"></a><h3>
241
227
<a name="gimp-brush-select-destroy"></a>gimp_brush_select_destroy ()</h3>
242
 
<a class="indexterm" name="id2631891"></a><pre class="programlisting">void        gimp_brush_select_destroy       (const gchar *brush_callback);</pre>
 
228
<a class="indexterm" name="id2705241"></a><pre class="programlisting">void                gimp_brush_select_destroy           (const gchar *brush_callback);</pre>
243
229
<p>
244
230
 
245
231
</p>
246
232
<div class="variablelist"><table border="0">
247
233
<col align="left" valign="top">
248
234
<tbody><tr>
249
 
<td>
250
 
<span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
 
235
<td><span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
251
236
<td>
252
237
 
253
238
 
257
242
</div>
258
243
<hr>
259
244
<div class="refsect2" lang="en">
260
 
<a name="id2631937"></a><h3>
 
245
<a name="id2705286"></a><h3>
261
246
<a name="gimp-brushes-popup"></a>gimp_brushes_popup ()</h3>
262
 
<a class="indexterm" name="id2631949"></a><pre class="programlisting">gboolean    gimp_brushes_popup              (const gchar *brush_callback,
263
 
                                             const gchar *popup_title,
264
 
                                             const gchar *initial_brush,
265
 
                                             gdouble opacity,
266
 
                                             gint spacing,
267
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
 
247
<a class="indexterm" name="id2705297"></a><pre class="programlisting">gboolean            gimp_brushes_popup                  (const gchar *brush_callback,
 
248
                                                         const gchar *popup_title,
 
249
                                                         const gchar *initial_brush,
 
250
                                                         gdouble opacity,
 
251
                                                         gint spacing,
 
252
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
268
253
<p>
269
254
Invokes the Gimp brush selection.
270
255
</p>
271
256
<p>
272
 
This procedure popups the brush selection dialog.</p>
 
257
This procedure opens the brush selection dialog.</p>
273
258
<p>
274
259
 
275
260
</p>
277
262
<col align="left" valign="top">
278
263
<tbody>
279
264
<tr>
280
 
<td>
281
 
<span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
 
265
<td><span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
282
266
<td> The callback PDB proc to call when brush selection is made.
283
267
</td>
284
268
</tr>
285
269
<tr>
286
 
<td>
287
 
<span class="term"><em class="parameter"><code>popup_title</code></em>&#160;:</span></td>
288
 
<td> Title to give the brush popup window.
 
270
<td><span class="term"><em class="parameter"><code>popup_title</code></em>&#160;:</span></td>
 
271
<td> Title of the brush selection dialog.
289
272
</td>
290
273
</tr>
291
274
<tr>
292
 
<td>
293
 
<span class="term"><em class="parameter"><code>initial_brush</code></em>&#160;:</span></td>
 
275
<td><span class="term"><em class="parameter"><code>initial_brush</code></em>&#160;:</span></td>
294
276
<td> The name of the brush to set as the first selected.
295
277
</td>
296
278
</tr>
297
279
<tr>
298
 
<td>
299
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
280
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
300
281
<td> The initial opacity of the brush.
301
282
</td>
302
283
</tr>
303
284
<tr>
304
 
<td>
305
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
285
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
306
286
<td> The initial spacing of the brush (if &lt; 0 then use brush default spacing).
307
287
</td>
308
288
</tr>
309
289
<tr>
310
 
<td>
311
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
290
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
312
291
<td> The initial paint mode.
313
292
</td>
314
293
</tr>
315
294
<tr>
316
 
<td>
317
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
295
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
318
296
<td> TRUE on success.
319
297
</td>
320
298
</tr>
323
301
</div>
324
302
<hr>
325
303
<div class="refsect2" lang="en">
326
 
<a name="id2648919"></a><h3>
 
304
<a name="id2708675"></a><h3>
327
305
<a name="gimp-brushes-close-popup"></a>gimp_brushes_close_popup ()</h3>
328
 
<a class="indexterm" name="id2648930"></a><pre class="programlisting">gboolean    gimp_brushes_close_popup        (const gchar *brush_callback);</pre>
 
306
<a class="indexterm" name="id2708685"></a><pre class="programlisting">gboolean            gimp_brushes_close_popup            (const gchar *brush_callback);</pre>
329
307
<p>
330
 
Popdown the Gimp brush selection.
 
308
Close the brush selection dialog.
331
309
</p>
332
310
<p>
333
311
This procedure closes an opened brush selection dialog.</p>
338
316
<col align="left" valign="top">
339
317
<tbody>
340
318
<tr>
341
 
<td>
342
 
<span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
343
 
<td> The name of the callback registered for this popup.
 
319
<td><span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
 
320
<td> The name of the callback registered for this pop-up.
344
321
</td>
345
322
</tr>
346
323
<tr>
347
 
<td>
348
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
324
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
349
325
<td> TRUE on success.
350
326
</td>
351
327
</tr>
354
330
</div>
355
331
<hr>
356
332
<div class="refsect2" lang="en">
357
 
<a name="id2648987"></a><h3>
 
333
<a name="id2708744"></a><h3>
358
334
<a name="gimp-brushes-set-popup"></a>gimp_brushes_set_popup ()</h3>
359
 
<a class="indexterm" name="id2648998"></a><pre class="programlisting">gboolean    gimp_brushes_set_popup          (const gchar *brush_callback,
360
 
                                             const gchar *brush_name,
361
 
                                             gdouble opacity,
362
 
                                             gint spacing,
363
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
 
335
<a class="indexterm" name="id2708754"></a><pre class="programlisting">gboolean            gimp_brushes_set_popup              (const gchar *brush_callback,
 
336
                                                         const gchar *brush_name,
 
337
                                                         gdouble opacity,
 
338
                                                         gint spacing,
 
339
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
364
340
<p>
365
 
Sets the current brush selection in a popup.
 
341
Sets the current brush in a brush selection dialog.
366
342
</p>
367
343
<p>
368
 
Sets the current brush selection in a popup.</p>
 
344
Sets the current brush in a brush selection dialog.</p>
369
345
<p>
370
346
 
371
347
</p>
373
349
<col align="left" valign="top">
374
350
<tbody>
375
351
<tr>
376
 
<td>
377
 
<span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
378
 
<td> The name of the callback registered for this popup.
 
352
<td><span class="term"><em class="parameter"><code>brush_callback</code></em>&#160;:</span></td>
 
353
<td> The name of the callback registered for this pop-up.
379
354
</td>
380
355
</tr>
381
356
<tr>
382
 
<td>
383
 
<span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
 
357
<td><span class="term"><em class="parameter"><code>brush_name</code></em>&#160;:</span></td>
384
358
<td> The name of the brush to set as selected.
385
359
</td>
386
360
</tr>
387
361
<tr>
388
 
<td>
389
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
362
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
390
363
<td> The initial opacity of the brush.
391
364
</td>
392
365
</tr>
393
366
<tr>
394
 
<td>
395
 
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
 
367
<td><span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
396
368
<td> The initial spacing of the brush (if &lt; 0 then use brush default spacing).
397
369
</td>
398
370
</tr>
399
371
<tr>
400
 
<td>
401
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
372
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
402
373
<td> The initial paint mode.
403
374
</td>
404
375
</tr>
405
376
<tr>
406
 
<td>
407
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
377
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
408
378
<td> TRUE on success.
409
379
</td>
410
380
</tr>