4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>GtkColorSelectionDialog</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="GTK+ Reference Manual">
8
8
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
9
9
<link rel="prev" href="GtkColorSelection.html" title="GtkColorSelection">
10
10
<link rel="next" href="GtkFileSelection.html" title="GtkFileSelection">
11
<meta name="generator" content="GTK-Doc V1.7 (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="gtk.html" title="Part I. GTK+ Overview">
14
14
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
68
68
<th width="100%" align="center">GTK+ Reference Manual</th>
69
69
<td><a accesskey="n" href="GtkFileSelection.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
71
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3844775" class="shortcut">Top</a>
73
<a href="#id3844928" class="shortcut">Description</a>
75
<a href="#id3844820" class="shortcut">Object Hierarchy</a>
77
<a href="#id3844897" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
71
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3598262" class="shortcut">Top</a>
73
<a href="#id3598414" class="shortcut">Description</a>
75
<a href="#id3598307" class="shortcut">Object Hierarchy</a>
77
<a href="#id3598384" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
79
79
<div class="refentry" lang="en">
80
80
<a name="GtkColorSelectionDialog"></a><div class="titlepage"></div>
81
81
<div class="refnamediv"><table width="100%"><tr>
84
<a name="id3844775"></a><span class="refentrytitle">GtkColorSelectionDialog</span>
84
<a name="id3598262"></a><span class="refentrytitle">GtkColorSelectionDialog</span>
86
86
<p>GtkColorSelectionDialog — A standard dialog box for selecting a color</p>
94
94
#include <gtk/gtk.h>
97
<a href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct">GtkColorSelectionDialog</a>;
98
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new">gtk_color_selection_dialog_new</a> (const <a
99
href="/home/mclasen/gnome-2.18/install/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
97
<a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct">GtkColorSelectionDialog</a>;
98
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new">gtk_color_selection_dialog_new</a> (const <a
99
href="../glib/glib-Basic-Types.html#gchar"
100
100
>gchar</a> *title);
105
105
<div class="refsect1" lang="en">
106
<a name="id3844820"></a><h2>Object Hierarchy</h2>
106
<a name="id3598307"></a><h2>Object Hierarchy</h2>
107
107
<pre class="synopsis">
110
href="/home/mclasen/gnome-2.18/install/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
110
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
113
href="/home/mclasen/gnome-2.18/install/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
113
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
114
114
>GInitiallyUnowned</a>
115
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
116
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
117
+----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
118
+----<a href="GtkBin.html" title="GtkBin">GtkBin</a>
119
+----<a href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
120
+----<a href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
115
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
116
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
117
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
118
+----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
119
+----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
120
+----<a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
121
121
+----GtkColorSelectionDialog
124
124
<div class="refsect1" lang="en">
125
<a name="id3844897"></a><h2>Implemented Interfaces</h2>
125
<a name="id3598384"></a><h2>Implemented Interfaces</h2>
127
127
GtkColorSelectionDialog implements
128
<a href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and AtkImplementorIface.</p>
128
<a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and AtkImplementorIface.</p>
130
130
<div class="refsect1" lang="en">
131
<a name="id3844928"></a><h2>Description</h2>
131
<a name="id3598414"></a><h2>Description</h2>
133
The <a href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> provides a standard dialog which
134
allows the user to select a color much like the <a href="GtkFileSelection.html" title="GtkFileSelection"><span class="type">GtkFileSelection</span></a>
133
The <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> provides a standard dialog which
134
allows the user to select a color much like the <a class="link" href="GtkFileSelection.html" title="GtkFileSelection"><span class="type">GtkFileSelection</span></a>
135
135
provides a standard dialog for file selection.
137
137
<div class="refsect2" lang="en">
138
138
<a name="GtkColorSelectionDialog-BUILDER-UI"></a><h3>GtkColorSelectionDialog as GtkBuildable</h3>
140
140
The GtkColorSelectionDialog implementation of the GtkBuildable interface
141
exposes the embedded <a href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> as internal child with the
141
exposes the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> as internal child with the
142
142
name "color_selection". It also exposes the buttons with the names
143
143
"ok_button", "cancel_button" and "help_button".
147
147
<div class="refsect1" lang="en">
148
<a name="id3844990"></a><h2>Details</h2>
148
<a name="id3598476"></a><h2>Details</h2>
149
149
<div class="refsect2" lang="en">
150
<a name="id3845000"></a><h3>
150
<a name="id3598487"></a><h3>
151
151
<a name="GtkColorSelectionDialog-struct"></a>GtkColorSelectionDialog</h3>
152
<a class="indexterm" name="id3845013"></a><pre class="programlisting">typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog;</pre>
152
<a class="indexterm" name="id3598500"></a><pre class="programlisting">typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog;</pre>
154
The <a href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct"><span class="type">GtkColorSelectionDialog</span></a> struct contains the following fields.
154
The <a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct"><span class="type">GtkColorSelectionDialog</span></a> struct contains the following fields.
155
155
(These fields should be considered read-only. They should never be set by
167
<a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *colorsel;</td>
168
<td>The <a href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget contained within the
169
dialog. Use this widget and its <a href="GtkColorSelection.html#gtk-color-selection-get-current-color"><code class="function">gtk_color_selection_get_current_color()</code></a>
167
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *colorsel;</td>
168
<td>The <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget contained within the
169
dialog. Use this widget and its <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-color"><code class="function">gtk_color_selection_get_current_color()</code></a>
170
170
function to gain access to the selected color. Connect a handler
171
171
for this widget's color_changed signal to be notified when the
177
<a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *ok_button;</td>
177
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *ok_button;</td>
178
178
<td>The OK button widget contained within the dialog.
179
179
Connect a handler for the clicked event.
184
<a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *cancel_button;</td>
184
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *cancel_button;</td>
185
185
<td>The cancel button widget contained within the dialog.
186
186
Connect a handler for the clicked event.
191
<a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *help_button;</td>
191
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *help_button;</td>
192
192
<td>The help button widget contained within the dialog.
193
193
Connect a handler for the clicked event.
202
202
<div class="refsect2" lang="en">
203
<a name="id3845160"></a><h3>
203
<a name="id3598647"></a><h3>
204
204
<a name="gtk-color-selection-dialog-new"></a>gtk_color_selection_dialog_new ()</h3>
205
<a class="indexterm" name="id3845173"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_color_selection_dialog_new (const <a
206
href="/home/mclasen/gnome-2.18/install/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
205
<a class="indexterm" name="id3598660"></a><pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_color_selection_dialog_new (const <a
206
href="../glib/glib-Basic-Types.html#gchar"
207
207
>gchar</a> *title);</pre>
209
Creates a new <a href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
209
Creates a new <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
211
211
<div class="variablelist"><table border="0">
212
212
<col align="left" valign="top">
215
<td><span class="term"><em class="parameter"><code>title</code></em> :</span></td>
215
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
216
216
<td>a string containing the title text for the dialog.
220
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
221
<td>a <a href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
220
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
221
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.