<refentry id="GnomeColorPicker">
<refmeta>
<refentrytitle role="top_of_page" id="GnomeColorPicker.top_of_page">GnomeColorPicker</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeColorPicker</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="GnomeColorPicker.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

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

                    <link linkend="GnomeColorPicker-struct">GnomeColorPicker</link>;
<link linkend="GtkWidget">GtkWidget</link> *         <link linkend="gnome-color-picker-new">gnome_color_picker_new</link>              (void);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-d">gnome_color_picker_set_d</link>            (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gdouble">gdouble</link> r,
                                                         <link linkend="gdouble">gdouble</link> g,
                                                         <link linkend="gdouble">gdouble</link> b,
                                                         <link linkend="gdouble">gdouble</link> a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-get-d">gnome_color_picker_get_d</link>            (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gdouble">gdouble</link> *r,
                                                         <link linkend="gdouble">gdouble</link> *g,
                                                         <link linkend="gdouble">gdouble</link> *b,
                                                         <link linkend="gdouble">gdouble</link> *a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-i8">gnome_color_picker_set_i8</link>           (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="guint8">guint8</link> r,
                                                         <link linkend="guint8">guint8</link> g,
                                                         <link linkend="guint8">guint8</link> b,
                                                         <link linkend="guint8">guint8</link> a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-get-i8">gnome_color_picker_get_i8</link>           (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="guint8">guint8</link> *r,
                                                         <link linkend="guint8">guint8</link> *g,
                                                         <link linkend="guint8">guint8</link> *b,
                                                         <link linkend="guint8">guint8</link> *a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-i16">gnome_color_picker_set_i16</link>          (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gushort">gushort</link> r,
                                                         <link linkend="gushort">gushort</link> g,
                                                         <link linkend="gushort">gushort</link> b,
                                                         <link linkend="gushort">gushort</link> a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-get-i16">gnome_color_picker_get_i16</link>          (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gushort">gushort</link> *r,
                                                         <link linkend="gushort">gushort</link> *g,
                                                         <link linkend="gushort">gushort</link> *b,
                                                         <link linkend="gushort">gushort</link> *a);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-dither">gnome_color_picker_set_dither</link>       (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gboolean">gboolean</link> dither);
<link linkend="gboolean">gboolean</link>            <link linkend="gnome-color-picker-get-dither">gnome_color_picker_get_dither</link>       (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-use-alpha">gnome_color_picker_set_use_alpha</link>    (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gboolean">gboolean</link> use_alpha);
<link linkend="gboolean">gboolean</link>            <link linkend="gnome-color-picker-get-use-alpha">gnome_color_picker_get_use_alpha</link>    (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);
<link linkend="void">void</link>                <link linkend="gnome-color-picker-set-title">gnome_color_picker_set_title</link>        (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         const <link linkend="gchar">gchar</link> *title);
const <link linkend="char">char</link> *        <link linkend="gnome-color-picker-get-title">gnome_color_picker_get_title</link>        (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);
</synopsis>
</refsynopsisdiv>

<refsect1 id="GnomeColorPicker.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBin">GtkBin</link>
                                 +----<link linkend="GtkButton">GtkButton</link>
                                       +----GnomeColorPicker
</synopsis>
</refsect1>



<refsect1 id="GnomeColorPicker.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GnomeColorPicker implements
 <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkActivatable">GtkActivatable</link> and  <link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
</refsect1>


<refsect1 id="GnomeColorPicker.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="GnomeColorPicker--alpha">alpha</link>&quot;                    <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="GnomeColorPicker--blue">blue</link>&quot;                     <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="GnomeColorPicker--dither">dither</link>&quot;                   <link linkend="gboolean">gboolean</link>              : Read / Write
  &quot;<link linkend="GnomeColorPicker--green">green</link>&quot;                    <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="GnomeColorPicker--red">red</link>&quot;                      <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="GnomeColorPicker--title">title</link>&quot;                    <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="GnomeColorPicker--use-alpha">use-alpha</link>&quot;                <link linkend="gboolean">gboolean</link>              : Read / Write
</synopsis>
</refsect1>

<refsect1 id="GnomeColorPicker.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="GnomeColorPicker-color-set">color-set</link>&quot;                                      : Run First
</synopsis>
</refsect1>


<refsect1 id="GnomeColorPicker.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="GnomeColorPicker.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GnomeColorPicker-struct" role="struct">
<title>GnomeColorPicker</title>
<indexterm zone="GnomeColorPicker-struct" role="deprecated"><primary sortas="GnomeColorPicker">GnomeColorPicker</primary></indexterm><programlisting>typedef struct _GnomeColorPicker GnomeColorPicker;</programlisting>
<warning><para><literal>GnomeColorPicker</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para></refsect2>
<refsect2 id="gnome-color-picker-new" role="function" condition="deprecated:">
<title>gnome_color_picker_new ()</title>
<indexterm zone="gnome-color-picker-new" role="deprecated"><primary sortas="gnome_color_picker_new">gnome_color_picker_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link> *         gnome_color_picker_new              (void);</programlisting>
<warning><para><literal>gnome_color_picker_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
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.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
Pointer to new GNOME color picker widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-d" role="function" condition="deprecated:">
<title>gnome_color_picker_set_d ()</title>
<indexterm zone="gnome-color-picker-set-d" role="deprecated"><primary sortas="gnome_color_picker_set_d">gnome_color_picker_set_d</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_d            (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gdouble">gdouble</link> r,
                                                         <link linkend="gdouble">gdouble</link> g,
                                                         <link linkend="gdouble">gdouble</link> b,
                                                         <link linkend="gdouble">gdouble</link> a);</programlisting>
<warning><para><literal>gnome_color_picker_set_d</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set color shown in the color picker widget using floating point values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Red color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Green color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Blue color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Alpha component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-d" role="function" condition="deprecated:">
<title>gnome_color_picker_get_d ()</title>
<indexterm zone="gnome-color-picker-get-d" role="deprecated"><primary sortas="gnome_color_picker_get_d">gnome_color_picker_get_d</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_get_d            (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gdouble">gdouble</link> *r,
                                                         <link linkend="gdouble">gdouble</link> *g,
                                                         <link linkend="gdouble">gdouble</link> *b,
                                                         <link linkend="gdouble">gdouble</link> *a);</programlisting>
<warning><para><literal>gnome_color_picker_get_d</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Retrieve color currently selected in the color picker widget in the form of floating point values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Output location of red color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Output location of green color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Output location of blue color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Output location of alpha color component, values are in [0.0, 1.0]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-i8" role="function" condition="deprecated:">
<title>gnome_color_picker_set_i8 ()</title>
<indexterm zone="gnome-color-picker-set-i8" role="deprecated"><primary sortas="gnome_color_picker_set_i8">gnome_color_picker_set_i8</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_i8           (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="guint8">guint8</link> r,
                                                         <link linkend="guint8">guint8</link> g,
                                                         <link linkend="guint8">guint8</link> b,
                                                         <link linkend="guint8">guint8</link> a);</programlisting>
<warning><para><literal>gnome_color_picker_set_i8</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set color shown in the color picker widget using 8-bit integer values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Red color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Green color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Blue color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Alpha component, values are in [0, 255]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-i8" role="function" condition="deprecated:">
<title>gnome_color_picker_get_i8 ()</title>
<indexterm zone="gnome-color-picker-get-i8" role="deprecated"><primary sortas="gnome_color_picker_get_i8">gnome_color_picker_get_i8</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_get_i8           (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="guint8">guint8</link> *r,
                                                         <link linkend="guint8">guint8</link> *g,
                                                         <link linkend="guint8">guint8</link> *b,
                                                         <link linkend="guint8">guint8</link> *a);</programlisting>
<warning><para><literal>gnome_color_picker_get_i8</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Retrieve color currently selected in the color picker widget in the form of 8-bit integer values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Output location of red color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Output location of green color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Output location of blue color component, values are in [0, 255]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Output location of alpha color component, values are in [0, 255]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-i16" role="function" condition="deprecated:">
<title>gnome_color_picker_set_i16 ()</title>
<indexterm zone="gnome-color-picker-set-i16" role="deprecated"><primary sortas="gnome_color_picker_set_i16">gnome_color_picker_set_i16</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_i16          (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gushort">gushort</link> r,
                                                         <link linkend="gushort">gushort</link> g,
                                                         <link linkend="gushort">gushort</link> b,
                                                         <link linkend="gushort">gushort</link> a);</programlisting>
<warning><para><literal>gnome_color_picker_set_i16</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set color shown in the color picker widget using 16-bit integer values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Red color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Green color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Blue color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Alpha component, values are in [0, 65535]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-i16" role="function" condition="deprecated:">
<title>gnome_color_picker_get_i16 ()</title>
<indexterm zone="gnome-color-picker-get-i16" role="deprecated"><primary sortas="gnome_color_picker_get_i16">gnome_color_picker_get_i16</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_get_i16          (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gushort">gushort</link> *r,
                                                         <link linkend="gushort">gushort</link> *g,
                                                         <link linkend="gushort">gushort</link> *b,
                                                         <link linkend="gushort">gushort</link> *a);</programlisting>
<warning><para><literal>gnome_color_picker_get_i16</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Retrieve color currently selected in the color picker widget in the form of 16-bit integer values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>r</parameter>&#160;:</term>
<listitem><simpara> Output location of red color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>g</parameter>&#160;:</term>
<listitem><simpara> Output location of green color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&#160;:</term>
<listitem><simpara> Output location of blue color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>a</parameter>&#160;:</term>
<listitem><simpara> Output location of alpha color component, values are in [0, 65535]
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-dither" role="function" condition="deprecated:">
<title>gnome_color_picker_set_dither ()</title>
<indexterm zone="gnome-color-picker-set-dither" role="deprecated"><primary sortas="gnome_color_picker_set_dither">gnome_color_picker_set_dither</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_dither       (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gboolean">gboolean</link> dither);</programlisting>
<warning><para><literal>gnome_color_picker_set_dither</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets whether the picker should dither the color sample or just paint
a solid rectangle.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dither</parameter>&#160;:</term>
<listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if color sample should be dithered, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-dither" role="function" condition="deprecated:">
<title>gnome_color_picker_get_dither ()</title>
<indexterm zone="gnome-color-picker-get-dither" role="deprecated"><primary sortas="gnome_color_picker_get_dither">gnome_color_picker_get_dither</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gnome_color_picker_get_dither       (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);</programlisting>
<warning><para><literal>gnome_color_picker_get_dither</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Does the picker dither the color sample or just paint
a solid rectangle.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if color sample is dithered, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-use-alpha" role="function" condition="deprecated:">
<title>gnome_color_picker_set_use_alpha ()</title>
<indexterm zone="gnome-color-picker-set-use-alpha" role="deprecated"><primary sortas="gnome_color_picker_set_use_alpha">gnome_color_picker_set_use_alpha</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_use_alpha    (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         <link linkend="gboolean">gboolean</link> use_alpha);</programlisting>
<warning><para><literal>gnome_color_picker_set_use_alpha</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets whether or not the picker should use the alpha channel.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>use_alpha</parameter>&#160;:</term>
<listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if color sample should use alpha channel, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-use-alpha" role="function" condition="deprecated:">
<title>gnome_color_picker_get_use_alpha ()</title>
<indexterm zone="gnome-color-picker-get-use-alpha" role="deprecated"><primary sortas="gnome_color_picker_get_use_alpha">gnome_color_picker_get_use_alpha</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gnome_color_picker_get_use_alpha    (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);</programlisting>
<warning><para><literal>gnome_color_picker_get_use_alpha</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Does the picker use the alpha channel?</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>  <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if color sample uses alpha channel, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-set-title" role="function" condition="deprecated:">
<title>gnome_color_picker_set_title ()</title>
<indexterm zone="gnome-color-picker-set-title" role="deprecated"><primary sortas="gnome_color_picker_set_title">gnome_color_picker_set_title</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_color_picker_set_title        (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp,
                                                         const <link linkend="gchar">gchar</link> *title);</programlisting>
<warning><para><literal>gnome_color_picker_set_title</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets the title for the color selection dialog.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>title</parameter>&#160;:</term>
<listitem><simpara> String containing new window title.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-color-picker-get-title" role="function" condition="deprecated:">
<title>gnome_color_picker_get_title ()</title>
<indexterm zone="gnome-color-picker-get-title" role="deprecated"><primary sortas="gnome_color_picker_get_title">gnome_color_picker_get_title</primary></indexterm><programlisting>const <link linkend="char">char</link> *        gnome_color_picker_get_title        (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *cp);</programlisting>
<warning><para><literal>gnome_color_picker_get_title</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Gets the title of the color selection dialog.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cp</parameter>&#160;:</term>
<listitem><simpara> Pointer to GNOME color picker widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>  An internal string, do not free the return value
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="GnomeColorPicker.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GnomeColorPicker--alpha" role="property"><title>The <literal>&quot;alpha&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--alpha"><primary sortas="GnomeColorPicker:alpha">GnomeColorPicker:alpha</primary></indexterm><programlisting>  &quot;alpha&quot;                    <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>The alpha value of the chosen color.</para><para>Allowed values: &lt;= 255</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GnomeColorPicker--blue" role="property"><title>The <literal>&quot;blue&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--blue"><primary sortas="GnomeColorPicker:blue">GnomeColorPicker:blue</primary></indexterm><programlisting>  &quot;blue&quot;                     <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>The amount of blue in the chosen color.</para><para>Allowed values: &lt;= 255</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GnomeColorPicker--dither" role="property"><title>The <literal>&quot;dither&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--dither"><primary sortas="GnomeColorPicker:dither">GnomeColorPicker:dither</primary></indexterm><programlisting>  &quot;dither&quot;                   <link linkend="gboolean">gboolean</link>              : Read / Write</programlisting>
<para>Whether or not to dither to color.</para><para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GnomeColorPicker--green" role="property"><title>The <literal>&quot;green&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--green"><primary sortas="GnomeColorPicker:green">GnomeColorPicker:green</primary></indexterm><programlisting>  &quot;green&quot;                    <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>The amount of green in the chosen color.</para><para>Allowed values: &lt;= 255</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GnomeColorPicker--red" role="property"><title>The <literal>&quot;red&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--red"><primary sortas="GnomeColorPicker:red">GnomeColorPicker:red</primary></indexterm><programlisting>  &quot;red&quot;                      <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>The amount of red in the chosen color.</para><para>Allowed values: &lt;= 255</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GnomeColorPicker--title" role="property"><title>The <literal>&quot;title&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--title"><primary sortas="GnomeColorPicker:title">GnomeColorPicker:title</primary></indexterm><programlisting>  &quot;title&quot;                    <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>The title to give to the color picker.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GnomeColorPicker--use-alpha" role="property"><title>The <literal>&quot;use-alpha&quot;</literal> property</title>
<indexterm zone="GnomeColorPicker--use-alpha"><primary sortas="GnomeColorPicker:use-alpha">GnomeColorPicker:use-alpha</primary></indexterm><programlisting>  &quot;use-alpha&quot;                <link linkend="gboolean">gboolean</link>              : Read / Write</programlisting>
<para>Whether or not to give the color an alpha value.</para><para>Default value: FALSE</para>
</refsect2>
</refsect1>

<refsect1 id="GnomeColorPicker.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="GnomeColorPicker-color-set" role="signal"><title>The <literal>&quot;color-set&quot;</literal> signal</title>
<indexterm zone="GnomeColorPicker-color-set"><primary sortas="GnomeColorPicker::color-set">GnomeColorPicker::color-set</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="GnomeColorPicker">GnomeColorPicker</link> *colorpicker,
                                                        <link linkend="guint">guint</link>             arg1,
                                                        <link linkend="guint">guint</link>             arg2,
                                                        <link linkend="guint">guint</link>             arg3,
                                                        <link linkend="guint">guint</link>             arg4,
                                                        <link linkend="gpointer">gpointer</link>          user_data)        : Run First</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>colorpicker</parameter>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg2</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg3</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg4</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
