Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 81

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gdk::Color Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="classGdk_1_1Color.html">Color</a>
  </div>
</div>
<div class="contents">
<h1>Gdk::Color Class Reference</h1><!-- doxytag: class="Gdk::Color" -->
<p><a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a> is used to describe an allocated or unallocated color. <a href="#_details">More...</a></p>

<p><a href="classGdk_1_1Color-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a38b626b2a1229e3dd18d3be70b5d95b3">Color</a> (GdkColor* gobject, bool make_a_copy=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aaf4c7297d0a75cbb9f2a9d4af79d685a">Color</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ae1b20e1c0b3cdc9a598375efabef2555">operator=</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ad8a2f5e61fd92ff330d8c2445713a75c">~Color</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a2b470a20a8fadb1edec78b4dff3ccf14">swap</a> (<a class="el" href="classGdk_1_1Color.html">Color</a>&amp; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#adaf51356a25a8080fd117b3c0401f8d3">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#adaf51356a25a8080fd117b3c0401f8d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ac9a63d39cf10b78c42553231c5a41664">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ac9a63d39cf10b78c42553231c5a41664"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aec15d74b85ff96e0c35a0cafe8041646">gobj_copy</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#aec15d74b85ff96e0c35a0cafe8041646"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a0336b76ae18bf528bf6d126dc56a04a7">Color</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a new <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. <a href="#a0336b76ae18bf528bf6d126dc56a04a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a8d88d6826d957b23c63469f9a9301f10">Color</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a new <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. <a href="#a8d88d6826d957b23c63469f9a9301f10"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ac99818ec1f5763bae69f8e51f679119a">set_grey</a> (gushort <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a grey color, by using the same value for all color components. <a href="#ac99818ec1f5763bae69f8e51f679119a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aa9c9b79aee1330d15607496aa58416c2">set_grey_p</a> (double g)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a3b9039c60b8bbdf828563328f30ad9c1">set_rgb</a> (gushort red_, gushort green_, gushort blue_)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the color, by specifying red, green, and blue color component values. <a href="#a3b9039c60b8bbdf828563328f30ad9c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a145aa4df12014032c4f3d8a4e7584221">set_rgb_p</a> (double red_, double green_, double blue_)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the color, by specifying red, green, and blue color component values, as percentages. <a href="#a145aa4df12014032c4f3d8a4e7584221"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ab204460cdc315e5114ae9be2e99cd80d">set_hsv</a> (double h, double s, double v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ab48ca94b934b1574597decc3c25c510a">set_hsl</a> (double h, double s, double l)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a7ada60cada9db85ff439edd5444adaf3">set</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a textual specification of a color and fills in the red, green, and blue values. <a href="#a7ada60cada9db85ff439edd5444adaf3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a332b783371b11101b88c3f17d43316d3">parse</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; spec)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a0aa7063c10eecbdd1e8e622184682b83">get_red</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the red component of the color. <a href="#a0aa7063c10eecbdd1e8e622184682b83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a0a6775026d0016d27f449f3a48c5a62c">get_green</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the green component of the color. <a href="#a0a6775026d0016d27f449f3a48c5a62c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gushort&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a85ef9981171d27bb31a900f5a87370d8">get_blue</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the blue component of the color. <a href="#a85ef9981171d27bb31a900f5a87370d8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aa49b85517031bb6c5064693fe8e97ebc">set_red</a> (gushort <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the red component of the color. <a href="#aa49b85517031bb6c5064693fe8e97ebc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ae18d21bf970a2afa2b5a78526397b813">set_green</a> (gushort <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the green component of the color. <a href="#ae18d21bf970a2afa2b5a78526397b813"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ac50fbf99168661a3170a2117e22688d4">set_blue</a> (gushort <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the blue component of the color. <a href="#ac50fbf99168661a3170a2117e22688d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aacc24614ed01888f6fcedfb9a6738e36">rgb_find_color</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a> &gt;&amp; map)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This will fill in the pixel field with the best matching pixel from a color cube. <a href="#aacc24614ed01888f6fcedfb9a6738e36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a8646ca5885afa06af19b9273a01ac829">get_pixel</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pixel value, for allocated colors. <a href="#a8646ca5885afa06af19b9273a01ac829"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ab26f3b996a5a4fb65a25fa3c31e36dce">get_red_p</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the red component of the color, as a percentage. <a href="#ab26f3b996a5a4fb65a25fa3c31e36dce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#aa123654f82e0f7b64f0cdc3a899dfbc3">get_green_p</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the green component of the color, as a percentage. <a href="#aa123654f82e0f7b64f0cdc3a899dfbc3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a66e2303219d61e97f956a14fdaaf3bcd">get_blue_p</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the blue component of the color, as a percentage. <a href="#a66e2303219d61e97f956a14fdaaf3bcd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#ac340ff044564bcf9531daee9ce994918">to_string</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a textual specification of color in the hexadecimal form rrrrggggbbbb, where r, g and b are hex digits representing the red, green and blue components respectively. <a href="#ac340ff044564bcf9531daee9ce994918"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a1dae95e856d042d4cb3387e37a26ef79">gobject_</a></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Color.html#a5bbf27dde61754494f9a2ed31fbb2b79">wrap</a> (GdkColor* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5bbf27dde61754494f9a2ed31fbb2b79"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a> is used to describe an allocated or unallocated color. </p>
<p>It contains the following data: pixel: For allocated colors, the value used to draw this color on the screen. red: The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensitiy. green: The green component of the color. blue: The blue component of the color. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a38b626b2a1229e3dd18d3be70b5d95b3"></a><!-- doxytag: member="Gdk::Color::Color" ref="a38b626b2a1229e3dd18d3be70b5d95b3" args="(GdkColor *gobject, bool make_a_copy=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Color::Color </td>
          <td>(</td>
          <td class="paramtype">GdkColor *&#160;</td>
          <td class="paramname"> <em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>make_a_copy</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaf4c7297d0a75cbb9f2a9d4af79d685a"></a><!-- doxytag: member="Gdk::Color::Color" ref="aaf4c7297d0a75cbb9f2a9d4af79d685a" args="(const Color &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Color::Color </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8a2f5e61fd92ff330d8c2445713a75c"></a><!-- doxytag: member="Gdk::Color::~Color" ref="ad8a2f5e61fd92ff330d8c2445713a75c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Color::~Color </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0336b76ae18bf528bf6d126dc56a04a7"></a><!-- doxytag: member="Gdk::Color::Color" ref="a0336b76ae18bf528bf6d126dc56a04a7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Color::Color </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiate a new <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. </p>
<p>You should then use the set methods and call <a class="el" href="classGdk_1_1Colormap.html#a798a90a164bd95a865360b573455407c" title="Allocates a single color from a colormap.">Gdk::Colormap::alloc_color()</a>. </p>

</div>
</div>
<a class="anchor" id="a8d88d6826d957b23c63469f9a9301f10"></a><!-- doxytag: member="Gdk::Color::Color" ref="a8d88d6826d957b23c63469f9a9301f10" args="(const Glib::ustring &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Color::Color </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiate a new <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. </p>
<p>The color is not allocated - you must call <a class="el" href="classGdk_1_1Colormap.html#a798a90a164bd95a865360b573455407c" title="Allocates a single color from a colormap.">Gdk::Colormap::alloc_color()</a> yourself. The text string can be in any of the forms accepted by XParseColor; these include names for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as 305050. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>the string specifying the color.. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a85ef9981171d27bb31a900f5a87370d8"></a><!-- doxytag: member="Gdk::Color::get_blue" ref="a85ef9981171d27bb31a900f5a87370d8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gushort Gdk::Color::get_blue </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the blue component of the color. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The blue component of the color. </dd></dl>

</div>
</div>
<a class="anchor" id="a66e2303219d61e97f956a14fdaaf3bcd"></a><!-- doxytag: member="Gdk::Color::get_blue_p" ref="a66e2303219d61e97f956a14fdaaf3bcd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gdk::Color::get_blue_p </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the blue component of the color, as a percentage. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The blue component of the color, as a percentage. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a6775026d0016d27f449f3a48c5a62c"></a><!-- doxytag: member="Gdk::Color::get_green" ref="a0a6775026d0016d27f449f3a48c5a62c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gushort Gdk::Color::get_green </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the green component of the color. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The green component of the color. </dd></dl>

</div>
</div>
<a class="anchor" id="aa123654f82e0f7b64f0cdc3a899dfbc3"></a><!-- doxytag: member="Gdk::Color::get_green_p" ref="aa123654f82e0f7b64f0cdc3a899dfbc3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gdk::Color::get_green_p </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the green component of the color, as a percentage. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The green component of the color, as a percentage. </dd></dl>

</div>
</div>
<a class="anchor" id="a8646ca5885afa06af19b9273a01ac829"></a><!-- doxytag: member="Gdk::Color::get_pixel" ref="a8646ca5885afa06af19b9273a01ac829" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gdk::Color::get_pixel </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the pixel value, for allocated colors. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>For allocated colors, the value used to draw this color on the screen. </dd></dl>

</div>
</div>
<a class="anchor" id="a0aa7063c10eecbdd1e8e622184682b83"></a><!-- doxytag: member="Gdk::Color::get_red" ref="a0aa7063c10eecbdd1e8e622184682b83" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gushort Gdk::Color::get_red </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the red component of the color. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The red component of the color. </dd></dl>

</div>
</div>
<a class="anchor" id="ab26f3b996a5a4fb65a25fa3c31e36dce"></a><!-- doxytag: member="Gdk::Color::get_red_p" ref="ab26f3b996a5a4fb65a25fa3c31e36dce" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Gdk::Color::get_red_p </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the red component of the color, as a percentage. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The red component of the color, as a percentage. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9a63d39cf10b78c42553231c5a41664"></a><!-- doxytag: member="Gdk::Color::gobj" ref="ac9a63d39cf10b78c42553231c5a41664" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdkColor* Gdk::Color::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="adaf51356a25a8080fd117b3c0401f8d3"></a><!-- doxytag: member="Gdk::Color::gobj" ref="adaf51356a25a8080fd117b3c0401f8d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkColor* Gdk::Color::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="aec15d74b85ff96e0c35a0cafe8041646"></a><!-- doxytag: member="Gdk::Color::gobj_copy" ref="aec15d74b85ff96e0c35a0cafe8041646" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkColor* Gdk::Color::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="ae1b20e1c0b3cdc9a598375efabef2555"></a><!-- doxytag: member="Gdk::Color::operator=" ref="ae1b20e1c0b3cdc9a598375efabef2555" args="(const Color &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1Color.html">Color</a>&amp; Gdk::Color::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a332b783371b11101b88c3f17d43316d3"></a><!-- doxytag: member="Gdk::Color::parse" ref="a332b783371b11101b88c3f17d43316d3" args="(const Glib::ustring &amp;spec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gdk::Color::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>spec</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>See <a class="el" href="classGdk_1_1Color.html#a7ada60cada9db85ff439edd5444adaf3" title="Parses a textual specification of a color and fills in the red, green, and blue values...">set()</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="aacc24614ed01888f6fcedfb9a6738e36"></a><!-- doxytag: member="Gdk::Color::rgb_find_color" ref="aacc24614ed01888f6fcedfb9a6738e36" args="(const Glib::RefPtr&lt; Gdk::Colormap &gt; &amp;map)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::rgb_find_color </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Gdk::Colormap</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>map</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This will fill in the pixel field with the best matching pixel from a color cube. </p>
<p>The color is then ready to be used for drawing, e.g. you can call <a class="el" href="classGdk_1_1GC.html#ae16759ef3ee9b3696021369f61d62fea" title="Sets the foreground color for a graphics context.">Gdk::GC::set_foreground()</a> which expects pixel to be initialized. Call this after setting the red, green, and blue fields.</p>
<p>In many cases, you can avoid this whole issue by calling <a class="el" href="classGdk_1_1GC.html#afeebd8928915e5836ed5a2c0d13dcd09" title="Set the foreground color of a GC using an unallocated color.">Gdk::GC::set_rgb_fg_color()</a> or <a class="el" href="classGdk_1_1GC.html#acd78b85d14212d71a1af38b8b1524c5d" title="Set the background color of a GC using an unallocated color.">Gdk::GC::set_rgb_bg_color()</a>, which do not expect pixels to be initialized in advance. If you use those methods, there's no need for this method().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>map</em>&#160;</td><td>The colormap for the graphics context and drawable you're using to draw. If you're drawing to a <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Gtk::Widget</a>, call <a class="el" href="classGtk_1_1Widget.html#a43480282252e8318a49e29e9ff5ced5d" title="Gets the colormap that will be used to render widget.">Gtk::Widget::get_colormap()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ada60cada9db85ff439edd5444adaf3"></a><!-- doxytag: member="Gdk::Color::set" ref="a7ada60cada9db85ff439edd5444adaf3" args="(const Glib::ustring &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gdk::Color::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a textual specification of a color and fills in the red, green, and blue values. </p>
<p>The color is not allocated - you must call <a class="el" href="classGdk_1_1Colormap.html#a798a90a164bd95a865360b573455407c" title="Allocates a single color from a colormap.">Gdk::Colormap::alloc_color()</a> yourself. The text string can be in any of the forms accepted by XParseColor; these include names for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as 305050.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>the string specifying the color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the parsing succeeded. </dd></dl>

</div>
</div>
<a class="anchor" id="ac50fbf99168661a3170a2117e22688d4"></a><!-- doxytag: member="Gdk::Color::set_blue" ref="ac50fbf99168661a3170a2117e22688d4" args="(gushort value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_blue </td>
          <td>(</td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the blue component of the color. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>The blue component of the color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae18d21bf970a2afa2b5a78526397b813"></a><!-- doxytag: member="Gdk::Color::set_green" ref="ae18d21bf970a2afa2b5a78526397b813" args="(gushort value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_green </td>
          <td>(</td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the green component of the color. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>The green component of the color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac99818ec1f5763bae69f8e51f679119a"></a><!-- doxytag: member="Gdk::Color::set_grey" ref="ac99818ec1f5763bae69f8e51f679119a" args="(gushort value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_grey </td>
          <td>(</td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a grey color, by using the same value for all color components. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>The value to be used for the red, green, and blue components. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa9c9b79aee1330d15607496aa58416c2"></a><!-- doxytag: member="Gdk::Color::set_grey_p" ref="aa9c9b79aee1330d15607496aa58416c2" args="(double g)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_grey_p </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>g</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab48ca94b934b1574597decc3c25c510a"></a><!-- doxytag: member="Gdk::Color::set_hsl" ref="ab48ca94b934b1574597decc3c25c510a" args="(double h, double s, double l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_hsl </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>l</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab204460cdc315e5114ae9be2e99cd80d"></a><!-- doxytag: member="Gdk::Color::set_hsv" ref="ab204460cdc315e5114ae9be2e99cd80d" args="(double h, double s, double v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_hsv </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>v</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa49b85517031bb6c5064693fe8e97ebc"></a><!-- doxytag: member="Gdk::Color::set_red" ref="aa49b85517031bb6c5064693fe8e97ebc" args="(gushort value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_red </td>
          <td>(</td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the red component of the color. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&#160;</td><td>The red component of the color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b9039c60b8bbdf828563328f30ad9c1"></a><!-- doxytag: member="Gdk::Color::set_rgb" ref="a3b9039c60b8bbdf828563328f30ad9c1" args="(gushort red_, gushort green_, gushort blue_)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_rgb </td>
          <td>(</td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>red_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>green_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gushort&#160;</td>
          <td class="paramname"> <em>blue_</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the color, by specifying red, green, and blue color component values. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>red_</em>&#160;</td><td>The red component of the color. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>green_</em>&#160;</td><td>The green component of the color. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>blue_</em>&#160;</td><td>The blue component of the color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a145aa4df12014032c4f3d8a4e7584221"></a><!-- doxytag: member="Gdk::Color::set_rgb_p" ref="a145aa4df12014032c4f3d8a4e7584221" args="(double red_, double green_, double blue_)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::set_rgb_p </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>red_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>green_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"> <em>blue_</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the color, by specifying red, green, and blue color component values, as percentages. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>red_</em>&#160;</td><td>The red component of the color, as a percentage. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>green_</em>&#160;</td><td>The green component of the color, as a percentage. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>blue_</em>&#160;</td><td>The blue component of the color, as a percentage. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2b470a20a8fadb1edec78b4dff3ccf14"></a><!-- doxytag: member="Gdk::Color::swap" ref="a2b470a20a8fadb1edec78b4dff3ccf14" args="(Color &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Color::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac340ff044564bcf9531daee9ce994918"></a><!-- doxytag: member="Gdk::Color::to_string" ref="ac340ff044564bcf9531daee9ce994918" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::Color::to_string </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a textual specification of color in the hexadecimal form rrrrggggbbbb, where r, g and b are hex digits representing the red, green and blue components respectively. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The string representation.</dd></dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000001">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5bbf27dde61754494f9a2ed31fbb2b79"></a><!-- doxytag: member="Gdk::Color::wrap" ref="a5bbf27dde61754494f9a2ed31fbb2b79" args="(GdkColor *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1Color.html">Gdk::Color</a> wrap </td>
          <td>(</td>
          <td class="paramtype">GdkColor *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1dae95e856d042d4cb3387e37a26ef79"></a><!-- doxytag: member="Gdk::Color::gobject_" ref="a1dae95e856d042d4cb3387e37a26ef79" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkColor* <a class="el" href="classGdk_1_1Color.html#a1dae95e856d042d4cb3387e37a26ef79">Gdk::Color::gobject_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/color.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:43 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>