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.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
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-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
26
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
28
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
29
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
37
23
<tr><td colspan="5" class="shortcuts">
38
24
<a href="#GimpColorHexEntry.synopsis" class="shortcut">Top</a>
40
<a href="#GimpColorHexEntry.description" class="shortcut">Description</a>
42
<a href="#GimpColorHexEntry.object-hierarchy" class="shortcut">Object Hierarchy</a>
44
<a href="#GimpColorHexEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
46
<a href="#GimpColorHexEntry.signals" class="shortcut">Signals</a>
26
<a href="#GimpColorHexEntry.description" class="shortcut">Description</a>
28
<a href="#GimpColorHexEntry.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#GimpColorHexEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
<a href="#GimpColorHexEntry.signals" class="shortcut">Signals</a>
49
35
<div class="refentry" title="GimpColorHexEntry">
57
43
</tr></table></div>
58
44
<div class="refsynopsisdiv" title="Synopsis">
59
45
<a name="GimpColorHexEntry.synopsis"></a><h2>Synopsis</h2>
60
<pre class="synopsis">
61
<a class="link" href="GimpColorHexEntry.html#GimpColorHexEntry-struct" title="GimpColorHexEntry">GimpColorHexEntry</a>;
63
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
64
>GtkWidget</a> * <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-new" title="gimp_color_hex_entry_new ()">gimp_color_hex_entry_new</a> (void);
65
void <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color" title="gimp_color_hex_entry_set_color ()">gimp_color_hex_entry_set_color</a> (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
67
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
69
void <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-get-color" title="gimp_color_hex_entry_get_color ()">gimp_color_hex_entry_get_color</a> (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
71
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
46
<pre class="synopsis"> <a class="link" href="GimpColorHexEntry.html#GimpColorHexEntry-struct" title="GimpColorHexEntry">GimpColorHexEntry</a>;
47
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-new" title="gimp_color_hex_entry_new ()">gimp_color_hex_entry_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color" title="gimp_color_hex_entry_set_color ()">gimp_color_hex_entry_set_color</a> (<em class="parameter"><code><a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> *entry</code></em>,
49
<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
50
<span class="returnvalue">void</span> <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-get-color" title="gimp_color_hex_entry_get_color ()">gimp_color_hex_entry_get_color</a> (<em class="parameter"><code><a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> *entry</code></em>,
51
<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
75
54
<div class="refsect1" title="Object Hierarchy">
76
55
<a name="GimpColorHexEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
77
56
<pre class="synopsis">
79
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
82
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
83
>GInitiallyUnowned</a>
85
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
88
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
91
href="http://library.gnome.org/devel/gtk/unstable/GtkEntry.html"
57
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
58
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
59
+----<a href="/usr/share/gtk-doc/html/gtk/GtkObject.html">GtkObject</a>
60
+----<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html">GtkWidget</a>
61
+----<a href="/usr/share/gtk-doc/html/gtk/GtkEntry.html">GtkEntry</a>
93
62
+----GimpColorHexEntry
97
66
<a name="GimpColorHexEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
99
68
GimpColorHexEntry implements
101
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
102
>GtkBuildable</a>, AtkImplementorIface, <a
103
href="http://library.gnome.org/devel/gtk/unstable/GtkEditable.html"
104
>GtkEditable</a> and <a
105
href="http://library.gnome.org/devel/gtk/unstable/GtkCellEditable.html"
106
>GtkCellEditable</a>.</p>
69
AtkImplementorIface, <a href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>, <a href="/usr/share/gtk-doc/html/gtk/GtkEditable.html">GtkEditable</a> and <a href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html">GtkCellEditable</a>.</p>
108
71
<div class="refsect1" title="Signals">
109
72
<a name="GimpColorHexEntry.signals"></a><h2>Signals</h2>
129
92
<div class="refsect2" title="gimp_color_hex_entry_new ()">
130
93
<a name="gimp-color-hex-entry-new"></a><h3>gimp_color_hex_entry_new ()</h3>
131
<pre class="programlisting"><a
132
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
133
>GtkWidget</a> * gimp_color_hex_entry_new (void);</pre>
94
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gimp_color_hex_entry_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
138
95
<div class="variablelist"><table border="0">
139
96
<col align="left" valign="top">
150
107
<div class="refsect2" title="gimp_color_hex_entry_set_color ()">
151
108
<a name="gimp-color-hex-entry-set-color"></a><h3>gimp_color_hex_entry_set_color ()</h3>
152
<pre class="programlisting">void gimp_color_hex_entry_set_color (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
154
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
155
>GimpRGB</a> *color);</pre>
109
<pre class="programlisting"><span class="returnvalue">void</span> gimp_color_hex_entry_set_color (<em class="parameter"><code><a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> *entry</code></em>,
110
<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
157
112
Sets the color displayed by a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a>. If the new color
158
113
is different to the previously set color, the "color-changed"
159
signal is emitted.</p>
162
116
<div class="variablelist"><table border="0">
163
117
<col align="left" valign="top">
166
120
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
167
<td> a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
121
<td>a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
171
125
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
173
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
174
><span class="type">GimpRGB</span></a>
126
<td>pointer to a <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a>
182
134
<div class="refsect2" title="gimp_color_hex_entry_get_color ()">
183
135
<a name="gimp-color-hex-entry-get-color"></a><h3>gimp_color_hex_entry_get_color ()</h3>
184
<pre class="programlisting">void gimp_color_hex_entry_get_color (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
186
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
187
>GimpRGB</a> *color);</pre>
189
Retrieves the color value displayed by a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a>.</p>
136
<pre class="programlisting"><span class="returnvalue">void</span> gimp_color_hex_entry_get_color (<em class="parameter"><code><a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> *entry</code></em>,
137
<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
139
Retrieves the color value displayed by a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a>.
192
141
<div class="variablelist"><table border="0">
193
142
<col align="left" valign="top">
196
145
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
197
<td> a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
146
<td>a <a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
201
150
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
203
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
204
><span class="type">GimpRGB</span></a>
151
<td>pointer to a <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a>
213
160
<a name="GimpColorHexEntry.signal-details"></a><h2>Signal Details</h2>
214
161
<div class="refsect2" title='The "color-changed" signal'>
215
162
<a name="GimpColorHexEntry-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
216
<pre class="programlisting">void user_function (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
218
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
219
>gpointer</a> user_data) : Run First</pre>
163
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> *gimpcolorhexentry,
164
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
222
167
<div class="variablelist"><table border="0">