4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpColorSelection</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpColorScale.html" title="GimpColorScale">
10
10
<link rel="next" href="GimpColorProfileStore.html" title="GimpColorProfileStore">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
34
34
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
35
35
<td><a accesskey="n" href="GimpColorProfileStore.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
37
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpColorSelection.synopsis" class="shortcut">Top</a>
39
<a href="#GimpColorSelection.description" class="shortcut">Description</a>
41
<a href="#GimpColorSelection.object-hierarchy" class="shortcut">Object Hierarchy</a>
43
<a href="#GimpColorSelection.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
45
<a href="#GimpColorSelection.properties" class="shortcut">Properties</a>
47
<a href="#GimpColorSelection.signals" class="shortcut">Signals</a></nobr></td></tr>
37
<tr><td colspan="5" class="shortcuts">
38
<a href="#GimpColorSelection.synopsis" class="shortcut">Top</a>
40
<a href="#GimpColorSelection.description" class="shortcut">Description</a>
42
<a href="#GimpColorSelection.object-hierarchy" class="shortcut">Object Hierarchy</a>
44
<a href="#GimpColorSelection.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
46
<a href="#GimpColorSelection.properties" class="shortcut">Properties</a>
48
<a href="#GimpColorSelection.signals" class="shortcut">Signals</a>
49
<div class="refentry" lang="en">
51
<div class="refentry" title="GimpColorSelection">
50
52
<a name="GimpColorSelection"></a><div class="titlepage"></div>
51
53
<div class="refnamediv"><table width="100%"><tr>
56
58
<td valign="top" align="right"><img src="gimp-color-selection.png"></td>
57
59
</tr></table></div>
58
<div class="refsynopsisdiv">
60
<div class="refsynopsisdiv" title="Synopsis">
59
61
<a name="GimpColorSelection.synopsis"></a><h2>Synopsis</h2>
60
62
<pre class="synopsis">
61
63
<a class="link" href="GimpColorSelection.html#GimpColorSelection-struct" title="GimpColorSelection">GimpColorSelection</a>;
63
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
64
>GtkWidget</a>* <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
65
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
66
>GtkWidget</a> * <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
65
67
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-show-alpha" title="gimp_color_selection_set_show_alpha ()">gimp_color_selection_set_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
67
69
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
103
105
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
104
106
>GInitiallyUnowned</a>
106
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
108
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
109
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
111
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
112
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
114
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
113
115
>GtkContainer</a>
115
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
117
href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html"
118
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
120
href="http://library.gnome.org/devel/gtk/unstable/GtkVBox.html"
120
122
+----GimpColorSelection
123
<div class="refsect1" lang="en">
125
<div class="refsect1" title="Implemented Interfaces">
124
126
<a name="GimpColorSelection.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
126
128
GimpColorSelection implements
127
AtkImplementorIface and <a
128
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
129
>GtkBuildable</a>.</p>
130
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
131
>GtkBuildable</a>, AtkImplementorIface and <a
132
href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable"
133
>GtkOrientable</a>.</p>
131
<div class="refsect1" lang="en">
135
<div class="refsect1" title="Properties">
132
136
<a name="GimpColorSelection.properties"></a><h2>Properties</h2>
133
137
<pre class="synopsis">
134
138
"<a class="link" href="GimpColorSelection.html#GimpColorSelection--config" title='The "config" property'>config</a>" <a
136
140
>GimpColorConfig</a>* : Write
139
<div class="refsect1" lang="en">
143
<div class="refsect1" title="Signals">
140
144
<a name="GimpColorSelection.signals"></a><h2>Signals</h2>
141
145
<pre class="synopsis">
142
146
"<a class="link" href="GimpColorSelection.html#GimpColorSelection-color-changed" title='The "color-changed" signal'>color-changed</a>" : Run First
145
<div class="refsect1" lang="en">
149
<div class="refsect1" title="Description">
146
150
<a name="GimpColorSelection.description"></a><h2>Description</h2>
151
<div class="refsect1" lang="en">
154
<div class="refsect1" title="Details">
152
155
<a name="GimpColorSelection.details"></a><h2>Details</h2>
153
<div class="refsect2" lang="en">
156
<div class="refsect2" title="GimpColorSelection">
154
157
<a name="GimpColorSelection-struct"></a><h3>GimpColorSelection</h3>
155
158
<pre class="programlisting">typedef struct _GimpColorSelection GimpColorSelection;</pre>
161
<div class="refsect2" lang="en">
163
<div class="refsect2" title="gimp_color_selection_new ()">
162
164
<a name="gimp-color-selection-new"></a><h3>gimp_color_selection_new ()</h3>
163
165
<pre class="programlisting"><a
164
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
165
>GtkWidget</a>* gimp_color_selection_new (void);</pre>
166
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
167
>GtkWidget</a> * gimp_color_selection_new (void);</pre>
167
169
Creates a new <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> widget.</p>
171
172
<div class="variablelist"><table border="0">
172
173
<col align="left" valign="top">
181
<div class="refsect2" lang="en">
182
<div class="refsect2" title="gimp_color_selection_set_show_alpha ()">
182
183
<a name="gimp-color-selection-set-show-alpha"></a><h3>gimp_color_selection_set_show_alpha ()</h3>
183
184
<pre class="programlisting">void gimp_color_selection_set_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
209
<div class="refsect2" lang="en">
209
<div class="refsect2" title="gimp_color_selection_get_show_alpha ()">
210
210
<a name="gimp-color-selection-get-show-alpha"></a><h3>gimp_color_selection_get_show_alpha ()</h3>
211
211
<pre class="programlisting"><a
212
212
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
228
227
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
230
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"
229
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
231
230
><span class="type">TRUE</span></a> if the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> has alpha controls.
238
<div class="refsect2" lang="en">
237
<div class="refsect2" title="gimp_color_selection_set_color ()">
239
238
<a name="gimp-color-selection-set-color"></a><h3>gimp_color_selection_set_color ()</h3>
240
239
<pre class="programlisting">void gimp_color_selection_set_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
266
<div class="refsect2" lang="en">
264
<div class="refsect2" title="gimp_color_selection_get_color ()">
267
265
<a name="gimp-color-selection-get-color"></a><h3>gimp_color_selection_get_color ()</h3>
268
266
<pre class="programlisting">void gimp_color_selection_get_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
294
<div class="refsect2" lang="en">
291
<div class="refsect2" title="gimp_color_selection_set_old_color ()">
295
292
<a name="gimp-color-selection-set-old-color"></a><h3>gimp_color_selection_set_old_color ()</h3>
296
293
<pre class="programlisting">void gimp_color_selection_set_old_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
322
<div class="refsect2" lang="en">
318
<div class="refsect2" title="gimp_color_selection_get_old_color ()">
323
319
<a name="gimp-color-selection-get-old-color"></a><h3>gimp_color_selection_get_old_color ()</h3>
324
320
<pre class="programlisting">void gimp_color_selection_get_old_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
350
<div class="refsect2" lang="en">
345
<div class="refsect2" title="gimp_color_selection_reset ()">
351
346
<a name="gimp-color-selection-reset"></a><h3>gimp_color_selection_reset ()</h3>
352
347
<pre class="programlisting">void gimp_color_selection_reset (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
354
349
Sets the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s current color to its old color.</p>
358
352
<div class="variablelist"><table border="0">
359
353
<col align="left" valign="top">
368
<div class="refsect2" lang="en">
362
<div class="refsect2" title="gimp_color_selection_color_changed ()">
369
363
<a name="gimp-color-selection-color-changed"></a><h3>gimp_color_selection_color_changed ()</h3>
370
364
<pre class="programlisting">void gimp_color_selection_color_changed (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
372
366
Emits the "color-changed" signal.</p>
376
369
<div class="variablelist"><table border="0">
377
370
<col align="left" valign="top">
386
<div class="refsect2" lang="en">
379
<div class="refsect2" title="gimp_color_selection_set_config ()">
387
380
<a name="gimp-color-selection-set-config"></a><h3>gimp_color_selection_set_config ()</h3>
388
381
<pre class="programlisting">void gimp_color_selection_set_config (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
412
<p class="since">Since GIMP 2.4
416
<div class="refsect1" lang="en">
404
<p class="since">Since GIMP 2.4</p>
407
<div class="refsect1" title="Property Details">
417
408
<a name="GimpColorSelection.property-details"></a><h2>Property Details</h2>
418
<div class="refsect2" lang="en">
409
<div class="refsect2" title='The "config" property'>
419
410
<a name="GimpColorSelection--config"></a><h3>The <code class="literal">"config"</code> property</h3>
420
411
<pre class="programlisting"> "config" <a
421
412
href="../libgimpconfig/GimpColorConfig.html"
426
<div class="refsect1" lang="en">
417
<div class="refsect1" title="Signal Details">
427
418
<a name="GimpColorSelection.signal-details"></a><h2>Signal Details</h2>
428
<div class="refsect2" lang="en">
419
<div class="refsect2" title='The "color-changed" signal'>
429
420
<a name="GimpColorSelection-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
430
421
<pre class="programlisting">void user_function (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *gimpcolorselection,
432
423
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
433
424
>gpointer</a> user_data) : Run First</pre>
437
427
<div class="variablelist"><table border="0">
438
428
<col align="left" valign="top">