<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Gtk::ColorSelection Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ColorSelection.html">ColorSelection</a></div> <h1>Gtk::ColorSelection Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>]</small> </h1><!-- doxytag: class="Gtk::ColorSelection" --><!-- doxytag: inherits="Gtk::VBox" -->Inheritance diagram for Gtk::ColorSelection:<p><center><img src="classGtk_1_1ColorSelection__inherit__graph.png" border="0" usemap="#Gtk_1_1ColorSelection__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1ColorSelection__inherit__map"> <area href="classGtk_1_1VBox.html" shape="rect" coords="76,548,159,575" alt=""> <area href="classGtk_1_1Box.html" shape="rect" coords="80,471,155,498" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="61,394,173,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="71,316,164,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,266" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="7,162,100,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="53,84,179,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="128,162,237,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="60,7,172,34" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,266" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ColorSelection-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A widget used to select a color. <p> This widget is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity.<p> It is found on the standard color selection dialog box <a class="el" href="classGtk_1_1ColorSelectionDialog.html">Gtk::ColorSelectionDialog</a>. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef sigc::slot< void,<br> const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a>>&,<br> const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">SlotChangePaletteHook</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#76892f4b47062bcb38f409ab436b09f7">ColorSelection</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">guint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#4a36eecb4cdff5f2755a4bc160acafd0">get_current_alpha</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: an integer between 0 and 65535. <a href="#4a36eecb4cdff5f2755a4bc160acafd0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#de4cc274c4bb44cc0265735097315c65">get_current_color</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#24cb93208fd0d514d82b31fd0b22f0d1">get_has_opacity_control</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the colorsel has an opacity control. <a href="#24cb93208fd0d514d82b31fd0b22f0d1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#a6adf3889f1aae37dd1babe111c2211f">get_has_palette</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the color selector has a color palette. <a href="#a6adf3889f1aae37dd1babe111c2211f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">guint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#c2c9fca43db00efda3ad729d6d686c5e">get_previous_alpha</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return value: an integer between 0 and 65535. <a href="#c2c9fca43db00efda3ad729d6d686c5e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#759f5de8dcfd5f04b450f387a26fa8ae">get_previous_color</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkColorSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#e602f18727fe546171e8f85314501359">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#e602f18727fe546171e8f85314501359"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkColorSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#6460aa23f7666b6ac4f919d869ab1a69">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#6460aa23f7666b6ac4f919d869ab1a69"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#9eccee31d39c68d563b6235525e2af2d">is_adjusting</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current state of the <em>colorsel</em>. <a href="#9eccee31d39c68d563b6235525e2af2d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#e7e797f54a0ec8a0f5bc644de03cd32e">property_current_alpha</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current opacity value (0 fully transparent, 65535 fully opaque). <a href="#e7e797f54a0ec8a0f5bc644de03cd32e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#920e02be0aece62908f94821885bb9f8">property_current_alpha</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current opacity value (0 fully transparent, 65535 fully opaque). <a href="#920e02be0aece62908f94821885bb9f8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#4655355867bbc2465a8dba905dfdde0f">property_current_color</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current color. <a href="#4655355867bbc2465a8dba905dfdde0f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#8a4ad18e47c869bf4d75dcb86481a7ca">property_current_color</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current color. <a href="#8a4ad18e47c869bf4d75dcb86481a7ca"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#166eb83d13b08f9f8c8e9a8473f4c5a4">property_has_opacity_control</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the color selector should allow setting opacity. <a href="#166eb83d13b08f9f8c8e9a8473f4c5a4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#150f2c6a2ff1e67547d0f0c6a2384ef8">property_has_opacity_control</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the color selector should allow setting opacity. <a href="#150f2c6a2ff1e67547d0f0c6a2384ef8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<br> bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#a8b168147398c5663006f7d162ffc6b4">property_has_palette</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether a palette should be used. <a href="#a8b168147398c5663006f7d162ffc6b4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#586ad882df27617262bb23dac50da6ee">property_has_palette</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether a palette should be used. <a href="#586ad882df27617262bb23dac50da6ee"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#02b52984c9d9af90de3091ac72606a7a">set_current_alpha</a> (guint16 alpha)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current opacity to be <em>alpha</em>. <a href="#02b52984c9d9af90de3091ac72606a7a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#24d7fa54dec18914a8a2627d769e8f07">set_current_color</a> (const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>& color)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the current color to be <em>color</em>. <a href="#24d7fa54dec18914a8a2627d769e8f07"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#392ffd54f85e6ff00ce72547127c7223">set_has_opacity_control</a> (bool has_opacity=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>colorsel</em> to use or not use opacity. <a href="#392ffd54f85e6ff00ce72547127c7223"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#46fc8b7ac3781cdefc558644220c582e">set_has_palette</a> (bool has_palette=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Shows and hides the palette based upon the value of <em>has_palette</em>. <a href="#46fc8b7ac3781cdefc558644220c582e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#75777d08b68bb0ef4f1fad0dde000b77">set_previous_alpha</a> (guint16 alpha)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the 'previous' alpha to be <em>alpha</em>. <a href="#75777d08b68bb0ef4f1fad0dde000b77"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#a1775ab0f5cdb6f9b645e5af252025a7">set_previous_color</a> (const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>& color)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the 'previous' color to be <em>color</em>. <a href="#a1775ab0f5cdb6f9b645e5af252025a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#0191b6d1ebf7cb4152ec061f782f8946">signal_color_changed</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_color_changed()</code> </dd></dl> <a href="#0191b6d1ebf7cb4152ec061f782f8946"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#e8f5d2343d6f4c5460aa48a7565d802b">~ColorSelection</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#34e37d5d18330e53ac3fd8daa21cbae1">palette_from_string</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#00dfaa1ef82402369ecf970fe52f186b">palette_to_string</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>& colors)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">SlotChangePaletteHook</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#86940c5f7bd134f03c0f5950cf98bf88">set_change_palette_hook</a> (const <a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">SlotChangePaletteHook</a>& slot)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#ca2d7ea7a842a245a5b6b669eff013a2">on_color_changed</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1ColorSelection.html">Gtk::ColorSelection</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ColorSelection.html#1daf8ae2e109ab0b38f27dbff55d5887">wrap</a> (GtkColorSelection* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#1daf8ae2e109ab0b38f27dbff55d5887"></a><br></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="5f611843a6e456c107d8d2bf963ad784"></a><!-- doxytag: member="Gtk::ColorSelection::SlotChangePaletteHook" ref="5f611843a6e456c107d8d2bf963ad784" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef sigc::slot<void, const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a>>&, const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&> <a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">Gtk::ColorSelection::SlotChangePaletteHook</a> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="e8f5d2343d6f4c5460aa48a7565d802b"></a><!-- doxytag: member="Gtk::ColorSelection::~ColorSelection" ref="e8f5d2343d6f4c5460aa48a7565d802b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::ColorSelection::~ColorSelection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="76892f4b47062bcb38f409ab436b09f7"></a><!-- doxytag: member="Gtk::ColorSelection::ColorSelection" ref="76892f4b47062bcb38f409ab436b09f7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ColorSelection::ColorSelection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="4a36eecb4cdff5f2755a4bc160acafd0"></a><!-- doxytag: member="Gtk::ColorSelection::get_current_alpha" ref="4a36eecb4cdff5f2755a4bc160acafd0" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint16 Gtk::ColorSelection::get_current_alpha </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: an integer between 0 and 65535. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>An integer between 0 and 65535. </dd></dl> </div> </div><p> <a class="anchor" name="de4cc274c4bb44cc0265735097315c65"></a><!-- doxytag: member="Gtk::ColorSelection::get_current_color" ref="de4cc274c4bb44cc0265735097315c65" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> Gtk::ColorSelection::get_current_color </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="24cb93208fd0d514d82b31fd0b22f0d1"></a><!-- doxytag: member="Gtk::ColorSelection::get_has_opacity_control" ref="24cb93208fd0d514d82b31fd0b22f0d1" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::ColorSelection::get_has_opacity_control </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Determines whether the colorsel has an opacity control. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the <em>colorsel</em> has an opacity control. <code>false</code> if it does't. </dd></dl> </div> </div><p> <a class="anchor" name="a6adf3889f1aae37dd1babe111c2211f"></a><!-- doxytag: member="Gtk::ColorSelection::get_has_palette" ref="a6adf3889f1aae37dd1babe111c2211f" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::ColorSelection::get_has_palette </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Determines whether the color selector has a color palette. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the selector has a palette. <code>false</code> if it hasn't. </dd></dl> </div> </div><p> <a class="anchor" name="c2c9fca43db00efda3ad729d6d686c5e"></a><!-- doxytag: member="Gtk::ColorSelection::get_previous_alpha" ref="c2c9fca43db00efda3ad729d6d686c5e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint16 Gtk::ColorSelection::get_previous_alpha </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Return value: an integer between 0 and 65535. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>An integer between 0 and 65535. </dd></dl> </div> </div><p> <a class="anchor" name="759f5de8dcfd5f04b450f387a26fa8ae"></a><!-- doxytag: member="Gtk::ColorSelection::get_previous_color" ref="759f5de8dcfd5f04b450f387a26fa8ae" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> Gtk::ColorSelection::get_previous_color </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e602f18727fe546171e8f85314501359"></a><!-- doxytag: member="Gtk::ColorSelection::gobj" ref="e602f18727fe546171e8f85314501359" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkColorSelection* Gtk::ColorSelection::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1VBox.html#6fae1554da5bffdfefbb6dad85d05afb">Gtk::VBox</a>. </div> </div><p> <a class="anchor" name="6460aa23f7666b6ac4f919d869ab1a69"></a><!-- doxytag: member="Gtk::ColorSelection::gobj" ref="6460aa23f7666b6ac4f919d869ab1a69" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkColorSelection* Gtk::ColorSelection::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C GtkObject. <p> <p> Reimplemented from <a class="el" href="classGtk_1_1VBox.html#4e6ed5a59c876487524d4c0af1162f31">Gtk::VBox</a>. </div> </div><p> <a class="anchor" name="9eccee31d39c68d563b6235525e2af2d"></a><!-- doxytag: member="Gtk::ColorSelection::is_adjusting" ref="9eccee31d39c68d563b6235525e2af2d" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::ColorSelection::is_adjusting </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the current state of the <em>colorsel</em>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the user is currently dragging a color around, and <code>false</code> if the selection has stopped. </dd></dl> </div> </div><p> <a class="anchor" name="ca2d7ea7a842a245a5b6b669eff013a2"></a><!-- doxytag: member="Gtk::ColorSelection::on_color_changed" ref="ca2d7ea7a842a245a5b6b669eff013a2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::ColorSelection::on_color_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="34e37d5d18330e53ac3fd8daa21cbae1"></a><!-- doxytag: member="Gtk::ColorSelection::palette_from_string" ref="34e37d5d18330e53ac3fd8daa21cbae1" args="(const Glib::ustring &str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a> Gtk::ColorSelection::palette_from_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="00dfaa1ef82402369ecf970fe52f186b"></a><!-- doxytag: member="Gtk::ColorSelection::palette_to_string" ref="00dfaa1ef82402369ecf970fe52f186b" args="(const Gdk::ArrayHandle_Color &colors)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ColorSelection::palette_to_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a> & </td> <td class="paramname"> <em>colors</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="e7e797f54a0ec8a0f5bc644de03cd32e"></a><!-- doxytag: member="Gtk::ColorSelection::property_current_alpha" ref="e7e797f54a0ec8a0f5bc644de03cd32e" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::ColorSelection::property_current_alpha </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The current opacity value (0 fully transparent, 65535 fully opaque). <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="920e02be0aece62908f94821885bb9f8"></a><!-- doxytag: member="Gtk::ColorSelection::property_current_alpha" ref="920e02be0aece62908f94821885bb9f8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> Gtk::ColorSelection::property_current_alpha </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The current opacity value (0 fully transparent, 65535 fully opaque). <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="4655355867bbc2465a8dba905dfdde0f"></a><!-- doxytag: member="Gtk::ColorSelection::property_current_color" ref="4655355867bbc2465a8dba905dfdde0f" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>> Gtk::ColorSelection::property_current_color </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> The current color. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="8a4ad18e47c869bf4d75dcb86481a7ca"></a><!-- doxytag: member="Gtk::ColorSelection::property_current_color" ref="8a4ad18e47c869bf4d75dcb86481a7ca" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>> Gtk::ColorSelection::property_current_color </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> The current color. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="166eb83d13b08f9f8c8e9a8473f4c5a4"></a><!-- doxytag: member="Gtk::ColorSelection::property_has_opacity_control" ref="166eb83d13b08f9f8c8e9a8473f4c5a4" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ColorSelection::property_has_opacity_control </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether the color selector should allow setting opacity. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="150f2c6a2ff1e67547d0f0c6a2384ef8"></a><!-- doxytag: member="Gtk::ColorSelection::property_has_opacity_control" ref="150f2c6a2ff1e67547d0f0c6a2384ef8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ColorSelection::property_has_opacity_control </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Whether the color selector should allow setting opacity. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="a8b168147398c5663006f7d162ffc6b4"></a><!-- doxytag: member="Gtk::ColorSelection::property_has_palette" ref="a8b168147398c5663006f7d162ffc6b4" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ColorSelection::property_has_palette </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Whether a palette should be used. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="586ad882df27617262bb23dac50da6ee"></a><!-- doxytag: member="Gtk::ColorSelection::property_has_palette" ref="586ad882df27617262bb23dac50da6ee" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ColorSelection::property_has_palette </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Whether a palette should be used. <p> You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div><p> <a class="anchor" name="86940c5f7bd134f03c0f5950cf98bf88"></a><!-- doxytag: member="Gtk::ColorSelection::set_change_palette_hook" ref="86940c5f7bd134f03c0f5950cf98bf88" args="(const SlotChangePaletteHook &slot)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">SlotChangePaletteHook</a> Gtk::ColorSelection::set_change_palette_hook </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1ColorSelection.html#5f611843a6e456c107d8d2bf963ad784">SlotChangePaletteHook</a>& </td> <td class="paramname"> <em>slot</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="02b52984c9d9af90de3091ac72606a7a"></a><!-- doxytag: member="Gtk::ColorSelection::set_current_alpha" ref="02b52984c9d9af90de3091ac72606a7a" args="(guint16 alpha)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_current_alpha </td> <td>(</td> <td class="paramtype">guint16 </td> <td class="paramname"> <em>alpha</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the current opacity to be <em>alpha</em>. <p> The first time this is called, it will also set the original opacity to be <em>alpha</em> too. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>alpha</em> </td><td>An integer between 0 and 65535. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="24d7fa54dec18914a8a2627d769e8f07"></a><!-- doxytag: member="Gtk::ColorSelection::set_current_color" ref="24d7fa54dec18914a8a2627d769e8f07" args="(const Gdk::Color &color)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_current_color </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>& </td> <td class="paramname"> <em>color</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the current color to be <em>color</em>. <p> The first time this is called, it will also set the original color to be <em>color</em> too. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>A <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> to set the current color with. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="392ffd54f85e6ff00ce72547127c7223"></a><!-- doxytag: member="Gtk::ColorSelection::set_has_opacity_control" ref="392ffd54f85e6ff00ce72547127c7223" args="(bool has_opacity=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_has_opacity_control </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>has_opacity</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <em>colorsel</em> to use or not use opacity. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>has_opacity</em> </td><td><code>true</code> if <em>colorsel</em> can set the opacity, <code>false</code> otherwise. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="46fc8b7ac3781cdefc558644220c582e"></a><!-- doxytag: member="Gtk::ColorSelection::set_has_palette" ref="46fc8b7ac3781cdefc558644220c582e" args="(bool has_palette=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_has_palette </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>has_palette</em> = <code>true</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Shows and hides the palette based upon the value of <em>has_palette</em>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>has_palette</em> </td><td><code>true</code> if palette is to be visible, <code>false</code> otherwise. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="75777d08b68bb0ef4f1fad0dde000b77"></a><!-- doxytag: member="Gtk::ColorSelection::set_previous_alpha" ref="75777d08b68bb0ef4f1fad0dde000b77" args="(guint16 alpha)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_previous_alpha </td> <td>(</td> <td class="paramtype">guint16 </td> <td class="paramname"> <em>alpha</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the 'previous' alpha to be <em>alpha</em>. <p> This function should be called with some hesitations, as it might seem confusing to have that alpha change. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>alpha</em> </td><td>An integer between 0 and 65535. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="a1775ab0f5cdb6f9b645e5af252025a7"></a><!-- doxytag: member="Gtk::ColorSelection::set_previous_color" ref="a1775ab0f5cdb6f9b645e5af252025a7" args="(const Gdk::Color &color)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ColorSelection::set_previous_color </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>& </td> <td class="paramname"> <em>color</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the 'previous' color to be <em>color</em>. <p> This function should be called with some hesitations, as it might seem confusing to have that color change. Calling <a class="el" href="classGtk_1_1ColorSelection.html#24d7fa54dec18914a8a2627d769e8f07">set_current_color()</a> will also set this color the first time it is called. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>color</em> </td><td>A <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> to set the previous color with. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="0191b6d1ebf7cb4152ec061f782f8946"></a><!-- doxytag: member="Gtk::ColorSelection::signal_color_changed" ref="0191b6d1ebf7cb4152ec061f782f8946" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Gtk::ColorSelection::signal_color_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_color_changed()</code> </dd></dl> <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="1daf8ae2e109ab0b38f27dbff55d5887"></a><!-- doxytag: member="Gtk::ColorSelection::wrap" ref="1daf8ae2e109ab0b38f27dbff55d5887" args="(GtkColorSelection *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1ColorSelection.html">Gtk::ColorSelection</a>* wrap </td> <td>(</td> <td class="paramtype">GtkColorSelection * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="colorselection_8h.html">colorselection.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>