Sophie

Sophie

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

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: Gtk::Paned 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="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Paned.html">Paned</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Paned Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>,&#160;<a class="el" href="group__Containers.html">Container Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Paned" --><!-- doxytag: inherits="Gtk::Container" -->
<p>This is the base class for widgets with two panes, arranged either horizontally (<a class="el" href="classGtk_1_1HPaned.html" title="The Gtk::HPaned widget is a container widget with two children arranged horizontally...">Gtk::HPaned</a>) or vertically (<a class="el" href="classGtk_1_1VPaned.html" title="The Gtk::VPaned widget is a container widget with two children arranged vertically...">Gtk::VPaned</a>). <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Container.html">Gtk::Container</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1HPaned.html">Gtk::HPaned</a>, and <a class="el" href="classGtk_1_1VPaned.html">Gtk::VPaned</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Paned:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Paned__coll__graph.png" border="0" usemap="#Gtk_1_1Paned_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Paned_coll__map" id="Gtk_1_1Paned_coll__map">
<area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,392,165,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Paned-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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ae4d7c55abe6557558c66b3c826b14b3d">~Paned</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkPaned*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a672f115757f2bd346bec1163c1b6f29c">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a672f115757f2bd346bec1163c1b6f29c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkPaned*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a823bcd62e3b26f195aae5237a78c158f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a823bcd62e3b26f195aae5237a78c158f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ae9db9bfb402897b2ba92747ea6a0bddd">Paned</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ab4cf1c3eff6c4b1664ac8dafee2015a5">add1</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ae7ff241f5fe49b4d1c491f32c4b40c0f">add2</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a20c1df3426b948d56150ad1600bcd7b3">pack1</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, bool <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#ga8f9fdb05edd4a7364dec8a5e9ae2a0bb">resize</a>, bool shrink)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ad848a3c9a96af7460a924adf4da82e53">pack1</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, <a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> options=Gtk::EXPAND)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ab888df4f410adaca6bd832a4ae51c20a">pack2</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, bool <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#ga8f9fdb05edd4a7364dec8a5e9ae2a0bb">resize</a>, bool shrink)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a014fd97aaaaafaa0537dc213b458c68f">pack2</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, <a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> options=Gtk::EXPAND)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a096864b61da0ce11acf906e749ba7308">get_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the position of the divider between the two panes. <a href="#a096864b61da0ce11acf906e749ba7308"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a2f8c09293943318951e42ee0972595ca">set_position</a> (int position)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the position of the divider between the two panes. <a href="#a2f8c09293943318951e42ee0972595ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a1a401412a5cb15b5a3960e86d8ea6a2d">get_child1</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the first child of the paned widget. <a href="#a1a401412a5cb15b5a3960e86d8ea6a2d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a2e18615a4f78b0436e8b1c3f0d5bcb2b">get_child1</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the first child of the paned widget. <a href="#a2e18615a4f78b0436e8b1c3f0d5bcb2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a56e37214c27467eee0f1e537f3bb5086">get_child2</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the second child of the paned widget. <a href="#a56e37214c27467eee0f1e537f3bb5086"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a568828df47e89302f1d4ca65dc2a5b79">get_child2</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the second child of the paned widget. <a href="#a568828df47e89302f1d4ca65dc2a5b79"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#af6d9dec0e253f92be8f0dcb2f945a31a">get_handle_window</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> of the handle. <a href="#af6d9dec0e253f92be8f0dcb2f945a31a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a41921190059bfad372d39623f64f7685">get_handle_window</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> of the handle. <a href="#a41921190059bfad372d39623f64f7685"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a4e7d95b584d0bdc254c85ed599f9f85c">property_position</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of paned separator in pixels (0 means all the way to the left/top). <a href="#a4e7d95b584d0bdc254c85ed599f9f85c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ad230642e42045bda1e5d96c4b919726c">property_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of paned separator in pixels (0 means all the way to the left/top). <a href="#ad230642e42045bda1e5d96c4b919726c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a43199997009d4f0726c6a36b69269709">property_position_set</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">TRUE if the Position property should be used. <a href="#a43199997009d4f0726c6a36b69269709"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#a216f1511c84579ebf3a289266cce5b0b">property_position_set</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">TRUE if the Position property should be used. <a href="#a216f1511c84579ebf3a289266cce5b0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ada2df7616d36a6b6974277cc72d5acfa">property_min_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Smallest possible value for the 'position' property. <a href="#ada2df7616d36a6b6974277cc72d5acfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#ad23e9e0fdbee05e937b1015e95bdf15b">property_max_position</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Largest possible value for the 'position' property. <a href="#ad23e9e0fdbee05e937b1015e95bdf15b"></a><br/></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="classGtk_1_1Paned.html">Gtk::Paned</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Paned.html#aa2f1d669087433cc9410b7792315b6ea">wrap</a> (GtkPaned* 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="#aa2f1d669087433cc9410b7792315b6ea"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This is the base class for widgets with two panes, arranged either horizontally (<a class="el" href="classGtk_1_1HPaned.html" title="The Gtk::HPaned widget is a container widget with two children arranged horizontally...">Gtk::HPaned</a>) or vertically (<a class="el" href="classGtk_1_1VPaned.html" title="The Gtk::VPaned widget is a container widget with two children arranged vertically...">Gtk::VPaned</a>). </p>
<p>Child widgets are added to the panes of the widget with <a class="el" href="classGtk_1_1Paned.html#a20c1df3426b948d56150ad1600bcd7b3">pack1()</a> and <a class="el" href="classGtk_1_1Paned.html#ab888df4f410adaca6bd832a4ae51c20a">pack2()</a>. The division beween the two children is set by default from the size requests of the children, but it can be adjusted by the user.</p>
<p>A paned widget draws a separator between the two child widgets and a small handle that the user can drag to adjust the division. It does not draw any relief around the children or around the separator. Often, it is useful to put each child inside a <a class="el" href="classGtk_1_1Frame.html" title="A Gtk::Bin with a decorative frame and optional label.">Gtk::Frame</a> with the shadow type set to <a class="el" href="group__gtkmmEnums.html#ggac5cfb21bae7f04c83c5eabdacb92512eacf9802885c29c9c566924579e3ccbf72">Gtk::SHADOW_IN</a> so that the gutter appears as a ridge.</p>
<p>Each child has two options that can be set - resize and shrink. If resize is true, then when the GtkPaned is resized, that child will expand or shrink along with the paned widget. If shrink is true, then when that child can be made smaller than it's requisition. Setting shrink to false allows the application to set a minimum size. If resize is false for both children, then this is treated as if resize is true for both children.</p>
<p>The application can set the position of the slider as if it were set by the user, by calling <a class="el" href="classGtk_1_1Paned.html#a2f8c09293943318951e42ee0972595ca" title="Sets the position of the divider between the two panes.">set_position()</a>. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae4d7c55abe6557558c66b3c826b14b3d"></a><!-- doxytag: member="Gtk::Paned::~Paned" ref="ae4d7c55abe6557558c66b3c826b14b3d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Paned::~Paned </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab4cf1c3eff6c4b1664ac8dafee2015a5"></a><!-- doxytag: member="Gtk::Paned::add1" ref="ab4cf1c3eff6c4b1664ac8dafee2015a5" args="(Widget &amp;child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::add1 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae7ff241f5fe49b4d1c491f32c4b40c0f"></a><!-- doxytag: member="Gtk::Paned::add2" ref="ae7ff241f5fe49b4d1c491f32c4b40c0f" args="(Widget &amp;child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::add2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e18615a4f78b0436e8b1c3f0d5bcb2b"></a><!-- doxytag: member="Gtk::Paned::get_child1" ref="a2e18615a4f78b0436e8b1c3f0d5bcb2b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Paned::get_child1 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the first child of the paned widget. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000214">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>First child, or <code>0</code> if it is not set. </dd></dl>

</div>
</div>
<a class="anchor" id="a1a401412a5cb15b5a3960e86d8ea6a2d"></a><!-- doxytag: member="Gtk::Paned::get_child1" ref="a1a401412a5cb15b5a3960e86d8ea6a2d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Paned::get_child1 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the first child of the paned widget. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000213">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>First child, or <code>0</code> if it is not set. </dd></dl>

</div>
</div>
<a class="anchor" id="a568828df47e89302f1d4ca65dc2a5b79"></a><!-- doxytag: member="Gtk::Paned::get_child2" ref="a568828df47e89302f1d4ca65dc2a5b79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Paned::get_child2 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the second child of the paned widget. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000216">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Second child, or <code>0</code> if it is not set. </dd></dl>

</div>
</div>
<a class="anchor" id="a56e37214c27467eee0f1e537f3bb5086"></a><!-- doxytag: member="Gtk::Paned::get_child2" ref="a56e37214c27467eee0f1e537f3bb5086" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Paned::get_child2 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the second child of the paned widget. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000215">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Second child, or <code>0</code> if it is not set. </dd></dl>

</div>
</div>
<a class="anchor" id="a41921190059bfad372d39623f64f7685"></a><!-- doxytag: member="Gtk::Paned::get_handle_window" ref="a41921190059bfad372d39623f64f7685" 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_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a>&gt; Gtk::Paned::get_handle_window </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> of the handle. </p>
<p>This function is useful when handling button or motion events because it enables the callback to distinguish between the window of the paned, a child and the handle.</p>
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000018">Since gtkmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paned's handle window. </dd></dl>

</div>
</div>
<a class="anchor" id="af6d9dec0e253f92be8f0dcb2f945a31a"></a><!-- doxytag: member="Gtk::Paned::get_handle_window" ref="af6d9dec0e253f92be8f0dcb2f945a31a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Window.html">Gdk::Window</a>&gt; Gtk::Paned::get_handle_window </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> of the handle. </p>
<p>This function is useful when handling button or motion events because it enables the callback to distinguish between the window of the paned, a child and the handle.</p>
<dl class="since_2_20"><dt><b><a class="el" href="since_2_20.html#_since_2_20000017">Since gtkmm 2.20:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The paned's handle window. </dd></dl>

</div>
</div>
<a class="anchor" id="a096864b61da0ce11acf906e749ba7308"></a><!-- doxytag: member="Gtk::Paned::get_position" ref="a096864b61da0ce11acf906e749ba7308" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::Paned::get_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the position of the divider between the two panes. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Position of the divider. </dd></dl>

</div>
</div>
<a class="anchor" id="a823bcd62e3b26f195aae5237a78c158f"></a><!-- doxytag: member="Gtk::Paned::gobj" ref="a823bcd62e3b26f195aae5237a78c158f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkPaned* Gtk::Paned::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 GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Container.html#ab80be58ac27710f10f329120587e7d60">Gtk::Container</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1HPaned.html#acfc5dbcfdc85a62d58102598dece2976">Gtk::HPaned</a>, and <a class="el" href="classGtk_1_1VPaned.html#a23fe0e920352349bcdefe4d9e7f7185f">Gtk::VPaned</a>.</p>

</div>
</div>
<a class="anchor" id="a672f115757f2bd346bec1163c1b6f29c"></a><!-- doxytag: member="Gtk::Paned::gobj" ref="a672f115757f2bd346bec1163c1b6f29c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkPaned* Gtk::Paned::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 GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Container.html#a1b45ff015f4b09b143699bad9d4e423d">Gtk::Container</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1HPaned.html#ac5b7ff64db8379d0c51bbfb8e9a59ea1">Gtk::HPaned</a>, and <a class="el" href="classGtk_1_1VPaned.html#aae1e0ea682dfc4a999c6f7ded2318436">Gtk::VPaned</a>.</p>

</div>
</div>
<a class="anchor" id="ad848a3c9a96af7460a924adf4da82e53"></a><!-- doxytag: member="Gtk::Paned::pack1" ref="ad848a3c9a96af7460a924adf4da82e53" args="(Widget &amp;child, AttachOptions options=Gtk::EXPAND)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::pack1 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a>&#160;</td>
          <td class="paramname"> <em>options</em> = <code>Gtk::EXPAND</code></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="a20c1df3426b948d56150ad1600bcd7b3"></a><!-- doxytag: member="Gtk::Paned::pack1" ref="a20c1df3426b948d56150ad1600bcd7b3" args="(Widget &amp;child, bool resize, bool shrink)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::pack1 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>resize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>shrink</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="a014fd97aaaaafaa0537dc213b458c68f"></a><!-- doxytag: member="Gtk::Paned::pack2" ref="a014fd97aaaaafaa0537dc213b458c68f" args="(Widget &amp;child, AttachOptions options=Gtk::EXPAND)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::pack2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a>&#160;</td>
          <td class="paramname"> <em>options</em> = <code>Gtk::EXPAND</code></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="ab888df4f410adaca6bd832a4ae51c20a"></a><!-- doxytag: member="Gtk::Paned::pack2" ref="ab888df4f410adaca6bd832a4ae51c20a" args="(Widget &amp;child, bool resize, bool shrink)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::pack2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>resize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>shrink</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="ad23e9e0fdbee05e937b1015e95bdf15b"></a><!-- doxytag: member="Gtk::Paned::property_max_position" ref="ad23e9e0fdbee05e937b1015e95bdf15b" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Paned::property_max_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Largest possible value for the 'position' property. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ada2df7616d36a6b6974277cc72d5acfa"></a><!-- doxytag: member="Gtk::Paned::property_min_position" ref="ada2df7616d36a6b6974277cc72d5acfa" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Paned::property_min_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Smallest possible value for the 'position' property. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad230642e42045bda1e5d96c4b919726c"></a><!-- doxytag: member="Gtk::Paned::property_position" ref="ad230642e42045bda1e5d96c4b919726c" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Paned::property_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Position of paned separator in pixels (0 means all the way to the left/top). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a4e7d95b584d0bdc254c85ed599f9f85c"></a><!-- doxytag: member="Gtk::Paned::property_position" ref="a4e7d95b584d0bdc254c85ed599f9f85c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::Paned::property_position </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Position of paned separator in pixels (0 means all the way to the left/top). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a216f1511c84579ebf3a289266cce5b0b"></a><!-- doxytag: member="Gtk::Paned::property_position_set" ref="a216f1511c84579ebf3a289266cce5b0b" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::Paned::property_position_set </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>TRUE if the Position property should be used. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a43199997009d4f0726c6a36b69269709"></a><!-- doxytag: member="Gtk::Paned::property_position_set" ref="a43199997009d4f0726c6a36b69269709" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::Paned::property_position_set </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>TRUE if the Position property should be used. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f8c09293943318951e42ee0972595ca"></a><!-- doxytag: member="Gtk::Paned::set_position" ref="a2f8c09293943318951e42ee0972595ca" args="(int position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Paned::set_position </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>position</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the position of the divider between the two panes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>position</em>&#160;</td><td>Pixel position of divider, a negative value means that the position is unset. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aa2f1d669087433cc9410b7792315b6ea"></a><!-- doxytag: member="Gtk::Paned::wrap" ref="aa2f1d669087433cc9410b7792315b6ea" args="(GtkPaned *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Paned.html">Gtk::Paned</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkPaned *&#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/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/paned.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:57 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>