~ubuntu-branches/debian/experimental/gtk+2.0/experimental

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkColorSelectionDialog.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-09-17 11:15:05 UTC
  • mto: (72.1.1 lenny) (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: james.westby@ubuntu.com-20070917111505-giz9c5xltxkb5y54
Tags: upstream-2.12.0
ImportĀ upstreamĀ versionĀ 2.12.0

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>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&#160;I.&#160;GTK+ Overview">
14
14
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;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>
70
70
</tr>
71
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3844775" class="shortcut">Top</a>
72
 
                  &#160;|&#160;
73
 
                  <a href="#id3844928" class="shortcut">Description</a>
74
 
                  &#160;|&#160;
75
 
                  <a href="#id3844820" class="shortcut">Object Hierarchy</a>
76
 
                  &#160;|&#160;
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>
 
72
                  &#160;|&#160;
 
73
                  <a href="#id3598414" class="shortcut">Description</a>
 
74
                  &#160;|&#160;
 
75
                  <a href="#id3598307" class="shortcut">Object Hierarchy</a>
 
76
                  &#160;|&#160;
 
77
                  <a href="#id3598384" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
78
78
</table>
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>
82
82
<td valign="top">
83
83
<h2>
84
 
<a name="id3844775"></a><span class="refentrytitle">GtkColorSelectionDialog</span>
 
84
<a name="id3598262"></a><span class="refentrytitle">GtkColorSelectionDialog</span>
85
85
</h2>
86
86
<p>GtkColorSelectionDialog &#8212; A standard dialog box for selecting a color</p>
87
87
</td>
94
94
#include &lt;gtk/gtk.h&gt;
95
95
 
96
96
 
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);
101
101
 
102
102
 
103
103
</pre>
104
104
</div>
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">
108
108
 
109
109
  <a
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"
111
111
>GObject</a>
112
112
   +----<a
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
122
122
</pre>
123
123
</div>
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>
126
126
<p>
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>
129
129
</div>
130
130
<div class="refsect1" lang="en">
131
 
<a name="id3844928"></a><h2>Description</h2>
 
131
<a name="id3598414"></a><h2>Description</h2>
132
132
<p>
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.
136
136
</p>
137
137
<div class="refsect2" lang="en">
138
138
<a name="GtkColorSelectionDialog-BUILDER-UI"></a><h3>GtkColorSelectionDialog as GtkBuildable</h3>
139
139
<p>
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".
144
144
</p>
145
145
</div>
146
146
</div>
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>
153
153
<p>
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
156
156
an application.)
157
157
 
164
164
<tbody>
165
165
<tr>
166
166
<td>
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
172
172
color changes.
174
174
</tr>
175
175
<tr>
176
176
<td>
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.
180
180
</td>
181
181
</tr>
182
182
<tr>
183
183
<td>
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.
187
187
</td>
188
188
</tr>
189
189
<tr>
190
190
<td>
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.
194
194
</td>
200
200
</div>
201
201
<hr>
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>
208
208
<p>
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>.
210
210
</p>
211
211
<div class="variablelist"><table border="0">
212
212
<col align="left" valign="top">
213
213
<tbody>
214
214
<tr>
215
 
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
215
<td><p><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></p></td>
216
216
<td>a string containing the title text for the dialog.
217
217
</td>
218
218
</tr>
219
219
<tr>
220
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</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>&#160;:</span></p></td>
 
221
<td>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.
222
222
 
223
223
 
224
224
</td>
227
227
</table></div>
228
228
</div>
229
229
</div>
 
230
<div class="refsect1" lang="en">
 
231
<a name="id3598737"></a><div class="refsect2" lang="en"><a name="id3598738"></a></div>
 
232
<hr>
 
233
<div class="refsect2" lang="en"><a name="id3598739"></a></div>
 
234
</div>
230
235
</div>
231
236
</body>
232
237
</html>