MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/gtk-doc/html/libgnomeui/GnomeColorPicker.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeColorPicker</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="fixme.html" title="Miscellaneous Widgets">
<link rel="prev" href="fixme.html" title="Miscellaneous Widgets">
<link rel="next" href="GnomeDateEdit.html" title="GnomeDateEdit">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="GNOME UI Library (libgnomeui)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="fixme.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="fixme.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="GnomeDateEdit.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2997019" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2997854" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2997544" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id2997614" class="shortcut">Implemented Interfaces</a>
                  &#160;|&#160;
                  <a href="#id2997636" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id2997774" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomeColorPicker"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2997019"></a><span class="refentrytitle">GnomeColorPicker</span>
</h2>
<p>GnomeColorPicker &#8212; </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;libgnomeui/libgnomeui.h&gt;


            <a href="GnomeColorPicker.html#GnomeColorPicker-struct">GnomeColorPicker</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  <a href="GnomeColorPicker.html#gnome-color-picker-new">gnome_color_picker_new</a>          (void);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-d">gnome_color_picker_set_d</a>        (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-get-d">gnome_color_picker_get_d</a>        (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-i8">gnome_color_picker_set_i8</a>       (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-get-i8">gnome_color_picker_get_i8</a>       (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-i16">gnome_color_picker_set_i16</a>      (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-get-i16">gnome_color_picker_get_i16</a>      (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *a);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-dither">gnome_color_picker_set_dither</a>   (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dither);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GnomeColorPicker.html#gnome-color-picker-get-dither">gnome_color_picker_get_dither</a>   (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-use-alpha">gnome_color_picker_set_use_alpha</a>
                                            (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_alpha);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GnomeColorPicker.html#gnome-color-picker-get-use-alpha">gnome_color_picker_get_use_alpha</a>
                                            (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);
void        <a href="GnomeColorPicker.html#gnome-color-picker-set-title">gnome_color_picker_set_title</a>    (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);
const char* <a href="GnomeColorPicker.html#gnome-color-picker-get-title">gnome_color_picker_get_title</a>    (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2997544"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
               +----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
                     +----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
                           +----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
                                 +----<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
                                       +----GnomeColorPicker
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2997614"></a><h2>Implemented Interfaces</h2>
<p>
GnomeColorPicker implements
 AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2997636"></a><h2>Properties</h2>
<pre class="synopsis">

  "<a href="GnomeColorPicker.html#GnomeColorPicker--alpha">alpha</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--blue">blue</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--dither">dither</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--green">green</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--red">red</a>"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--title">title</a>"                <a
href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write
  "<a href="GnomeColorPicker.html#GnomeColorPicker--use-alpha">use-alpha</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2997774"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="GnomeColorPicker.html#GnomeColorPicker-color-set">color-set</a>" void        user_function      (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *colorpicker,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg1,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg2,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg3,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg4,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>          user_data)        : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2997854"></a><h2>Description</h2>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id2997868"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2997878"></a><h3>
<a name="GnomeColorPicker-struct"></a>GnomeColorPicker</h3>
<a class="indexterm" name="id2997892"></a><pre class="programlisting">typedef struct _GnomeColorPicker GnomeColorPicker;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeColorPicker</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2997920"></a><h3>
<a name="gnome-color-picker-new"></a>gnome_color_picker_new ()</h3>
<a class="indexterm" name="id2997935"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  gnome_color_picker_new          (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new GNOME color picker widget. This returns a widget in the form of a small button
containing a swatch representing the current selected color. When the button is clicked,
a color-selection dialog will open, allowing the user to select a color. The swatch will be
updated to reflect the new color when the user finishes.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
Pointer to new GNOME color picker widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2997993"></a><h3>
<a name="gnome-color-picker-set-d"></a>gnome_color_picker_set_d ()</h3>
<a class="indexterm" name="id2998008"></a><pre class="programlisting">void        gnome_color_picker_set_d        (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_d</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set color shown in the color picker widget using floating point values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Red color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Green color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Blue color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Alpha component, values are in [0.0, 1.0]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998160"></a><h3>
<a name="gnome-color-picker-get-d"></a>gnome_color_picker_get_d ()</h3>
<a class="indexterm" name="id2998175"></a><pre class="programlisting">void        gnome_color_picker_get_d        (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_d</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieve color currently selected in the color picker widget in the form of floating point values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Output location of red color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Output location of green color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Output location of blue color component, values are in [0.0, 1.0]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Output location of alpha color component, values are in [0.0, 1.0]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998328"></a><h3>
<a name="gnome-color-picker-set-i8"></a>gnome_color_picker_set_i8 ()</h3>
<a class="indexterm" name="id2998344"></a><pre class="programlisting">void        gnome_color_picker_set_i8       (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_i8</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set color shown in the color picker widget using 8-bit integer values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Red color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Green color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Blue color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Alpha component, values are in [0, 255]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998495"></a><h3>
<a name="gnome-color-picker-get-i8"></a>gnome_color_picker_get_i8 ()</h3>
<a class="indexterm" name="id2998510"></a><pre class="programlisting">void        gnome_color_picker_get_i8       (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
>guint8</a> *a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_i8</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieve color currently selected in the color picker widget in the form of 8-bit integer values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Output location of red color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Output location of green color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Output location of blue color component, values are in [0, 255]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Output location of alpha color component, values are in [0, 255]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998662"></a><h3>
<a name="gnome-color-picker-set-i16"></a>gnome_color_picker_set_i16 ()</h3>
<a class="indexterm" name="id2998679"></a><pre class="programlisting">void        gnome_color_picker_set_i16      (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_i16</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set color shown in the color picker widget using 16-bit integer values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Red color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Green color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Blue color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Alpha component, values are in [0, 65535]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998829"></a><h3>
<a name="gnome-color-picker-get-i16"></a>gnome_color_picker_get_i16 ()</h3>
<a class="indexterm" name="id2998845"></a><pre class="programlisting">void        gnome_color_picker_get_i16      (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *r,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *g,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *b,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
>gushort</a> *a);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_i16</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieve color currently selected in the color picker widget in the form of 16-bit integer values.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>r</code></em>&#160;:</span></td>
<td> Output location of red color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>g</code></em>&#160;:</span></td>
<td> Output location of green color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> Output location of blue color component, values are in [0, 65535]
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> Output location of alpha color component, values are in [0, 65535]
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2998998"></a><h3>
<a name="gnome-color-picker-set-dither"></a>gnome_color_picker_set_dither ()</h3>
<a class="indexterm" name="id2999014"></a><pre class="programlisting">void        gnome_color_picker_set_dither   (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dither);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_dither</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets whether the picker should dither the color sample or just paint
a solid rectangle.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>dither</code></em>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if color sample should be dithered, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999120"></a><h3>
<a name="gnome-color-picker-get-dither"></a>gnome_color_picker_get_dither ()</h3>
<a class="indexterm" name="id2999136"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gnome_color_picker_get_dither   (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_dither</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Does the picker dither the color sample or just paint
a solid rectangle.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if color sample is dithered, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999231"></a><h3>
<a name="gnome-color-picker-set-use-alpha"></a>gnome_color_picker_set_use_alpha ()</h3>
<a class="indexterm" name="id2999247"></a><pre class="programlisting">void        gnome_color_picker_set_use_alpha
                                            (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_alpha);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_use_alpha</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets whether or not the picker should use the alpha channel.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>use_alpha</code></em>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if color sample 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.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999355"></a><h3>
<a name="gnome-color-picker-get-use-alpha"></a>gnome_color_picker_get_use_alpha ()</h3>
<a class="indexterm" name="id2999371"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gnome_color_picker_get_use_alpha
                                            (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_use_alpha</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Does the picker use the alpha channel?</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>  <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if 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.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999467"></a><h3>
<a name="gnome-color-picker-set-title"></a>gnome_color_picker_set_title ()</h3>
<a class="indexterm" name="id2999483"></a><pre class="programlisting">void        gnome_color_picker_set_title    (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_set_title</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the title for the color selection dialog.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> String containing new window title.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999569"></a><h3>
<a name="gnome-color-picker-get-title"></a>gnome_color_picker_get_title ()</h3>
<a class="indexterm" name="id2999585"></a><pre class="programlisting">const char* gnome_color_picker_get_title    (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *cp);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_color_picker_get_title</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Gets the title of the color selection dialog.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cp</code></em>&#160;:</span></td>
<td> Pointer to GNOME color picker widget.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>  An internal string, do not free the return value
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2999662"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2999673"></a><h3>
<a name="GnomeColorPicker--alpha"></a>The "<code class="literal">alpha</code>" property</h3>
<a class="indexterm" name="id2999689"></a><pre class="programlisting">  "alpha"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The alpha value of the chosen color.</p>
<p>Allowed values: &lt;= 255</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999720"></a><h3>
<a name="GnomeColorPicker--blue"></a>The "<code class="literal">blue</code>" property</h3>
<a class="indexterm" name="id2999736"></a><pre class="programlisting">  "blue"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The amount of blue in the chosen color.</p>
<p>Allowed values: &lt;= 255</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999768"></a><h3>
<a name="GnomeColorPicker--dither"></a>The "<code class="literal">dither</code>" property</h3>
<a class="indexterm" name="id2999784"></a><pre class="programlisting">  "dither"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether or not to dither to color.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999810"></a><h3>
<a name="GnomeColorPicker--green"></a>The "<code class="literal">green</code>" property</h3>
<a class="indexterm" name="id2999827"></a><pre class="programlisting">  "green"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The amount of green in the chosen color.</p>
<p>Allowed values: &lt;= 255</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999857"></a><h3>
<a name="GnomeColorPicker--red"></a>The "<code class="literal">red</code>" property</h3>
<a class="indexterm" name="id2999874"></a><pre class="programlisting">  "red"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The amount of red in the chosen color.</p>
<p>Allowed values: &lt;= 255</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999904"></a><h3>
<a name="GnomeColorPicker--title"></a>The "<code class="literal">title</code>" property</h3>
<a class="indexterm" name="id2999921"></a><pre class="programlisting">  "title"                <a
href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a>            : Read / Write</pre>
<p>The title to give to the color picker.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2999947"></a><h3>
<a name="GnomeColorPicker--use-alpha"></a>The "<code class="literal">use-alpha</code>" property</h3>
<a class="indexterm" name="id2999964"></a><pre class="programlisting">  "use-alpha"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Whether or not to give the color an alpha value.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2999992"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3000002"></a><h3>
<a name="GnomeColorPicker-color-set"></a>The "color-set" signal</h3>
<a class="indexterm" name="id3000013"></a><pre class="programlisting">void        user_function                  (<a href="GnomeColorPicker.html" title="GnomeColorPicker">GnomeColorPicker</a> *colorpicker,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg1,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg2,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg3,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>             arg4,
                                            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>          user_data)        : Run first</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>colorpicker</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg3</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg4</code></em>&#160;:</span></td>
<td>

</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>