4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GimpPickButton</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="GimpPathEditor.html" title="GimpPathEditor">
10
10
<link rel="next" href="GimpPixmap.html" title="GimpPixmap">
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="GimpPixmap.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="#id2577526" class="shortcut">Top</a>
38
<a href="#id2612921" class="shortcut">Description</a>
40
<a href="#id2589842" class="shortcut">Object Hierarchy</a>
42
<a href="#id2575350" class="shortcut">Implemented Interfaces</a>
44
<a href="#id2612896" class="shortcut">Signals</a></nobr></td></tr>
39
46
<div class="refentry" lang="en">
40
47
<a name="GimpPickButton"></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>GimpPickButton</span></h2>
51
<a name="id2577526"></a><span class="refentrytitle">GimpPickButton</span>
44
53
<p>GimpPickButton — Widget to pick a color from screen.</p>
46
<td valign="top" align="right"></td>
55
<td valign="top" align="right"><img src="gimp-pick-button.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="GimpPickButton.html#GimpPickButton-struct">GimpPickButton</a>;
55
GtkWidget* <a href="GimpPickButton.html#gimp-pick-button-new">gimp_pick_button_new</a> (void);
63
<a href="GimpPickButton.html#GimpPickButton-struct">GimpPickButton</a>;
64
GtkWidget* <a href="GimpPickButton.html#gimp-pick-button-new">gimp_pick_button_new</a> (void);
59
68
<div class="refsect1" lang="en">
60
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
69
<a name="id2589842"></a><h2>Object Hierarchy</h2>
61
70
<pre class="synopsis">
73
82
<div class="refsect1" lang="en">
74
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
83
<a name="id2575350"></a><h2>Implemented Interfaces</h2>
76
85
GimpPickButton implements
77
86
AtkImplementorIface.</p>
79
88
<div class="refsect1" lang="en">
80
<a name="signal_proto"></a><h2>Signals</h2>
89
<a name="id2612896"></a><h2>Signals</h2>
81
90
<pre class="synopsis">
83
"<a href="GimpPickButton.html#GimpPickButton-color-picked">color-picked</a>"
84
void user_function (<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
86
gpointer user_data) : Run first
92
"<a href="GimpPickButton.html#GimpPickButton-color-picked">color-picked</a>" : Run First
89
95
<div class="refsect1" lang="en">
90
<a name="desc"></a><h2>Description</h2>
96
<a name="id2612921"></a><h2>Description</h2>
92
98
<a href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> is a specialized button. When clicked, it changes the
93
99
cursor to a color-picker pipette and allows the user to pick a color
97
103
<div class="refsect1" lang="en">
98
<a name="details"></a><h2>Details</h2>
104
<a name="id2612947"></a><h2>Details</h2>
99
105
<div class="refsect2" lang="en">
100
<a name="id2569109"></a><h3>
106
<a name="id2612958"></a><h3>
101
107
<a name="GimpPickButton-struct"></a>GimpPickButton</h3>
102
<a class="indexterm" name="id2569120"></a><pre class="programlisting">typedef struct _GimpPickButton GimpPickButton;</pre>
108
<a class="indexterm" name="id2612969"></a><pre class="programlisting">typedef struct _GimpPickButton GimpPickButton;</pre>
108
114
<div class="refsect2" lang="en">
109
<a name="id2569136"></a><h3>
115
<a name="id2612986"></a><h3>
110
116
<a name="gimp-pick-button-new"></a>gimp_pick_button_new ()</h3>
111
<a class="indexterm" name="id2569147"></a><pre class="programlisting">GtkWidget* gimp_pick_button_new (void);</pre>
117
<a class="indexterm" name="id2612997"></a><pre class="programlisting">GtkWidget* gimp_pick_button_new (void);</pre>
113
119
Creates a new <a href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> widget.</p>
117
123
<div class="variablelist"><table border="0">
118
124
<col align="left" valign="top">
121
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
126
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
122
127
<td> A new <a href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> widget.
128
133
<div class="refsect1" lang="en">
129
<a name="signals"></a><h2>Signal Details</h2>
134
<a name="id2619119"></a><h2>Signal Details</h2>
130
135
<div class="refsect2" lang="en">
131
<a name="id2576184"></a><h3>
136
<a name="id2619130"></a><h3>
132
137
<a name="GimpPickButton-color-picked"></a>The "color-picked" signal</h3>
133
<a class="indexterm" name="id2576191"></a><pre class="programlisting">void user_function (<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
135
gpointer user_data) : Run first</pre>
138
<a class="indexterm" name="id2619137"></a><pre class="programlisting">void user_function (<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
140
gpointer user_data) : Run First</pre>
140
145
<col align="left" valign="top">
144
<span class="term"><em class="parameter"><code>gimppickbutton</code></em> :</span></td>
148
<td><span class="term"><em class="parameter"><code>gimppickbutton</code></em> :</span></td>
145
149
<td>the object which received the signal.
150
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
153
<td><span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
151
154
<td>pointer to a <a
152
155
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
153
156
><span class="type">GimpRGB</span></a> structure that holds the picked color