~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
Import upstream version 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>GimpBrushSelectButton</title>
 
5
<title>gimpbrushselectbutton</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
8
8
<link rel="up" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
38
38
<a name="GimpBrushSelectButton"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
40
40
<td valign="top">
41
 
<h2><span class="refentrytitle"><a name="GimpBrushSelectButton.top_of_page"></a>GimpBrushSelectButton</span></h2>
42
 
<p>GimpBrushSelectButton</p>
 
41
<h2><span class="refentrytitle"><a name="GimpBrushSelectButton.top_of_page"></a>gimpbrushselectbutton</span></h2>
 
42
<p>gimpbrushselectbutton — A button that pops up a brush selection dialog.</p>
43
43
</td>
44
44
<td valign="top" align="right"></td>
45
45
</tr></table></div>
46
46
<div class="refsynopsisdiv">
47
47
<a name="GimpBrushSelectButton.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis">                    <a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton-struct" title="GimpBrushSelectButton">GimpBrushSelectButton</a>;
49
 
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-new" title="gimp_brush_select_button_new ()">gimp_brush_select_button_new</a>        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
50
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *brush_name</code></em>,
51
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
52
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>,
 
49
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-new" title="gimp_brush_select_button_new ()">gimp_brush_select_button_new</a>        (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
 
50
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *brush_name</code></em>,
 
51
                                                         <em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
 
52
                                                         <em class="parameter"><code><span class="type">gint</span> spacing</code></em>,
53
53
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);
54
 
const  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *      <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-get-brush" title="gimp_brush_select_button_get_brush ()">gimp_brush_select_button_get_brush</a>  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
55
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *opacity</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>,
 
54
const  <span class="returnvalue">gchar</span> *      <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-get-brush" title="gimp_brush_select_button_get_brush ()">gimp_brush_select_button_get_brush</a>  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
 
55
                                                         <em class="parameter"><code><span class="type">gdouble</span> *opacity</code></em>,
 
56
                                                         <em class="parameter"><code><span class="type">gint</span> *spacing</code></em>,
57
57
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> *paint_mode</code></em>);
58
 
<span class="returnvalue">void</span>                <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-set-brush" title="gimp_brush_select_button_set_brush ()">gimp_brush_select_button_set_brush</a>  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
59
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *brush_name</code></em>,
60
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>,
 
58
<span class="returnvalue">void</span>                <a class="link" href="GimpBrushSelectButton.html#gimp-brush-select-button-set-brush" title="gimp_brush_select_button_set_brush ()">gimp_brush_select_button_set_brush</a>  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
 
59
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *brush_name</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
 
61
                                                         <em class="parameter"><code><span class="type">gint</span> spacing</code></em>,
62
62
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);
63
63
</pre>
64
64
</div>
65
65
<div class="refsect1">
66
66
<a name="GimpBrushSelectButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
67
67
<pre class="synopsis">
68
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
69
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
70
 
         +----<a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
71
 
               +----<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
72
 
                     +----<a href="http://library.gnome.org/devel/gtk3/GtkContainer.html">GtkContainer</a>
73
 
                           +----<a href="http://library.gnome.org/devel/gtk3/GtkBox.html">GtkBox</a>
74
 
                                 +----<a href="http://library.gnome.org/devel/gtk3/GtkHBox.html">GtkHBox</a>
75
 
                                       +----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
76
 
                                             +----GimpBrushSelectButton
 
68
  GObject
 
69
   +----GInitiallyUnowned
 
70
         +----GtkObject
 
71
               +----GtkWidget
 
72
                     +----GtkContainer
 
73
                           +----GtkBox
 
74
                                 +----<a class="link" href="GimpSelectButton.html" title="GimpSelectButton">GimpSelectButton</a>
 
75
                                       +----GimpBrushSelectButton
77
76
</pre>
78
77
</div>
79
78
<div class="refsect1">
80
79
<a name="GimpBrushSelectButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
81
80
<p>
82
81
GimpBrushSelectButton implements
83
 
 AtkImplementorIface,  <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a> and  <a href="http://library.gnome.org/devel/gtk3/gtk-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
 
82
 AtkImplementorIface,  GtkBuildable and  GtkOrientable.</p>
84
83
</div>
85
84
<div class="refsect1">
86
85
<a name="GimpBrushSelectButton.properties"></a><h2>Properties</h2>
87
86
<pre class="synopsis">
88
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-name" title='The "brush-name" property'>brush-name</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
89
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-opacity" title='The "brush-opacity" property'>brush-opacity</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
90
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-paint-mode" title='The "brush-paint-mode" property'>brush-paint-mode</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
91
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-spacing" title='The "brush-spacing" property'>brush-spacing</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
92
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--title" title='The "title" property'>title</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only
 
87
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-name" title='The "brush-name" property'>brush-name</a>"               <span class="type">gchar</span>*                : Read / Write
 
88
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-opacity" title='The "brush-opacity" property'>brush-opacity</a>"            <span class="type">gdouble</span>               : Read / Write
 
89
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-paint-mode" title='The "brush-paint-mode" property'>brush-paint-mode</a>"         <span class="type">gint</span>                  : Read / Write
 
90
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--brush-spacing" title='The "brush-spacing" property'>brush-spacing</a>"            <span class="type">gint</span>                  : Read / Write
 
91
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton--title" title='The "title" property'>title</a>"                    <span class="type">gchar</span>*                : Read / Write / Construct Only
93
92
</pre>
94
93
</div>
95
94
<div class="refsect1">
96
95
<a name="GimpBrushSelectButton.signals"></a><h2>Signals</h2>
97
96
<pre class="synopsis">
98
 
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton-brush-set" title='The "brush-set" signal'>brush-set</a>"                                      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
 
97
  "<a class="link" href="GimpBrushSelectButton.html#GimpBrushSelectButton-brush-set" title='The "brush-set" signal'>brush-set</a>"                                      : <code class="literal">Run First</code>
99
98
</pre>
100
99
</div>
101
100
<div class="refsect1">
102
101
<a name="GimpBrushSelectButton.description"></a><h2>Description</h2>
103
102
<p>
 
103
A button that pops up a brush selection dialog.
104
104
</p>
105
105
</div>
106
106
<div class="refsect1">
114
114
<hr>
115
115
<div class="refsect2">
116
116
<a name="gimp-brush-select-button-new"></a><h3>gimp_brush_select_button_new ()</h3>
117
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gimp_brush_select_button_new        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
118
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *brush_name</code></em>,
119
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
120
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>,
 
117
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         gimp_brush_select_button_new        (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
 
118
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *brush_name</code></em>,
 
119
                                                         <em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
 
120
                                                         <em class="parameter"><code><span class="type">gint</span> spacing</code></em>,
121
121
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);</pre>
122
122
<p>
123
 
Creates a new <a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> that completely controls the selection of
124
 
a <span class="type">GimpBrush</span>.  This widget is suitable for placement in a table in
 
123
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
 
124
a <a href="/local/head/share/gtk-doc/html/app/GimpBrush.html"><span class="type">GimpBrush</span></a>.  This widget is suitable for placement in a table in
125
125
a plug-in dialog.
126
126
</p>
127
127
<div class="variablelist"><table border="0">
129
129
<tbody>
130
130
<tr>
131
131
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
132
 
<td>Title of the dialog to use or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> means to use the default
 
132
<td>Title of the dialog to use or <code class="literal">NULL</code> means to use the default
133
133
title.</td>
134
134
</tr>
135
135
<tr>
136
136
<td><p><span class="term"><em class="parameter"><code>brush_name</code></em> :</span></p></td>
137
 
<td>Initial brush name or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to use current selection.</td>
 
137
<td>Initial brush name or <code class="literal">NULL</code> to use current selection.</td>
138
138
</tr>
139
139
<tr>
140
140
<td><p><span class="term"><em class="parameter"><code>opacity</code></em> :</span></p></td>
150
150
</tr>
151
151
<tr>
152
152
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
153
 
<td>A <a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> that you can use in your UI.</td>
 
153
<td>A <span class="type">GtkWidget</span> that you can use in your UI.</td>
154
154
</tr>
155
155
</tbody>
156
156
</table></div>
159
159
<hr>
160
160
<div class="refsect2">
161
161
<a name="gimp-brush-select-button-get-brush"></a><h3>gimp_brush_select_button_get_brush ()</h3>
162
 
<pre class="programlisting">const  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *      gimp_brush_select_button_get_brush  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
163
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *opacity</code></em>,
164
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *spacing</code></em>,
 
162
<pre class="programlisting">const  <span class="returnvalue">gchar</span> *      gimp_brush_select_button_get_brush  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
 
163
                                                         <em class="parameter"><code><span class="type">gdouble</span> *opacity</code></em>,
 
164
                                                         <em class="parameter"><code><span class="type">gint</span> *spacing</code></em>,
165
165
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> *paint_mode</code></em>);</pre>
166
166
<p>
167
167
Retrieves the properties of currently selected brush.
171
171
<tbody>
172
172
<tr>
173
173
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
174
 
<td>A <a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a>
 
174
<td>A <a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a>
175
175
</td>
176
176
</tr>
177
177
<tr>
197
197
<hr>
198
198
<div class="refsect2">
199
199
<a name="gimp-brush-select-button-set-brush"></a><h3>gimp_brush_select_button_set_brush ()</h3>
200
 
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_brush_select_button_set_brush  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
201
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *brush_name</code></em>,
202
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
203
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>,
 
200
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_brush_select_button_set_brush  (<em class="parameter"><code><a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a> *button</code></em>,
 
201
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *brush_name</code></em>,
 
202
                                                         <em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
 
203
                                                         <em class="parameter"><code><span class="type">gint</span> spacing</code></em>,
204
204
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects"><span class="type">GimpLayerModeEffects</span></a> paint_mode</code></em>);</pre>
205
205
<p>
206
206
Sets the current brush and other values for the brush select
211
211
<tbody>
212
212
<tr>
213
213
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
214
 
<td>A <a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a>
 
214
<td>A <a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a>
215
215
</td>
216
216
</tr>
217
217
<tr>
218
218
<td><p><span class="term"><em class="parameter"><code>brush_name</code></em> :</span></p></td>
219
 
<td>Brush name to set; <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> means no change.</td>
 
219
<td>Brush name to set; <code class="literal">NULL</code> means no change.</td>
220
220
</tr>
221
221
<tr>
222
222
<td><p><span class="term"><em class="parameter"><code>opacity</code></em> :</span></p></td>
239
239
<a name="GimpBrushSelectButton.property-details"></a><h2>Property Details</h2>
240
240
<div class="refsect2">
241
241
<a name="GimpBrushSelectButton--brush-name"></a><h3>The <code class="literal">"brush-name"</code> property</h3>
242
 
<pre class="programlisting">  "brush-name"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
242
<pre class="programlisting">  "brush-name"               <span class="type">gchar</span>*                : Read / Write</pre>
243
243
<p>
244
244
The name of the currently selected brush.
245
245
</p>
249
249
<hr>
250
250
<div class="refsect2">
251
251
<a name="GimpBrushSelectButton--brush-opacity"></a><h3>The <code class="literal">"brush-opacity"</code> property</h3>
252
 
<pre class="programlisting">  "brush-opacity"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
 
252
<pre class="programlisting">  "brush-opacity"            <span class="type">gdouble</span>               : Read / Write</pre>
253
253
<p>The opacity of the currently selected brush.</p>
254
254
<p>Allowed values: [-1,100]</p>
255
255
<p>Default value: -1</p>
257
257
<hr>
258
258
<div class="refsect2">
259
259
<a name="GimpBrushSelectButton--brush-paint-mode"></a><h3>The <code class="literal">"brush-paint-mode"</code> property</h3>
260
 
<pre class="programlisting">  "brush-paint-mode"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
260
<pre class="programlisting">  "brush-paint-mode"         <span class="type">gint</span>                  : Read / Write</pre>
261
261
<p>The paint mode of the currently selected brush.</p>
262
 
<p>Allowed values: [G_MAXULONG,22]</p>
 
262
<p>Allowed values: [-1,22]</p>
263
263
<p>Default value: -1</p>
264
264
</div>
265
265
<hr>
266
266
<div class="refsect2">
267
267
<a name="GimpBrushSelectButton--brush-spacing"></a><h3>The <code class="literal">"brush-spacing"</code> property</h3>
268
 
<pre class="programlisting">  "brush-spacing"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
268
<pre class="programlisting">  "brush-spacing"            <span class="type">gint</span>                  : Read / Write</pre>
269
269
<p>The spacing of the currently selected brush.</p>
270
270
<p>Allowed values: [-2147483647,1000]</p>
271
271
<p>Default value: -1</p>
273
273
<hr>
274
274
<div class="refsect2">
275
275
<a name="GimpBrushSelectButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
276
 
<pre class="programlisting">  "title"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct Only</pre>
 
276
<pre class="programlisting">  "title"                    <span class="type">gchar</span>*                : Read / Write / Construct Only</pre>
277
277
<p>
278
278
The title to be used for the brush selection popup dialog.
279
279
</p>
285
285
<a name="GimpBrushSelectButton.signal-details"></a><h2>Signal Details</h2>
286
286
<div class="refsect2">
287
287
<a name="GimpBrushSelectButton-brush-set"></a><h3>The <code class="literal">"brush-set"</code> signal</h3>
288
 
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GimpBrushSelectButton.html" title="GimpBrushSelectButton"><span class="type">GimpBrushSelectButton</span></a> *widget,
289
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>                 *brush_name,
290
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>                opacity,
291
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                   spacing,
292
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                   paint_mode,
293
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                   width,
294
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                   height,
295
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>               mask_data,
296
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>               dialog_closing,
297
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>               user_data)           : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
 
288
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GimpBrushSelectButton.html" title="gimpbrushselectbutton"><span class="type">GimpBrushSelectButton</span></a> *widget,
 
289
                                                        <span class="type">gchar</span>                 *brush_name,
 
290
                                                        <span class="type">gdouble</span>                opacity,
 
291
                                                        <span class="type">gint</span>                   spacing,
 
292
                                                        <span class="type">gint</span>                   paint_mode,
 
293
                                                        <span class="type">gint</span>                   width,
 
294
                                                        <span class="type">gint</span>                   height,
 
295
                                                        <span class="type">gpointer</span>               mask_data,
 
296
                                                        <span class="type">gboolean</span>               dialog_closing,
 
297
                                                        <span class="type">gpointer</span>               user_data)           : <code class="literal">Run First</code></pre>
298
298
<p>
299
299
The ::brush-set signal is emitted when the user selects a brush.
300
300
</p>