~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-11 12:19:30 UTC
  • mfrom: (1.11.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 175.
  • Revision ID: james.westby@ubuntu.com-20100611121930-n4pklvkoqdsg12vm
Tags: 2.21.2-1
* New upstream development release:
  + debian/rules,
    debian/libgtk2.0-0.symbols:
    - Update for new API symbols.
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Regenerated for the new version.
  + debian/control.in:
    - Update GLib (build-) dependency to >= 2.25.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
                    <a class="link" href="GtkColorButton.html#GtkColorButton-struct" title="GtkColorButton">GtkColorButton</a>;
52
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkColorButton.html#gtk-color-button-new" title="gtk_color_button_new ()">gtk_color_button_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
53
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkColorButton.html#gtk-color-button-new-with-color" title="gtk_color_button_new_with_color ()">gtk_color_button_new_with_color</a>     (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
 
53
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkColorButton.html#gtk-color-button-new-with-color" title="gtk_color_button_new_with_color ()">gtk_color_button_new_with_color</a>     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
54
54
<span class="returnvalue">void</span>                <a class="link" href="GtkColorButton.html#gtk-color-button-set-color" title="gtk_color_button_set_color ()">gtk_color_button_set_color</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
55
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
 
55
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
56
56
<span class="returnvalue">void</span>                <a class="link" href="GtkColorButton.html#gtk-color-button-get-color" title="gtk_color_button_get_color ()">gtk_color_button_get_color</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
57
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
 
57
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="GtkColorButton.html#gtk-color-button-set-alpha" title="gtk_color_button_set_alpha ()">gtk_color_button_set_alpha</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
59
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);
60
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>             <a class="link" href="GtkColorButton.html#gtk-color-button-get-alpha" title="gtk_color_button_get_alpha ()">gtk_color_button_get_alpha</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
 
59
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>             <a class="link" href="GtkColorButton.html#gtk-color-button-get-alpha" title="gtk_color_button_get_alpha ()">gtk_color_button_get_alpha</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="GtkColorButton.html#gtk-color-button-set-use-alpha" title="gtk_color_button_set_use_alpha ()">gtk_color_button_set_use_alpha</a>      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
62
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_alpha</code></em>);
63
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkColorButton.html#gtk-color-button-get-use-alpha" title="gtk_color_button_get_use_alpha ()">gtk_color_button_get_use_alpha</a>      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_alpha</code></em>);
 
63
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkColorButton.html#gtk-color-button-get-use-alpha" title="gtk_color_button_get_use_alpha ()">gtk_color_button_get_use_alpha</a>      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="GtkColorButton.html#gtk-color-button-set-title" title="gtk_color_button_set_title ()">gtk_color_button_set_title</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
65
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
66
 
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkColorButton.html#gtk-color-button-get-title" title="gtk_color_button_get_title ()">gtk_color_button_get_title</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
 
65
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
 
66
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkColorButton.html#gtk-color-button-get-title" title="gtk_color_button_get_title ()">gtk_color_button_get_title</a>          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);
67
67
</pre>
68
68
</div>
69
69
<div class="refsect1" title="Object Hierarchy">
70
70
<a name="GtkColorButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
71
71
<pre class="synopsis">
72
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
73
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
72
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
73
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
74
74
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
75
75
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
76
76
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
88
88
<div class="refsect1" title="Properties">
89
89
<a name="GtkColorButton.properties"></a><h2>Properties</h2>
90
90
<pre class="synopsis">
91
 
  "<a class="link" href="GtkColorButton.html#GtkColorButton--alpha" title='The "alpha" property'>alpha</a>"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
92
 
  "<a class="link" href="GtkColorButton.html#GtkColorButton--color" title='The "color" property'>color</a>"                    <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
93
 
  "<a class="link" href="GtkColorButton.html#GtkColorButton--title" title='The "title" property'>title</a>"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
94
 
  "<a class="link" href="GtkColorButton.html#GtkColorButton--use-alpha" title='The "use-alpha" property'>use-alpha</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
91
  "<a class="link" href="GtkColorButton.html#GtkColorButton--alpha" title='The "alpha" property'>alpha</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
92
  "<a class="link" href="GtkColorButton.html#GtkColorButton--color" title='The "color" property'>color</a>"                    <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write
 
93
  "<a class="link" href="GtkColorButton.html#GtkColorButton--title" title='The "title" property'>title</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
94
  "<a class="link" href="GtkColorButton.html#GtkColorButton--use-alpha" title='The "use-alpha" property'>use-alpha</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
95
95
</pre>
96
96
</div>
97
97
<div class="refsect1" title="Signals">
143
143
<hr>
144
144
<div class="refsect2" title="gtk_color_button_new_with_color ()">
145
145
<a name="gtk-color-button-new-with-color"></a><h3>gtk_color_button_new_with_color ()</h3>
146
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_color_button_new_with_color     (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
 
146
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_color_button_new_with_color     (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
147
147
<p>
148
148
Creates a new color button.
149
149
</p>
152
152
<tbody>
153
153
<tr>
154
154
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
155
 
<td>A <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with.
 
155
<td>A <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with.
156
156
</td>
157
157
</tr>
158
158
<tr>
169
169
<div class="refsect2" title="gtk_color_button_set_color ()">
170
170
<a name="gtk-color-button-set-color"></a><h3>gtk_color_button_set_color ()</h3>
171
171
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_color_button_set_color          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
172
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
 
172
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
173
173
<p>
174
174
Sets the current color to be <em class="parameter"><code>color</code></em>.
175
175
</p>
183
183
</tr>
184
184
<tr>
185
185
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
186
 
<td>A <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with.
 
186
<td>A <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to set the current color with.
187
187
</td>
188
188
</tr>
189
189
</tbody>
194
194
<div class="refsect2" title="gtk_color_button_get_color ()">
195
195
<a name="gtk-color-button-get-color"></a><h3>gtk_color_button_get_color ()</h3>
196
196
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_color_button_get_color          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
197
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
 
197
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
198
198
<p>
199
199
Sets <em class="parameter"><code>color</code></em> to be the current color in the <a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> widget.
200
200
</p>
208
208
</tr>
209
209
<tr>
210
210
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
211
 
<td>a <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in with the current color.
 
211
<td>a <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> to fill in with the current color.
212
212
</td>
213
213
</tr>
214
214
</tbody>
219
219
<div class="refsect2" title="gtk_color_button_set_alpha ()">
220
220
<a name="gtk-color-button-set-alpha"></a><h3>gtk_color_button_set_alpha ()</h3>
221
221
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_color_button_set_alpha          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
222
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);</pre>
 
222
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);</pre>
223
223
<p>
224
224
Sets the current opacity to be <em class="parameter"><code>alpha</code></em>.
225
225
</p>
243
243
<hr>
244
244
<div class="refsect2" title="gtk_color_button_get_alpha ()">
245
245
<a name="gtk-color-button-get-alpha"></a><h3>gtk_color_button_get_alpha ()</h3>
246
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>             gtk_color_button_get_alpha          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
 
246
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a>             gtk_color_button_get_alpha          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
247
247
<p>
248
248
Returns the current alpha value.
249
249
</p>
269
269
<div class="refsect2" title="gtk_color_button_set_use_alpha ()">
270
270
<a name="gtk-color-button-set-use-alpha"></a><h3>gtk_color_button_set_use_alpha ()</h3>
271
271
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_color_button_set_use_alpha      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
272
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_alpha</code></em>);</pre>
 
272
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_alpha</code></em>);</pre>
273
273
<p>
274
274
Sets whether or not the color button should use the alpha channel.
275
275
</p>
284
284
<tr>
285
285
<td><p><span class="term"><em class="parameter"><code>use_alpha</code></em> :</span></p></td>
286
286
<td>
287
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if color button should use alpha channel, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.
 
287
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if color button should use alpha channel, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.
288
288
</td>
289
289
</tr>
290
290
</tbody>
294
294
<hr>
295
295
<div class="refsect2" title="gtk_color_button_get_use_alpha ()">
296
296
<a name="gtk-color-button-get-use-alpha"></a><h3>gtk_color_button_get_use_alpha ()</h3>
297
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_color_button_get_use_alpha      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
 
297
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_color_button_get_use_alpha      (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
298
298
<p>
299
299
Does the color selection dialog use the alpha channel?
300
300
</p>
308
308
</tr>
309
309
<tr>
310
310
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
311
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the color sample uses alpha channel, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.
 
311
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the color sample uses alpha channel, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.
312
312
 
313
313
</td>
314
314
</tr>
320
320
<div class="refsect2" title="gtk_color_button_set_title ()">
321
321
<a name="gtk-color-button-set-title"></a><h3>gtk_color_button_set_title ()</h3>
322
322
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_color_button_set_title          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>,
323
 
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
 
323
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
324
324
<p>
325
325
Sets the title for the color selection dialog.
326
326
</p>
344
344
<hr>
345
345
<div class="refsect2" title="gtk_color_button_get_title ()">
346
346
<a name="gtk-color-button-get-title"></a><h3>gtk_color_button_get_title ()</h3>
347
 
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_color_button_get_title          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
 
347
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_color_button_get_title          (<em class="parameter"><code><a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *color_button</code></em>);</pre>
348
348
<p>
349
349
Gets the title of the color selection dialog.
350
350
</p>
371
371
<a name="GtkColorButton.property-details"></a><h2>Property Details</h2>
372
372
<div class="refsect2" title='The "alpha" property'>
373
373
<a name="GtkColorButton--alpha"></a><h3>The <code class="literal">"alpha"</code> property</h3>
374
 
<pre class="programlisting">  "alpha"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
374
<pre class="programlisting">  "alpha"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
375
375
<p>
376
376
The selected opacity value (0 fully transparent, 65535 fully opaque).
377
377
</p>
382
382
<hr>
383
383
<div class="refsect2" title='The "color" property'>
384
384
<a name="GtkColorButton--color"></a><h3>The <code class="literal">"color"</code> property</h3>
385
 
<pre class="programlisting">  "color"                    <a href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
 
385
<pre class="programlisting">  "color"                    <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a>*             : Read / Write</pre>
386
386
<p>
387
387
The selected color.
388
388
</p>
391
391
<hr>
392
392
<div class="refsect2" title='The "title" property'>
393
393
<a name="GtkColorButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
394
 
<pre class="programlisting">  "title"                    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
394
<pre class="programlisting">  "title"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
395
395
<p>
396
396
The title of the color selection dialog
397
397
</p>
401
401
<hr>
402
402
<div class="refsect2" title='The "use-alpha" property'>
403
403
<a name="GtkColorButton--use-alpha"></a><h3>The <code class="literal">"use-alpha"</code> property</h3>
404
 
<pre class="programlisting">  "use-alpha"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
404
<pre class="programlisting">  "use-alpha"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
405
405
<p>
406
 
If this property is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the color swatch on the button is rendered against a
 
406
If this property is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the color swatch on the button is rendered against a
407
407
checkerboard background to show its opacity and the opacity slider is displayed in the 
408
408
color selection dialog.
409
409
</p>
416
416
<div class="refsect2" title='The "color-set" signal'>
417
417
<a name="GtkColorButton-color-set"></a><h3>The <code class="literal">"color-set"</code> signal</h3>
418
418
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkColorButton.html" title="GtkColorButton"><span class="type">GtkColorButton</span></a> *widget,
419
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : Run First</pre>
 
419
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : Run First</pre>
420
420
<p>
421
421
The ::color-set signal is emitted when the user selects a color.
422
422
When handling this signal, use <a class="link" href="GtkColorButton.html#gtk-color-button-get-color" title="gtk_color_button_get_color ()"><code class="function">gtk_color_button_get_color()</code></a> and