~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>GtkColorSelectionDialog</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
 
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
 
8
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
 
9
<link rel="prev" href="GtkColorButton.html" title="GtkColorButton">
 
10
<link rel="next" href="GtkColorSelection.html" title="GtkColorSelection">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="GtkColorButton.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
 
21
<td><a accesskey="n" href="GtkColorSelection.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#GtkColorSelectionDialog.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#GtkColorSelectionDialog.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#GtkColorSelectionDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#GtkColorSelectionDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
                   | 
 
32
                  <a href="#GtkColorSelectionDialog.properties" class="shortcut">Properties</a>
 
33
</td></tr>
 
34
</table>
 
35
<div class="refentry">
 
36
<a name="GtkColorSelectionDialog"></a><div class="titlepage"></div>
 
37
<div class="refnamediv"><table width="100%"><tr>
 
38
<td valign="top">
 
39
<h2><span class="refentrytitle"><a name="GtkColorSelectionDialog.top_of_page"></a>GtkColorSelectionDialog</span></h2>
 
40
<p>GtkColorSelectionDialog — A standard dialog box for selecting a color</p>
 
41
</td>
 
42
<td valign="top" align="right"><img src="colorsel.png"></td>
 
43
</tr></table></div>
 
44
<div class="refsynopsisdiv">
 
45
<a name="GtkColorSelectionDialog.synopsis"></a><h2>Synopsis</h2>
 
46
<pre class="synopsis">
 
47
#include &lt;gtk/gtk.h&gt;
 
48
 
 
49
struct              <a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct" title="struct GtkColorSelectionDialog">GtkColorSelectionDialog</a>;
 
50
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new" title="gtk_color_selection_dialog_new ()">gtk_color_selection_dialog_new</a>      (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
 
51
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()">gtk_color_selection_dialog_get_color_selection</a>
 
52
                                                        (<em class="parameter"><code><a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> *colorsel</code></em>);
 
53
</pre>
 
54
</div>
 
55
<div class="refsect1">
 
56
<a name="GtkColorSelectionDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
57
<pre class="synopsis">
 
58
  GObject
 
59
   +----GInitiallyUnowned
 
60
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
 
61
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
 
62
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
 
63
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
 
64
                                 +----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
 
65
                                       +----<a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
 
66
                                             +----GtkColorSelectionDialog
 
67
</pre>
 
68
</div>
 
69
<div class="refsect1">
 
70
<a name="GtkColorSelectionDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
71
<p>
 
72
GtkColorSelectionDialog implements
 
73
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
 
74
</div>
 
75
<div class="refsect1">
 
76
<a name="GtkColorSelectionDialog.properties"></a><h2>Properties</h2>
 
77
<pre class="synopsis">
 
78
  "<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--cancel-button" title='The "cancel-button" property'>cancel-button</a>"            <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read
 
79
  "<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--color-selection" title='The "color-selection" property'>color-selection</a>"          <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read
 
80
  "<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--help-button" title='The "help-button" property'>help-button</a>"              <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read
 
81
  "<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--ok-button" title='The "ok-button" property'>ok-button</a>"                <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read
 
82
</pre>
 
83
</div>
 
84
<div class="refsect1">
 
85
<a name="GtkColorSelectionDialog.description"></a><h2>Description</h2>
 
86
<p>
 
87
The <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> provides a standard dialog which
 
88
allows the user to select a color much like the <a class="link" href="GtkFileSelection.html" title="GtkFileSelection"><span class="type">GtkFileSelection</span></a>
 
89
provides a standard dialog for file selection.
 
90
</p>
 
91
<div class="refsect2">
 
92
<a name="GtkColorSelectionDialog-BUILDER-UI"></a><h3>GtkColorSelectionDialog as GtkBuildable</h3>
 
93
<p>
 
94
The GtkColorSelectionDialog implementation of the GtkBuildable interface
 
95
exposes the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> as internal child with the
 
96
name "color_selection". It also exposes the buttons with the names
 
97
"ok_button", "cancel_button" and "help_button".
 
98
</p>
 
99
</div>
 
100
</div>
 
101
<div class="refsect1">
 
102
<a name="GtkColorSelectionDialog.details"></a><h2>Details</h2>
 
103
<div class="refsect2">
 
104
<a name="GtkColorSelectionDialog-struct"></a><h3>struct GtkColorSelectionDialog</h3>
 
105
<pre class="programlisting">struct GtkColorSelectionDialog;</pre>
 
106
<p>
 
107
The <a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct" title="struct GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> struct contains the following fields.
 
108
(These fields should be considered read-only. They should never be set by
 
109
an application.)
 
110
</p>
 
111
<div class="informaltable"><table width="100%" border="0">
 
112
<colgroup>
 
113
<col>
 
114
<col>
 
115
</colgroup>
 
116
<tbody>
 
117
<tr>
 
118
<td>
 
119
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *colorsel;</td>
 
120
<td>The <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget contained within the
 
121
dialog.  Use this widget and its <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-color" title="gtk_color_selection_get_current_color ()"><code class="function">gtk_color_selection_get_current_color()</code></a>
 
122
function to gain access to the selected color.  Connect a handler
 
123
for this widget's color_changed signal to be notified when the
 
124
color changes.
 
125
</td>
 
126
</tr>
 
127
<tr>
 
128
<td>
 
129
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *ok_button;</td>
 
130
<td>The OK button widget contained within the dialog.
 
131
Connect a handler for the clicked event.
 
132
</td>
 
133
</tr>
 
134
<tr>
 
135
<td>
 
136
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *cancel_button;</td>
 
137
<td>The cancel button widget contained within the dialog.
 
138
Connect a handler for the clicked event.
 
139
</td>
 
140
</tr>
 
141
<tr>
 
142
<td>
 
143
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *help_button;</td>
 
144
<td>The help button widget contained within the dialog.
 
145
Connect a handler for the clicked event.
 
146
</td>
 
147
</tr>
 
148
</tbody>
 
149
</table></div>
 
150
<p>
 
151
</p>
 
152
</div>
 
153
<hr>
 
154
<div class="refsect2">
 
155
<a name="gtk-color-selection-dialog-new"></a><h3>gtk_color_selection_dialog_new ()</h3>
 
156
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_color_selection_dialog_new      (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
 
157
<p>
 
158
Creates a new <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
 
159
</p>
 
160
<div class="variablelist"><table border="0" class="variablelist">
 
161
<colgroup>
 
162
<col align="left" valign="top">
 
163
<col>
 
164
</colgroup>
 
165
<tbody>
 
166
<tr>
 
167
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
 
168
<td>a string containing the title text for the dialog.</td>
 
169
</tr>
 
170
<tr>
 
171
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
172
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.</td>
 
173
</tr>
 
174
</tbody>
 
175
</table></div>
 
176
</div>
 
177
<hr>
 
178
<div class="refsect2">
 
179
<a name="gtk-color-selection-dialog-get-color-selection"></a><h3>gtk_color_selection_dialog_get_color_selection ()</h3>
 
180
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_color_selection_dialog_get_color_selection
 
181
                                                        (<em class="parameter"><code><a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> *colorsel</code></em>);</pre>
 
182
<p>
 
183
Retrieves the <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget embedded in the dialog.
 
184
</p>
 
185
<div class="variablelist"><table border="0" class="variablelist">
 
186
<colgroup>
 
187
<col align="left" valign="top">
 
188
<col>
 
189
</colgroup>
 
190
<tbody>
 
191
<tr>
 
192
<td><p><span class="term"><em class="parameter"><code>colorsel</code></em> :</span></p></td>
 
193
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>
 
194
</td>
 
195
</tr>
 
196
<tr>
 
197
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
198
<td>the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
199
</td>
 
200
</tr>
 
201
</tbody>
 
202
</table></div>
 
203
<p class="since">Since 2.14</p>
 
204
</div>
 
205
</div>
 
206
<div class="refsect1">
 
207
<a name="GtkColorSelectionDialog.property-details"></a><h2>Property Details</h2>
 
208
<div class="refsect2">
 
209
<a name="GtkColorSelectionDialog--cancel-button"></a><h3>The <code class="literal">"cancel-button"</code> property</h3>
 
210
<pre class="programlisting">  "cancel-button"            <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read</pre>
 
211
<p>The cancel button of the dialog.</p>
 
212
</div>
 
213
<hr>
 
214
<div class="refsect2">
 
215
<a name="GtkColorSelectionDialog--color-selection"></a><h3>The <code class="literal">"color-selection"</code> property</h3>
 
216
<pre class="programlisting">  "color-selection"          <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read</pre>
 
217
<p>The color selection embedded in the dialog.</p>
 
218
</div>
 
219
<hr>
 
220
<div class="refsect2">
 
221
<a name="GtkColorSelectionDialog--help-button"></a><h3>The <code class="literal">"help-button"</code> property</h3>
 
222
<pre class="programlisting">  "help-button"              <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read</pre>
 
223
<p>The help button of the dialog.</p>
 
224
</div>
 
225
<hr>
 
226
<div class="refsect2">
 
227
<a name="GtkColorSelectionDialog--ok-button"></a><h3>The <code class="literal">"ok-button"</code> property</h3>
 
228
<pre class="programlisting">  "ok-button"                <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read</pre>
 
229
<p>The OK button of the dialog.</p>
 
230
</div>
 
231
</div>
 
232
</div>
 
233
<div class="footer">
 
234
<hr>
 
235
          Generated by GTK-Doc V1.18</div>
 
236
</body>
 
237
</html>
 
 
b'\\ No newline at end of file'