<!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::Rectangle 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.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGdk.html">Gdk</a> </li> <li class="navelem"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gdk::Rectangle Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gdk::Rectangle" --> <p><a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> is a structure holding the position and size of a rectangle. <a href="#_details">More...</a></p> <p><a href="classGdk_1_1Rectangle-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a4355c251991e793a3d1223a570636a73">Rectangle</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a6a5cee08222e450ce0634133f0b2dcdc">Rectangle</a> (const GdkRectangle* gobject)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkRectangle* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a523818baad192ae7116554867446a8cf">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a523818baad192ae7116554867446a8cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GdkRectangle* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#af758f3fa5443c2f0dad975bdfed112df">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af758f3fa5443c2f0dad975bdfed112df"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a4fc9fdc9c79bfb6e290630c91ed36796">Rectangle</a> (int x, int y, int width, int height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new rectangle instance with these dimensions. <a href="#a4fc9fdc9c79bfb6e290630c91ed36796"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#aa3482aa592511793902d1eedcb854ba7">join</a> (const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& src2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the union of two rectangles. <a href="#aa3482aa592511793902d1eedcb854ba7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#af7188c817c550890323012e543a96594">intersect</a> (const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& src2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the intersection of two rectangles, changing this rectangle. <a href="#af7188c817c550890323012e543a96594"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a0de9fe1fd7955800242844a35eb3cf5f">intersect</a> (const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& src2, bool& rectangles_intersect)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the intersection of two rectangles, changing this rectangle. <a href="#a0de9fe1fd7955800242844a35eb3cf5f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#ab1936e7e0a1fc241ca889ffeefe03e93">has_zero_area</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether either the width or height are 0. <a href="#ab1936e7e0a1fc241ca889ffeefe03e93"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a9617a6b06556cf678a349d943dc90662">get_x</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#ab4cdda52ab2748841ee867406a80e3bb">set_x</a> (const int&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01191.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#aa733ca00ef7dc830e42c7687daf1fc7c">get_y</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#ac001c280afb816507db7ee1448b51ff4">set_y</a> (const int&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01191.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a6768444395a35be136dcbcb96c092eeb">get_width</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a4ee72346a08bf546dc0763f19f6f713b">set_width</a> (const int&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01191.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a712def0281db83c9a5db54efdf08716a">get_height</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#a0fe5422ce2c1cdef0e54802390bb6d63">set_height</a> (const int&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01191.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GdkRectangle </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#afdbfa8f303faffbb217db17de152eda7">gobject_</a></td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#ade8b8c02001ee3d868068c10743a13dc">wrap</a> (GdkRectangle* object)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Rectangle.html#abdb81cb65b494d2e4a50888a1e29f64b">wrap</a> (const GdkRectangle* object)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p><a class="el" href="classGdk_1_1Rectangle.html" title="Gdk::Rectangle is a structure holding the position and size of a rectangle.">Gdk::Rectangle</a> is a structure holding the position and size of a rectangle. </p> <p>The intersection of two rectangles can be computed with <a class="el" href="classGdk_1_1Rectangle.html#af7188c817c550890323012e543a96594" title="Calculates the intersection of two rectangles, changing this rectangle.">intersect()</a>. To find the union of two rectangles use union(). </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a4355c251991e793a3d1223a570636a73"></a><!-- doxytag: member="Gdk::Rectangle::Rectangle" ref="a4355c251991e793a3d1223a570636a73" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::Rectangle::Rectangle </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6a5cee08222e450ce0634133f0b2dcdc"></a><!-- doxytag: member="Gdk::Rectangle::Rectangle" ref="a6a5cee08222e450ce0634133f0b2dcdc" args="(const GdkRectangle *gobject)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::Rectangle::Rectangle </td> <td>(</td> <td class="paramtype">const GdkRectangle * </td> <td class="paramname"><em>gobject</em></td><td>)</td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4fc9fdc9c79bfb6e290630c91ed36796"></a><!-- doxytag: member="Gdk::Rectangle::Rectangle" ref="a4fc9fdc9c79bfb6e290630c91ed36796" args="(int x, int y, int width, int height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::Rectangle::Rectangle </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>height</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a new rectangle instance with these dimensions. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a712def0281db83c9a5db54efdf08716a"></a><!-- doxytag: member="Gdk::Rectangle::get_height" ref="a712def0281db83c9a5db54efdf08716a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::Rectangle::get_height </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6768444395a35be136dcbcb96c092eeb"></a><!-- doxytag: member="Gdk::Rectangle::get_width" ref="a6768444395a35be136dcbcb96c092eeb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::Rectangle::get_width </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a9617a6b06556cf678a349d943dc90662"></a><!-- doxytag: member="Gdk::Rectangle::get_x" ref="a9617a6b06556cf678a349d943dc90662" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::Rectangle::get_x </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aa733ca00ef7dc830e42c7687daf1fc7c"></a><!-- doxytag: member="Gdk::Rectangle::get_y" ref="aa733ca00ef7dc830e42c7687daf1fc7c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gdk::Rectangle::get_y </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af758f3fa5443c2f0dad975bdfed112df"></a><!-- doxytag: member="Gdk::Rectangle::gobj" ref="af758f3fa5443c2f0dad975bdfed112df" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GdkRectangle* Gdk::Rectangle::gobj </td> <td>(</td> <td class="paramname"></td><td>)</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="a523818baad192ae7116554867446a8cf"></a><!-- doxytag: member="Gdk::Rectangle::gobj" ref="a523818baad192ae7116554867446a8cf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkRectangle* Gdk::Rectangle::gobj </td> <td>(</td> <td class="paramname"></td><td>)</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="ab1936e7e0a1fc241ca889ffeefe03e93"></a><!-- doxytag: member="Gdk::Rectangle::has_zero_area" ref="ab1936e7e0a1fc241ca889ffeefe03e93" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::Rectangle::has_zero_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether either the width or height are 0. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Whether this rectangle has any non-0 area. </dd></dl> </div> </div> <a class="anchor" id="af7188c817c550890323012e543a96594"></a><!-- doxytag: member="Gdk::Rectangle::intersect" ref="af7188c817c550890323012e543a96594" args="(const Rectangle &src2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& Gdk::Rectangle::intersect </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td> <td class="paramname"><em>src2</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Calculates the intersection of two rectangles, changing this rectangle. </p> <p>If the rectangles do not intersect, this rectangle's width and height is set to 0 and its x and y values are undefined.</p> <p>This method returns a reference to this instance, allowing you to then call another method easily. For instance: rect.intersect(src2).join(src3);</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">src2</td><td>The rectangle with which to calculate the intersection with this rectangle. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A reference to this rectangle. </dd></dl> </div> </div> <a class="anchor" id="a0de9fe1fd7955800242844a35eb3cf5f"></a><!-- doxytag: member="Gdk::Rectangle::intersect" ref="a0de9fe1fd7955800242844a35eb3cf5f" args="(const Rectangle &src2, bool &rectangles_intersect)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& Gdk::Rectangle::intersect </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td> <td class="paramname"><em>src2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"><em>rectangles_intersect</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Calculates the intersection of two rectangles, changing this rectangle. </p> <p>If the rectangles do not intersect, this rectangle's width and height is set to 0 and its x and y values are undefined.</p> <p>This method returns a reference to this instance, allowing you to then call another method easily. For instance: rect.intersect(src2).join(src3);</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">src2</td><td>The rectangle with which to calculate the intersection with this rectangle. </td></tr> <tr><td class="paramname">rectangles_interesect</td><td>This will be set to true if the rectangles intersect. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A reference to this rectangle. </dd></dl> </div> </div> <a class="anchor" id="aa3482aa592511793902d1eedcb854ba7"></a><!-- doxytag: member="Gdk::Rectangle::join" ref="aa3482aa592511793902d1eedcb854ba7" args="(const Rectangle &src2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& Gdk::Rectangle::join </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>& </td> <td class="paramname"><em>src2</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Calculates the union of two rectangles. </p> <p>The union of this rectangle and <em>src2</em> is the smallest rectangle which includes both this rectangle and <em>src2</em> within it.</p> <p>This method returns a reference to this instance, allowing you to then call another method easily. For instance: rect.join(src2).intersect(src3);</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">src2</td><td>The rectangle with which to calculate the union with this rectangle. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A reference to this rectangle. </dd></dl> </div> </div> <a class="anchor" id="a0fe5422ce2c1cdef0e54802390bb6d63"></a><!-- doxytag: member="Gdk::Rectangle::set_height" ref="a0fe5422ce2c1cdef0e54802390bb6d63" args="(const int &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::Rectangle::set_height </td> <td>(</td> <td class="paramtype">const int & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4ee72346a08bf546dc0763f19f6f713b"></a><!-- doxytag: member="Gdk::Rectangle::set_width" ref="a4ee72346a08bf546dc0763f19f6f713b" args="(const int &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::Rectangle::set_width </td> <td>(</td> <td class="paramtype">const int & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab4cdda52ab2748841ee867406a80e3bb"></a><!-- doxytag: member="Gdk::Rectangle::set_x" ref="ab4cdda52ab2748841ee867406a80e3bb" args="(const int &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::Rectangle::set_x </td> <td>(</td> <td class="paramtype">const int & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ac001c280afb816507db7ee1448b51ff4"></a><!-- doxytag: member="Gdk::Rectangle::set_y" ref="ac001c280afb816507db7ee1448b51ff4" args="(const int &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::Rectangle::set_y </td> <td>(</td> <td class="paramtype">const int & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="ade8b8c02001ee3d868068c10743a13dc"></a><!-- doxytag: member="Gdk::Rectangle::wrap" ref="ade8b8c02001ee3d868068c10743a13dc" args="(GdkRectangle *object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>& wrap </td> <td>(</td> <td class="paramtype">GdkRectangle * </td> <td class="paramname"><em>object</em></td><td>)</td> <td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance </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> <a class="anchor" id="abdb81cb65b494d2e4a50888a1e29f64b"></a><!-- doxytag: member="Gdk::Rectangle::wrap" ref="abdb81cb65b494d2e4a50888a1e29f64b" args="(const GdkRectangle *object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>& wrap </td> <td>(</td> <td class="paramtype">const GdkRectangle * </td> <td class="paramname"><em>object</em></td><td>)</td> <td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance </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="afdbfa8f303faffbb217db17de152eda7"></a><!-- doxytag: member="Gdk::Rectangle::gobject_" ref="afdbfa8f303faffbb217db17de152eda7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkRectangle <a class="el" href="classGdk_1_1Rectangle.html#afdbfa8f303faffbb217db17de152eda7">Gdk::Rectangle::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/rectangle.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>