4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpColorHexEntry</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 I. GIMP Widgets">
9
9
<link rel="prev" href="GimpColorButton.html" title="GimpColorButton">
10
10
<link rel="next" href="GimpColorScale.html" title="GimpColorScale">
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 I. 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 II. GIMP Display Filters">
17
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
18
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
19
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
20
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. 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">
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="GimpColorScale.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
33
<a href="#desc" class="shortcut">Description</a>
35
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
37
<a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2559578" class="shortcut">Top</a>
38
<a href="#id2596076" class="shortcut">Description</a>
40
<a href="#id2555900" class="shortcut">Object Hierarchy</a>
42
<a href="#id2555949" class="shortcut">Implemented Interfaces</a>
44
<a href="#id2555982" class="shortcut">Signals</a></nobr></td></tr>
39
46
<div class="refentry" lang="en">
40
47
<a name="GimpColorHexEntry"></a><div class="titlepage"></div>
41
48
<div class="refnamediv"><table width="100%"><tr>
43
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpColorHexEntry</span></h2>
51
<a name="id2559578"></a><span class="refentrytitle">GimpColorHexEntry</span>
44
53
<p>GimpColorHexEntry — Widget for entering a color's hex triplet.</p>
46
<td valign="top" align="right"></td>
55
<td valign="top" align="right"><img src="gimp-color-hex-entry.png"></td>
47
56
</tr></table></div>
48
57
<div class="refsynopsisdiv">
49
<a name="synopsis"></a><h2>Synopsis</h2>
50
59
<pre class="synopsis">
54
<a href="GimpColorHexEntry.html#GimpColorHexEntry-struct">GimpColorHexEntry</a>;
55
GtkWidget* <a href="GimpColorHexEntry.html#gimp-color-hex-entry-new">gimp_color_hex_entry_new</a> (void);
56
void <a href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color">gimp_color_hex_entry_set_color</a> (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
63
<a href="GimpColorHexEntry.html#GimpColorHexEntry-struct">GimpColorHexEntry</a>;
64
GtkWidget* <a href="GimpColorHexEntry.html#gimp-color-hex-entry-new">gimp_color_hex_entry_new</a> (void);
65
void <a href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color">gimp_color_hex_entry_set_color</a> (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
58
67
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
59
68
>GimpRGB</a> *color);
60
void <a href="GimpColorHexEntry.html#gimp-color-hex-entry-get-color">gimp_color_hex_entry_get_color</a> (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
69
void <a href="GimpColorHexEntry.html#gimp-color-hex-entry-get-color">gimp_color_hex_entry_get_color</a> (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
62
71
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
63
72
>GimpRGB</a> *color);
67
76
<div class="refsect1" lang="en">
68
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
77
<a name="id2555900"></a><h2>Object Hierarchy</h2>
69
78
<pre class="synopsis">
79
88
<div class="refsect1" lang="en">
80
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
89
<a name="id2555949"></a><h2>Implemented Interfaces</h2>
82
91
GimpColorHexEntry implements
83
92
AtkImplementorIface, GtkEditable and GtkCellEditable.</p>
85
94
<div class="refsect1" lang="en">
86
<a name="signal_proto"></a><h2>Signals</h2>
95
<a name="id2555982"></a><h2>Signals</h2>
87
96
<pre class="synopsis">
89
"<a href="GimpColorHexEntry.html#GimpColorHexEntry-color-changed">color-changed</a>"
90
void user_function (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
91
gpointer user_data) : Run first
98
"<a href="GimpColorHexEntry.html#GimpColorHexEntry-color-changed">color-changed</a>" : Run First
94
101
<div class="refsect1" lang="en">
95
<a name="desc"></a><h2>Description</h2>
102
<a name="id2596076"></a><h2>Description</h2>
97
104
Widget for entering a color's hex triplet.
100
107
<div class="refsect1" lang="en">
101
<a name="details"></a><h2>Details</h2>
108
<a name="id2596092"></a><h2>Details</h2>
102
109
<div class="refsect2" lang="en">
103
<a name="id2557098"></a><h3>
110
<a name="id2596103"></a><h3>
104
111
<a name="GimpColorHexEntry-struct"></a>GimpColorHexEntry</h3>
105
<a class="indexterm" name="id2557110"></a><pre class="programlisting">typedef struct _GimpColorHexEntry GimpColorHexEntry;</pre>
112
<a class="indexterm" name="id2596114"></a><pre class="programlisting">typedef struct _GimpColorHexEntry GimpColorHexEntry;</pre>
111
118
<div class="refsect2" lang="en">
112
<a name="id2557126"></a><h3>
119
<a name="id2596131"></a><h3>
113
120
<a name="gimp-color-hex-entry-new"></a>gimp_color_hex_entry_new ()</h3>
114
<a class="indexterm" name="id2557139"></a><pre class="programlisting">GtkWidget* gimp_color_hex_entry_new (void);</pre>
121
<a class="indexterm" name="id2596144"></a><pre class="programlisting">GtkWidget* gimp_color_hex_entry_new (void);</pre>
120
127
<div class="variablelist"><table border="0">
121
128
<col align="left" valign="top">
124
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
130
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
125
131
<td> a new <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
136
<p class="since">Since GIMP 2.2
134
140
<div class="refsect2" lang="en">
135
<a name="id2557190"></a><h3>
141
<a name="id2596199"></a><h3>
136
142
<a name="gimp-color-hex-entry-set-color"></a>gimp_color_hex_entry_set_color ()</h3>
137
<a class="indexterm" name="id2557204"></a><pre class="programlisting">void gimp_color_hex_entry_set_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
143
<a class="indexterm" name="id2596212"></a><pre class="programlisting">void gimp_color_hex_entry_set_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
139
145
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
140
146
>GimpRGB</a> *color);</pre>
142
148
Sets the color displayed by a <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a>. If the new color
143
is different to the previously set color, the "color_changed"
149
is different to the previously set color, the "color-changed"
144
150
signal is emitted.</p>
149
155
<col align="left" valign="top">
153
<span class="term"><em class="parameter"><code>entry</code></em> :</span></td>
158
<td><span class="term"><em class="parameter"><code>entry</code></em> :</span></td>
154
159
<td> a <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
159
<span class="term"><em class="parameter"><code>color</code></em> :</span></td>
163
<td><span class="term"><em class="parameter"><code>color</code></em> :</span></td>
160
164
<td> pointer to a <a
161
165
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
162
166
><span class="type">GimpRGB</span></a>
171
<p class="since">Since GIMP 2.2
171
175
<div class="refsect2" lang="en">
172
<a name="id2534780"></a><h3>
176
<a name="id2559150"></a><h3>
173
177
<a name="gimp-color-hex-entry-get-color"></a>gimp_color_hex_entry_get_color ()</h3>
174
<a class="indexterm" name="id2534795"></a><pre class="programlisting">void gimp_color_hex_entry_get_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
178
<a class="indexterm" name="id2559165"></a><pre class="programlisting">void gimp_color_hex_entry_get_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
176
180
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
177
181
>GimpRGB</a> *color);</pre>
184
188
<col align="left" valign="top">
188
<span class="term"><em class="parameter"><code>entry</code></em> :</span></td>
191
<td><span class="term"><em class="parameter"><code>entry</code></em> :</span></td>
189
192
<td> a <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
194
<span class="term"><em class="parameter"><code>color</code></em> :</span></td>
196
<td><span class="term"><em class="parameter"><code>color</code></em> :</span></td>
195
197
<td> pointer to a <a
196
198
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
197
199
><span class="type">GimpRGB</span></a>
204
<p class="since">Since GIMP 2.2
206
208
<div class="refsect1" lang="en">
207
<a name="signals"></a><h2>Signal Details</h2>
209
<a name="id2559267"></a><h2>Signal Details</h2>
208
210
<div class="refsect2" lang="en">
209
<a name="id2564867"></a><h3>
211
<a name="id2576555"></a><h3>
210
212
<a name="GimpColorHexEntry-color-changed"></a>The "color-changed" signal</h3>
211
<a class="indexterm" name="id2564876"></a><pre class="programlisting">void user_function (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
212
gpointer user_data) : Run first</pre>
213
<a class="indexterm" name="id2576565"></a><pre class="programlisting">void user_function (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
214
gpointer user_data) : Run First</pre>
217
219
<col align="left" valign="top">
221
<span class="term"><em class="parameter"><code>gimpcolorhexentry</code></em> :</span></td>
222
<td><span class="term"><em class="parameter"><code>gimpcolorhexentry</code></em> :</span></td>
222
223
<td>the object which received the signal.
228
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
228
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
229
229
<td>user data set when the signal handler was connected.</td>