Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 1004

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!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>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> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gtk::ColorSelection Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1>A widget used to select a color. 
<a href="#_details">More...</a>
<p>
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="35,433,104,452" alt="">
<area href="classGtk_1_1Box.html" shape="rect" coords="39,364,100,383" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="21,295,117,313" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="31,225,108,244" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="31,156,108,175" alt="">
<area href="classGlib_1_1Object.html" shape="rect" coords="29,87,109,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="15,17,124,36" 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><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef SigC::Slot2&lt; void,<br>
 const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a>&gt;&amp;,<br>
 const <a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&amp; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#s0">SlotChangePaletteHook</a></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a0">~ColorSelection</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GtkColorSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GtkColorSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a3">ColorSelection</a> ()</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a4">get_has_opacity_control</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Determines whether the colorsel has an opacity control.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a5">set_has_opacity_control</a> (bool has_opacity=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the <em>colorsel</em> to use or not use opacity.</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a6">get_has_palette</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Determines whether the color selector has a color palette.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a7">set_has_palette</a> (bool has_palette=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Shows and hides the palette based upon the value of <em>has_palette</em> .</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a8">set_current_color</a> (const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp; color)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the current color to be <em>color</em> .</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a9">set_current_alpha</a> (guint16 alpha)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the current opacity to be <em>alpha</em> .</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a10">get_current_color</a> () const</td></tr>
<tr><td nowrap align=right valign=top>guint16&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a11">get_current_alpha</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the current alpha value.</em> <a href="#a11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a12">set_previous_color</a> (const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp; color)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the 'previous' color to be <em>color</em> .</em> <a href="#a12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a13">set_previous_alpha</a> (guint16 alpha)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the 'previous' alpha to be <em>alpha</em> .</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a14">get_previous_color</a> () const</td></tr>
<tr><td nowrap align=right valign=top>guint16&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a15">get_previous_alpha</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the previous alpha value.</em> <a href="#a15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a16">is_adjusting</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the current state of the <em>colorsel</em> .</em> <a href="#a16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a17">signal_color_changed</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a18">property_has_palette</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a19">property_has_opacity_control</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a20">property_current_color</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#a21">property_current_alpha</a> ()</td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#d0">palette_from_string</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; str)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#d1">palette_to_string</a> (const <a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&amp; colors)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1ColorSelection.html#s0">SlotChangePaletteHook</a>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#d2">set_change_palette_hook</a> (const <a class="el" href="classGtk_1_1ColorSelection.html#s0">SlotChangePaletteHook</a>&amp; slot)</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#b0">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 nowrap align=right valign=top>Gtk::ColorSelection*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1ColorSelection.html#k0">wrap</a> (GtkColorSelection* object, bool take_copy=false)</td></tr>
</table>
<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>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="Gtk::ColorSelection::SlotChangePaletteHook"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef SigC::Slot2&lt;void, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Gdk::Screen</a>&gt;&amp;, const <a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&amp;&gt; Gtk::ColorSelection::SlotChangePaletteHook
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gtk::ColorSelection::~ColorSelection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gtk::ColorSelection::~ColorSelection </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="Gtk::ColorSelection::ColorSelection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::ColorSelection::ColorSelection </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a11" doxytag="Gtk::ColorSelection::get_current_alpha"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> guint16 Gtk::ColorSelection::get_current_alpha </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the current alpha value.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>An integer between 0 and 65535. </dd></dl>
    </td>
  </tr>
</table>
<a name="a10" doxytag="Gtk::ColorSelection::get_current_color"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> Gtk::ColorSelection::get_current_color </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Gtk::ColorSelection::get_has_opacity_control"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Gtk::ColorSelection::get_has_opacity_control </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the colorsel has an opacity control.
<p>
<dl 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>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Gtk::ColorSelection::get_has_palette"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Gtk::ColorSelection::get_has_palette </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the color selector has a color palette.
<p>
<dl 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>
    </td>
  </tr>
</table>
<a name="a15" doxytag="Gtk::ColorSelection::get_previous_alpha"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> guint16 Gtk::ColorSelection::get_previous_alpha </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the previous alpha value.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>An integer between 0 and 65535. </dd></dl>
    </td>
  </tr>
</table>
<a name="a14" doxytag="Gtk::ColorSelection::get_previous_color"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> Gtk::ColorSelection::get_previous_color </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a2" doxytag="Gtk::ColorSelection::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GtkColorSelection* Gtk::ColorSelection::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1VBox.html#a2">Gtk::VBox</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gtk::ColorSelection::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkColorSelection* Gtk::ColorSelection::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1VBox.html#a1">Gtk::VBox</a>.    </td>
  </tr>
</table>
<a name="a16" doxytag="Gtk::ColorSelection::is_adjusting"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Gtk::ColorSelection::is_adjusting </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the current state of the <em>colorsel</em> .
<p>
<dl 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>
    </td>
  </tr>
</table>
<a name="b0" doxytag="Gtk::ColorSelection::on_color_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Gtk::ColorSelection::on_color_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="d0" doxytag="Gtk::ColorSelection::palette_from_string"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a> Gtk::ColorSelection::palette_from_string </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="d1" doxytag="Gtk::ColorSelection::palette_to_string"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ColorSelection::palette_to_string </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1ArrayHandle.html">Gdk::ArrayHandle_Color</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>colors</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a21" doxytag="Gtk::ColorSelection::property_current_alpha"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt; Gtk::ColorSelection::property_current_alpha </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a20" doxytag="Gtk::ColorSelection::property_current_color"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&gt; Gtk::ColorSelection::property_current_color </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a19" doxytag="Gtk::ColorSelection::property_has_opacity_control"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::ColorSelection::property_has_opacity_control </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a18" doxytag="Gtk::ColorSelection::property_has_palette"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::ColorSelection::property_has_palette </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="d2" doxytag="Gtk::ColorSelection::set_change_palette_hook"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1ColorSelection.html#s0">SlotChangePaletteHook</a> Gtk::ColorSelection::set_change_palette_hook </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGtk_1_1ColorSelection.html#s0">SlotChangePaletteHook</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>slot</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a9" doxytag="Gtk::ColorSelection::set_current_alpha"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_current_alpha </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">guint16&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>alpha</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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><em>alpha</em>&nbsp;</td><td>An integer between 0 and 65535. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a8" doxytag="Gtk::ColorSelection::set_current_color"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_current_color </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>color</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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><em>color</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> to set the current color with. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a5" doxytag="Gtk::ColorSelection::set_has_opacity_control"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_has_opacity_control </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>has_opacity</em> = true          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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><em>has_opacity</em>&nbsp;</td><td><code>true</code> if <em>colorsel</em> can set the opacity, <code>false</code> otherwise. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a7" doxytag="Gtk::ColorSelection::set_has_palette"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_has_palette </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>has_palette</em> = true          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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><em>has_palette</em>&nbsp;</td><td><code>true</code> if palette is to be visible, <code>false</code> otherwise. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a13" doxytag="Gtk::ColorSelection::set_previous_alpha"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_previous_alpha </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">guint16&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>alpha</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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><em>alpha</em>&nbsp;</td><td>An integer between 0 and 65535. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a12" doxytag="Gtk::ColorSelection::set_previous_color"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::ColorSelection::set_previous_color </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>color</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<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#a8">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><em>color</em>&nbsp;</td><td>A <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> to set the previous color with. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a name="a17" doxytag="Gtk::ColorSelection::signal_color_changed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt; Gtk::ColorSelection::signal_color_changed </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Prototype:</b></dt><dd><code>void color_changed()</code> </dd></dl>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Gtk::ColorSelection::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::ColorSelection* wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GtkColorSelection*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<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>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>