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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpColorArea.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>GimpColorArea</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 Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
9
9
<link rel="prev" href="GimpChainButton.html" title="GimpChainButton">
10
10
<link rel="next" href="GimpColorButton.html" title="GimpColorButton">
11
 
<meta name="generator" content="GTK-Doc V1.6 (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
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
 
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
15
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
16
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
 
22
<link rel="index" href="libgimpwidgets-index.html" title="Index">
 
23
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
24
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
25
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
21
26
</head>
22
27
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
28
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
29
34
<td><a accesskey="n" href="GimpColorButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
35
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
32
 
                  &#160;|&#160;
33
 
                  <a href="#desc" class="shortcut">Description</a>
34
 
                  &#160;|&#160;
35
 
                  <a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
36
 
                  &#160;|&#160;
37
 
                  <a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
 
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587792" class="shortcut">Top</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2509631" class="shortcut">Description</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2577408" class="shortcut">Object Hierarchy</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2509519" class="shortcut">Implemented Interfaces</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id2509540" class="shortcut">Properties</a>
 
45
                  &#160;|&#160;
 
46
                  <a href="#id2509606" class="shortcut">Signals</a></nobr></td></tr>
38
47
</table>
39
48
<div class="refentry" lang="en">
40
49
<a name="GimpColorArea"></a><div class="titlepage"></div>
41
50
<div class="refnamediv"><table width="100%"><tr>
42
51
<td valign="top">
43
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpColorArea</span></h2>
 
52
<h2>
 
53
<a name="id2587792"></a><span class="refentrytitle">GimpColorArea</span>
 
54
</h2>
44
55
<p>GimpColorArea &#8212; Displays a GimpRGB color, optionally with alpha-channel.</p>
45
56
</td>
46
 
<td valign="top" align="right"></td>
 
57
<td valign="top" align="right"><img src="gimp-color-area.png"></td>
47
58
</tr></table></div>
48
59
<div class="refsynopsisdiv">
49
 
<a name="synopsis"></a><h2>Synopsis</h2>
 
60
<h2>Synopsis</h2>
50
61
<pre class="synopsis">
51
62
 
52
63
 
53
64
 
54
 
            <a href="GimpColorArea.html#GimpColorArea-struct">GimpColorArea</a>;
55
 
enum        <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a>;
56
 
GtkWidget*  <a href="GimpColorArea.html#gimp-color-area-new">gimp_color_area_new</a>             (const <a
 
65
                    <a href="GimpColorArea.html#GimpColorArea-struct">GimpColorArea</a>;
 
66
enum                <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a>;
 
67
GtkWidget*          <a href="GimpColorArea.html#gimp-color-area-new">gimp_color_area_new</a>                 (const <a
57
68
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
58
69
>GimpRGB</a> *color,
59
 
                                             <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
60
 
                                             GdkModifierType drag_mask);
61
 
void        <a href="GimpColorArea.html#gimp-color-area-set-color">gimp_color_area_set_color</a>       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
62
 
                                             const <a
63
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
64
 
>GimpRGB</a> *color);
65
 
void        <a href="GimpColorArea.html#gimp-color-area-get-color">gimp_color_area_get_color</a>       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
66
 
                                             <a
67
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
68
 
>GimpRGB</a> *color);
69
 
gboolean    <a href="GimpColorArea.html#gimp-color-area-has-alpha">gimp_color_area_has_alpha</a>       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
70
 
void        <a href="GimpColorArea.html#gimp-color-area-set-type">gimp_color_area_set_type</a>        (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
71
 
                                             <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);
72
 
void        <a href="GimpColorArea.html#gimp-color-area-set-draw-border">gimp_color_area_set_draw_border</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
73
 
                                             gboolean draw_border);
 
70
                                                         <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
 
71
                                                         GdkModifierType drag_mask);
 
72
void                <a href="GimpColorArea.html#gimp-color-area-set-color">gimp_color_area_set_color</a>           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
73
                                                         const <a
 
74
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
75
>GimpRGB</a> *color);
 
76
void                <a href="GimpColorArea.html#gimp-color-area-get-color">gimp_color_area_get_color</a>           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
77
                                                         <a
 
78
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
79
>GimpRGB</a> *color);
 
80
gboolean            <a href="GimpColorArea.html#gimp-color-area-has-alpha">gimp_color_area_has_alpha</a>           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
 
81
void                <a href="GimpColorArea.html#gimp-color-area-set-type">gimp_color_area_set_type</a>            (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
82
                                                         <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);
 
83
void                <a href="GimpColorArea.html#gimp-color-area-set-draw-border">gimp_color_area_set_draw_border</a>     (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
84
                                                         gboolean draw_border);
74
85
 
75
86
</pre>
76
87
</div>
77
88
<div class="refsect1" lang="en">
78
 
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
 
89
<a name="id2577408"></a><h2>Object Hierarchy</h2>
79
90
<pre class="synopsis">
80
91
 
81
92
  GObject
87
98
</pre>
88
99
</div>
89
100
<div class="refsect1" lang="en">
90
 
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
 
101
<a name="id2509519"></a><h2>Implemented Interfaces</h2>
91
102
<p>
92
103
GimpColorArea implements
93
104
 AtkImplementorIface.</p>
94
105
</div>
95
106
<div class="refsect1" lang="en">
96
 
<a name="signal_proto"></a><h2>Signals</h2>
97
 
<pre class="synopsis">
98
 
 
99
 
"<a href="GimpColorArea.html#GimpColorArea-color-changed">color-changed</a>"
100
 
            void        user_function      (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
101
 
                                            gpointer       user_data)          : Run first
102
 
</pre>
103
 
</div>
104
 
<div class="refsect1" lang="en">
105
 
<a name="desc"></a><h2>Description</h2>
 
107
<a name="id2509540"></a><h2>Properties</h2>
 
108
<pre class="synopsis">
 
109
 
 
110
  "<a href="GimpColorArea.html#GimpColorArea--color">color</a>"                    <a
 
111
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
112
>GimpRGB</a>               : Read / Write / Construct
 
113
  "<a href="GimpColorArea.html#GimpColorArea--drag-mask">drag-mask</a>"                GdkModifierType       : Write / Construct Only
 
114
  "<a href="GimpColorArea.html#GimpColorArea--draw-border">draw-border</a>"              gboolean              : Read / Write
 
115
  "<a href="GimpColorArea.html#GimpColorArea--type">type</a>"                     <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a>     : Read / Write / Construct
 
116
</pre>
 
117
</div>
 
118
<div class="refsect1" lang="en">
 
119
<a name="id2509606"></a><h2>Signals</h2>
 
120
<pre class="synopsis">
 
121
 
 
122
  "<a href="GimpColorArea.html#GimpColorArea-color-changed">color-changed</a>"                                  : Run First
 
123
</pre>
 
124
</div>
 
125
<div class="refsect1" lang="en">
 
126
<a name="id2509631"></a><h2>Description</h2>
106
127
<p>
107
128
 
108
129
</p>
109
130
</div>
110
131
<div class="refsect1" lang="en">
111
 
<a name="details"></a><h2>Details</h2>
 
132
<a name="id2594704"></a><h2>Details</h2>
112
133
<div class="refsect2" lang="en">
113
 
<a name="id2523362"></a><h3>
 
134
<a name="id2594715"></a><h3>
114
135
<a name="GimpColorArea-struct"></a>GimpColorArea</h3>
115
 
<a class="indexterm" name="id2523373"></a><pre class="programlisting">typedef struct _GimpColorArea GimpColorArea;</pre>
 
136
<a class="indexterm" name="id2594727"></a><pre class="programlisting">typedef struct _GimpColorArea GimpColorArea;</pre>
116
137
<p>
117
138
 
118
139
</p>
119
140
</div>
120
141
<hr>
121
142
<div class="refsect2" lang="en">
122
 
<a name="id2523389"></a><h3>
 
143
<a name="id2594743"></a><h3>
123
144
<a name="GimpColorAreaType"></a>enum GimpColorAreaType</h3>
124
 
<a class="indexterm" name="id2541548"></a><pre class="programlisting">typedef enum
 
145
<a class="indexterm" name="id2594755"></a><pre class="programlisting">typedef enum
125
146
{
126
147
  GIMP_COLOR_AREA_FLAT = 0,
127
148
  GIMP_COLOR_AREA_SMALL_CHECKS,
134
155
</div>
135
156
<hr>
136
157
<div class="refsect2" lang="en">
137
 
<a name="id2541565"></a><h3>
 
158
<a name="id2594773"></a><h3>
138
159
<a name="gimp-color-area-new"></a>gimp_color_area_new ()</h3>
139
 
<a class="indexterm" name="id2541578"></a><pre class="programlisting">GtkWidget*  gimp_color_area_new             (const <a
 
160
<a class="indexterm" name="id2594785"></a><pre class="programlisting">GtkWidget*          gimp_color_area_new                 (const <a
140
161
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
141
162
>GimpRGB</a> *color,
142
 
                                             <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
143
 
                                             GdkModifierType drag_mask);</pre>
 
163
                                                         <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
 
164
                                                         GdkModifierType drag_mask);</pre>
144
165
<p>
145
166
Creates a new <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a> widget.
146
167
</p>
154
175
<col align="left" valign="top">
155
176
<tbody>
156
177
<tr>
157
 
<td>
158
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
178
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
159
179
<td>     A pointer to a <a
160
180
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
161
181
><span class="type">GimpRGB</span></a> struct.
162
182
</td>
163
183
</tr>
164
184
<tr>
165
 
<td>
166
 
<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
 
185
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
167
186
<td>      The type of color area to create.
168
187
</td>
169
188
</tr>
170
189
<tr>
171
 
<td>
172
 
<span class="term"><em class="parameter"><code>drag_mask</code></em>&#160;:</span></td>
 
190
<td><span class="term"><em class="parameter"><code>drag_mask</code></em>&#160;:</span></td>
173
191
<td> The event_mask that should trigger drags.
174
192
</td>
175
193
</tr>
176
194
<tr>
177
 
<td>
178
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
195
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
179
196
<td> Pointer to the new <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a> widget.
180
197
</td>
181
198
</tr>
184
201
</div>
185
202
<hr>
186
203
<div class="refsect2" lang="en">
187
 
<a name="id2541706"></a><h3>
 
204
<a name="id2594915"></a><h3>
188
205
<a name="gimp-color-area-set-color"></a>gimp_color_area_set_color ()</h3>
189
 
<a class="indexterm" name="id2541717"></a><pre class="programlisting">void        gimp_color_area_set_color       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
190
 
                                             const <a
 
206
<a class="indexterm" name="id2594926"></a><pre class="programlisting">void                gimp_color_area_set_color           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
207
                                                         const <a
191
208
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
192
209
>GimpRGB</a> *color);</pre>
193
210
<p>
199
216
<col align="left" valign="top">
200
217
<tbody>
201
218
<tr>
202
 
<td>
203
 
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
 
219
<td><span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
204
220
<td> Pointer to a <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a>.
205
221
</td>
206
222
</tr>
207
223
<tr>
208
 
<td>
209
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
224
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
210
225
<td> Pointer to a <a
211
226
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
212
227
><span class="type">GimpRGB</span></a> struct that defines the new color.
217
232
</div>
218
233
<hr>
219
234
<div class="refsect2" lang="en">
220
 
<a name="id2527379"></a><h3>
 
235
<a name="id2567966"></a><h3>
221
236
<a name="gimp-color-area-get-color"></a>gimp_color_area_get_color ()</h3>
222
 
<a class="indexterm" name="id2527390"></a><pre class="programlisting">void        gimp_color_area_get_color       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
223
 
                                             <a
 
237
<a class="indexterm" name="id2567978"></a><pre class="programlisting">void                gimp_color_area_get_color           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
238
                                                         <a
224
239
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
225
240
>GimpRGB</a> *color);</pre>
226
241
<p>
232
247
<col align="left" valign="top">
233
248
<tbody>
234
249
<tr>
235
 
<td>
236
 
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
 
250
<td><span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
237
251
<td> Pointer to a <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a>.
238
252
</td>
239
253
</tr>
240
254
<tr>
241
 
<td>
242
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
255
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
243
256
<td> Pointer to a <a
244
257
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
245
258
><span class="type">GimpRGB</span></a> struct that is used to return the color.
250
263
</div>
251
264
<hr>
252
265
<div class="refsect2" lang="en">
253
 
<a name="id2527482"></a><h3>
 
266
<a name="id2568069"></a><h3>
254
267
<a name="gimp-color-area-has-alpha"></a>gimp_color_area_has_alpha ()</h3>
255
 
<a class="indexterm" name="id2527493"></a><pre class="programlisting">gboolean    gimp_color_area_has_alpha       (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);</pre>
 
268
<a class="indexterm" name="id2568080"></a><pre class="programlisting">gboolean            gimp_color_area_has_alpha           (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);</pre>
256
269
<p>
257
270
Checks whether the <em class="parameter"><code>area</code></em> shows transparency information. This is determined
258
271
via the <em class="parameter"><code>area</code></em>'s <a href="GimpColorArea.html#GimpColorAreaType"><span class="type">GimpColorAreaType</span></a>.</p>
263
276
<col align="left" valign="top">
264
277
<tbody>
265
278
<tr>
266
 
<td>
267
 
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
 
279
<td><span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
268
280
<td> Pointer to a <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a>.
269
281
</td>
270
282
</tr>
271
283
<tr>
272
 
<td>
273
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
284
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
274
285
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>area</code></em> shows transparency information, <code class="literal">FALSE</code> otherwise.
275
286
</td>
276
287
</tr>
279
290
</div>
280
291
<hr>
281
292
<div class="refsect2" lang="en">
282
 
<a name="id2527606"></a><h3>
 
293
<a name="id2601492"></a><h3>
283
294
<a name="gimp-color-area-set-type"></a>gimp_color_area_set_type ()</h3>
284
 
<a class="indexterm" name="id2527617"></a><pre class="programlisting">void        gimp_color_area_set_type        (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
285
 
                                             <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);</pre>
 
295
<a class="indexterm" name="id2601503"></a><pre class="programlisting">void                gimp_color_area_set_type            (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
296
                                                         <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);</pre>
286
297
<p>
287
298
Allows to change the type of <em class="parameter"><code>area</code></em>. The <a href="GimpColorArea.html#GimpColorAreaType"><span class="type">GimpColorAreaType</span></a> determines
288
299
whether the widget shows transparency information and chooses the size of
294
305
<col align="left" valign="top">
295
306
<tbody>
296
307
<tr>
297
 
<td>
298
 
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
 
308
<td><span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
299
309
<td> Pointer to a <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a>.
300
310
</td>
301
311
</tr>
302
312
<tr>
303
 
<td>
304
 
<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
 
313
<td><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
305
314
<td> A <a href="GimpColorArea.html#GimpColorAreaType"><span class="type">GimpColorAreaType</span></a>.
306
315
</td>
307
316
</tr>
310
319
</div>
311
320
<hr>
312
321
<div class="refsect2" lang="en">
313
 
<a name="id2566575"></a><h3>
 
322
<a name="id2601593"></a><h3>
314
323
<a name="gimp-color-area-set-draw-border"></a>gimp_color_area_set_draw_border ()</h3>
315
 
<a class="indexterm" name="id2566588"></a><pre class="programlisting">void        gimp_color_area_set_draw_border (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
316
 
                                             gboolean draw_border);</pre>
 
324
<a class="indexterm" name="id2601606"></a><pre class="programlisting">void                gimp_color_area_set_draw_border     (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
 
325
                                                         gboolean draw_border);</pre>
317
326
<p>
318
327
The <em class="parameter"><code>area</code></em> can draw a thin border in the foreground color around
319
328
itself.  This function allows to toggle this behaviour on and
325
334
<col align="left" valign="top">
326
335
<tbody>
327
336
<tr>
328
 
<td>
329
 
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
 
337
<td><span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
330
338
<td> Pointer to a <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a>.
331
339
</td>
332
340
</tr>
333
341
<tr>
334
 
<td>
335
 
<span class="term"><em class="parameter"><code>draw_border</code></em>&#160;:</span></td>
 
342
<td><span class="term"><em class="parameter"><code>draw_border</code></em>&#160;:</span></td>
336
343
<td> whether to draw a border or not
337
344
</td>
338
345
</tr>
341
348
</div>
342
349
</div>
343
350
<div class="refsect1" lang="en">
344
 
<a name="signals"></a><h2>Signal Details</h2>
345
 
<div class="refsect2" lang="en">
346
 
<a name="id2566686"></a><h3>
 
351
<a name="id2601695"></a><h2>Property Details</h2>
 
352
<div class="refsect2" lang="en">
 
353
<a name="id2601706"></a><h3>
 
354
<a name="GimpColorArea--color"></a>The "<code class="literal">color</code>" property</h3>
 
355
<a class="indexterm" name="id2601720"></a><pre class="programlisting">  "color"                    <a
 
356
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
357
>GimpRGB</a>               : Read / Write / Construct</pre>
 
358
<p>
 
359
The color displayed in the color area.</p>
 
360
<p>
 
361
 
 
362
</p>
 
363
<p>Since  GIMP 2.4
 
364
</p>
 
365
</div>
 
366
<hr>
 
367
<div class="refsect2" lang="en">
 
368
<a name="id2601753"></a><h3>
 
369
<a name="GimpColorArea--drag-mask"></a>The "<code class="literal">drag-mask</code>" property</h3>
 
370
<a class="indexterm" name="id2601767"></a><pre class="programlisting">  "drag-mask"                GdkModifierType       : Write / Construct Only</pre>
 
371
<p></p>
 
372
</div>
 
373
<hr>
 
374
<div class="refsect2" lang="en">
 
375
<a name="id2601788"></a><h3>
 
376
<a name="GimpColorArea--draw-border"></a>The "<code class="literal">draw-border</code>" property</h3>
 
377
<a class="indexterm" name="id2601802"></a><pre class="programlisting">  "draw-border"              gboolean              : Read / Write</pre>
 
378
<p>
 
379
Whether to draw a thin border in the foreground color around the area.</p>
 
380
<p>
 
381
 
 
382
</p>
 
383
<p>Default value: FALSE</p>
 
384
<p>Since  GIMP 2.4
 
385
</p>
 
386
</div>
 
387
<hr>
 
388
<div class="refsect2" lang="en">
 
389
<a name="id2601838"></a><h3>
 
390
<a name="GimpColorArea--type"></a>The "<code class="literal">type</code>" property</h3>
 
391
<a class="indexterm" name="id2601853"></a><pre class="programlisting">  "type"                     <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a>     : Read / Write / Construct</pre>
 
392
<p>
 
393
The type of the color area.</p>
 
394
<p>
 
395
 
 
396
</p>
 
397
<p>Default value: GIMP_COLOR_AREA_FLAT</p>
 
398
<p>Since  GIMP 2.4
 
399
</p>
 
400
</div>
 
401
</div>
 
402
<div class="refsect1" lang="en">
 
403
<a name="id2601891"></a><h2>Signal Details</h2>
 
404
<div class="refsect2" lang="en">
 
405
<a name="id2601902"></a><h3>
347
406
<a name="GimpColorArea-color-changed"></a>The "color-changed" signal</h3>
348
 
<a class="indexterm" name="id2566694"></a><pre class="programlisting">void        user_function                  (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
349
 
                                            gpointer       user_data)          : Run first</pre>
 
407
<a class="indexterm" name="id2601910"></a><pre class="programlisting">void                user_function                      (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
 
408
                                                        gpointer       user_data)          : Run First</pre>
350
409
<p>
351
410
 
352
411
</p>
354
413
<col align="left" valign="top">
355
414
<tbody>
356
415
<tr>
357
 
<td>
358
 
<span class="term"><em class="parameter"><code>gimpcolorarea</code></em>&#160;:</span></td>
 
416
<td><span class="term"><em class="parameter"><code>gimpcolorarea</code></em>&#160;:</span></td>
359
417
<td>the object which received the signal.
360
418
 
361
419
</td>
362
420
</tr>
363
421
<tr>
364
 
<td>
365
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
422
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
366
423
<td>user data set when the signal handler was connected.</td>
367
424
</tr>
368
425
</tbody>