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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpColorHexEntry.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070502163303-6wchheivjxgjtlna
Tags: upstream-2.3.16
ImportĀ upstreamĀ versionĀ 2.3.16

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>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&#160;I.&#160;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&#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="GimpColorScale.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="#id2559578" class="shortcut">Top</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2596076" class="shortcut">Description</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2555900" class="shortcut">Object Hierarchy</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2555949" class="shortcut">Implemented Interfaces</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id2555982" class="shortcut">Signals</a></nobr></td></tr>
38
45
</table>
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>
42
49
<td valign="top">
43
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpColorHexEntry</span></h2>
 
50
<h2>
 
51
<a name="id2559578"></a><span class="refentrytitle">GimpColorHexEntry</span>
 
52
</h2>
44
53
<p>GimpColorHexEntry &#8212; Widget for entering a color's hex triplet.</p>
45
54
</td>
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>
 
58
<h2>Synopsis</h2>
50
59
<pre class="synopsis">
51
60
 
52
61
 
53
62
 
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,
57
 
                                             const <a
 
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,
 
66
                                                         const <a
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,
61
 
                                             <a
 
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,
 
70
                                                         <a
62
71
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
63
72
>GimpRGB</a> *color);
64
73
 
65
74
</pre>
66
75
</div>
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">
70
79
 
71
80
  GObject
77
86
</pre>
78
87
</div>
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>
81
90
<p>
82
91
GimpColorHexEntry implements
83
92
 AtkImplementorIface,  GtkEditable and  GtkCellEditable.</p>
84
93
</div>
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">
88
97
 
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
92
99
</pre>
93
100
</div>
94
101
<div class="refsect1" lang="en">
95
 
<a name="desc"></a><h2>Description</h2>
 
102
<a name="id2596076"></a><h2>Description</h2>
96
103
<p>
97
104
Widget for entering a color's hex triplet.
98
105
</p>
99
106
</div>
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>
106
113
<p>
107
114
 
108
115
</p>
109
116
</div>
110
117
<hr>
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>
115
122
<p>
116
123
</p>
117
124
<p>
120
127
<div class="variablelist"><table border="0">
121
128
<col align="left" valign="top">
122
129
<tbody><tr>
123
 
<td>
124
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
130
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
125
131
<td> a new <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
126
132
 
127
133
</td>
128
134
</tr></tbody>
129
135
</table></div>
130
 
<p>Since  GIMP 2.2
 
136
<p class="since">Since  GIMP 2.2
131
137
</p>
132
138
</div>
133
139
<hr>
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,
138
 
                                             const <a
 
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,
 
144
                                                         const <a
139
145
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
140
146
>GimpRGB</a> *color);</pre>
141
147
<p>
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>
145
151
<p>
146
152
 
149
155
<col align="left" valign="top">
150
156
<tbody>
151
157
<tr>
152
 
<td>
153
 
<span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
 
158
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
154
159
<td> a <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
155
160
</td>
156
161
</tr>
157
162
<tr>
158
 
<td>
159
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
163
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</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>
164
168
</tr>
165
169
</tbody>
166
170
</table></div>
167
 
<p>Since  GIMP 2.2
 
171
<p class="since">Since  GIMP 2.2
168
172
</p>
169
173
</div>
170
174
<hr>
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,
175
 
                                             <a
 
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,
 
179
                                                         <a
176
180
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
177
181
>GimpRGB</a> *color);</pre>
178
182
<p>
184
188
<col align="left" valign="top">
185
189
<tbody>
186
190
<tr>
187
 
<td>
188
 
<span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
 
191
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
189
192
<td> a <a href="GimpColorHexEntry.html" title="GimpColorHexEntry"><span class="type">GimpColorHexEntry</span></a> widget
190
193
</td>
191
194
</tr>
192
195
<tr>
193
 
<td>
194
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
196
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</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>
199
201
</tr>
200
202
</tbody>
201
203
</table></div>
202
 
<p>Since  GIMP 2.2
 
204
<p class="since">Since  GIMP 2.2
203
205
</p>
204
206
</div>
205
207
</div>
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>
213
215
<p>
214
216
 
215
217
</p>
217
219
<col align="left" valign="top">
218
220
<tbody>
219
221
<tr>
220
 
<td>
221
 
<span class="term"><em class="parameter"><code>gimpcolorhexentry</code></em>&#160;:</span></td>
 
222
<td><span class="term"><em class="parameter"><code>gimpcolorhexentry</code></em>&#160;:</span></td>
222
223
<td>the object which received the signal.
223
224
 
224
225
</td>
225
226
</tr>
226
227
<tr>
227
 
<td>
228
 
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
228
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
229
229
<td>user data set when the signal handler was connected.</td>
230
230
</tr>
231
231
</tbody>