58
58
<a name="GimpColorSelection.synopsis"></a><h2>Synopsis</h2>
59
59
<pre class="synopsis">
60
60
<a class="link" href="GimpColorSelection.html#GimpColorSelection-struct" title="GimpColorSelection">GimpColorSelection</a>;
62
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
63
>GtkWidget</a>* <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
61
GtkWidget* <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
64
62
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,
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
67
>gboolean</a> show_alpha);
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
70
>gboolean</a> <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-show-alpha" title="gimp_color_selection_get_show_alpha ()">gimp_color_selection_get_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
64
gboolean <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-show-alpha" title="gimp_color_selection_get_show_alpha ()">gimp_color_selection_get_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
71
65
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-color" title="gimp_color_selection_set_color ()">gimp_color_selection_set_color</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
73
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
67
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
74
68
>GimpRGB</a> *color);
75
69
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-color" title="gimp_color_selection_get_color ()">gimp_color_selection_get_color</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
77
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
71
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
78
72
>GimpRGB</a> *color);
79
73
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-old-color" title="gimp_color_selection_set_old_color ()">gimp_color_selection_set_old_color</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
81
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
75
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
82
76
>GimpRGB</a> *color);
83
77
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-old-color" title="gimp_color_selection_get_old_color ()">gimp_color_selection_get_old_color</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
85
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
79
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
86
80
>GimpRGB</a> *color);
87
81
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-reset" title="gimp_color_selection_reset ()">gimp_color_selection_reset</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
88
82
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-color-changed" title="gimp_color_selection_color_changed ()">gimp_color_selection_color_changed</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
89
83
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-config" title="gimp_color_selection_set_config ()">gimp_color_selection_set_config</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
91
href="/usr/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"
85
href="../libgimpconfig/GimpColorConfig.html"
92
86
>GimpColorConfig</a> *config);
95
89
<div class="refsect1" lang="en">
96
90
<a name="GimpColorSelection.object-hierarchy"></a><h2>Object Hierarchy</h2>
97
91
<pre class="synopsis">
99
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
102
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
103
>GInitiallyUnowned</a>
105
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
108
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
111
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
114
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
117
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
93
+----GInitiallyUnowned
119
99
+----GimpColorSelection
158
138
<div class="refsect2" lang="en">
159
139
<a name="gimp-color-selection-new"></a><h3>gimp_color_selection_new ()</h3>
160
<pre class="programlisting"><a
161
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
162
>GtkWidget</a>* gimp_color_selection_new (void);</pre>
140
<pre class="programlisting">GtkWidget* gimp_color_selection_new (void);</pre>
164
142
Creates a new <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> widget.</p>
178
156
<div class="refsect2" lang="en">
179
157
<a name="gimp-color-selection-set-show-alpha"></a><h3>gimp_color_selection_set_show_alpha ()</h3>
180
158
<pre class="programlisting">void gimp_color_selection_set_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
182
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
183
>gboolean</a> show_alpha);</pre>
159
gboolean show_alpha);</pre>
185
161
Sets the <em class="parameter"><code>show_alpha</code></em> property of the <em class="parameter"><code>selection</code></em> widget.</p>
206
182
<div class="refsect2" lang="en">
207
183
<a name="gimp-color-selection-get-show-alpha"></a><h3>gimp_color_selection_get_show_alpha ()</h3>
208
<pre class="programlisting"><a
209
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
210
>gboolean</a> gimp_color_selection_get_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
184
<pre class="programlisting">gboolean gimp_color_selection_get_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
212
186
Returns the <em class="parameter"><code>selection</code></em>'s <em class="parameter"><code>show_alpha</code></em> property.</p>
236
208
<a name="gimp-color-selection-set-color"></a><h3>gimp_color_selection_set_color ()</h3>
237
209
<pre class="programlisting">void gimp_color_selection_set_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
239
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
211
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
240
212
>GimpRGB</a> *color);</pre>
242
214
Sets the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s current color to the new <em class="parameter"><code>color</code></em>.</p>
264
236
<a name="gimp-color-selection-get-color"></a><h3>gimp_color_selection_get_color ()</h3>
265
237
<pre class="programlisting">void gimp_color_selection_get_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
267
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
239
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
268
240
>GimpRGB</a> *color);</pre>
270
242
This function returns the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s current color.</p>
292
264
<a name="gimp-color-selection-set-old-color"></a><h3>gimp_color_selection_set_old_color ()</h3>
293
265
<pre class="programlisting">void gimp_color_selection_set_old_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
295
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
267
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
296
268
>GimpRGB</a> *color);</pre>
298
270
Sets the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s old color.</p>
320
292
<a name="gimp-color-selection-get-old-color"></a><h3>gimp_color_selection_get_old_color ()</h3>
321
293
<pre class="programlisting">void gimp_color_selection_get_old_color (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
323
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
295
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
324
296
>GimpRGB</a> *color);</pre>
326
298
This function returns the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s old color.</p>
384
356
<a name="gimp-color-selection-set-config"></a><h3>gimp_color_selection_set_config ()</h3>
385
357
<pre class="programlisting">void gimp_color_selection_set_config (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
387
href="/usr/share/gtk-doc/html/libgimpconfig/GimpColorConfig.html"
359
href="../libgimpconfig/GimpColorConfig.html"
388
360
>GimpColorConfig</a> *config);</pre>
390
362
Sets the color management configuration to use with this color selection.</p>