Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Gtk::Box class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Gtk::Box Class Reference</h1>A base class for box containers. 
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gtk::Box:<p><center><img src="classGtk_1_1Box__inherit__graph.png" border="0" usemap="#Gtk_1_1Box__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1Box__inherit__map">
<area href="classGtk_1_1ButtonBox.html" shape="rect" coords="143,433,241,452" alt="">
<area href="classGtk_1_1HBox.html" shape="rect" coords="332,433,401,452" alt="">
<area href="classGtk_1_1VBox.html" shape="rect" coords="596,433,665,452" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="319,295,415,313" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="328,225,405,244" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="328,156,405,175" alt="">
<area href="classGlib_1_1Object.html" shape="rect" coords="327,87,407,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="312,17,421,36" alt="">
<area href="classGtk_1_1HButtonBox.html" shape="rect" coords="7,503,113,521" alt="">
<area href="classGtk_1_1VButtonBox.html" shape="rect" coords="137,503,247,521" alt="">
<area href="classGtk_1_1Combo.html" shape="rect" coords="271,503,351,521" alt="">
<area href="classGtk_1_1Statusbar.html" shape="rect" coords="375,503,471,521" alt="">
<area href="classGtk_1_1ColorSelection.html" shape="rect" coords="495,503,620,521" alt="">
<area href="classGtk_1_1FontSelection.html" shape="rect" coords="644,503,764,521" alt="">
<area href="classGtk_1_1GammaCurve.html" shape="rect" coords="788,503,908,521" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1Box-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef Box_Helpers::BoxList&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#s0">BoxList</a></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a0">~Box</a> ()</td></tr>
<tr><td nowrap align=right valign=top>GtkBox*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const GtkBox*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a3">pack_start</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, bool expand, bool fill, guint padding=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Left side insert a widget to a box.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a4">pack_start</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, <a class="el" href="namespaceGtk.html#a339">PackOptions</a> options=PACK_EXPAND_WIDGET, guint padding=0)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a5">pack_end</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, bool expand, bool fill, guint padding=0)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a6">pack_end</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, <a class="el" href="namespaceGtk.html#a339">PackOptions</a> options=PACK_EXPAND_WIDGET, guint padding=0)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a7">set_homogeneous</a> (bool homogeneous=true)</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a8">get_homogeneous</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns whether the box is homogeneous (all children are the same size).</em> <a href="#a8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a9">set_spacing</a> (int spacing)</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a10">get_spacing</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the value set by <a class="el" href="classGtk_1_1Box.html#a9">set_spacing()</a>.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a11">reorder_child</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; child, int pos)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGtk_1_1Box.html#s0">BoxList</a>&amp;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a12">children</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classGtk_1_1Box.html#s0">BoxList</a>&amp;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a13">children</a> () const</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a14">property_spacing</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt;&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#a15">property_homogeneous</a> ()</td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#b0">Box</a> ()</td></tr>
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
<tr><td nowrap align=right valign=top>Gtk::Box*&nbsp;</td><td valign=bottom><a class="el" href="classGtk_1_1Box.html#k0">wrap</a> (GtkBox* object, bool take_copy=false)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A base class for box containers.
<p>
Abstract base class for horizontal and vertical boxes, which organize a variable number of widgets into a rectangular area. This is an abstract class and it defers choice of which way the widgets are packed to the screen to the derived classes. It provides a common interface for inserting widgets to a box indepenently of how it is shown in the screen.
<p>
Gtk::Box uses a notion of packing. Packing refers to adding widgets with reference to a particular position in a <a class="el" href="classGtk_1_1Container.html">Gtk::Container</a>. There are two reference positions: the start and the end of the box. For a <a class="el" href="classGtk_1_1VBox.html">VBox</a>, the start is defined as the top of the box and the end is defined as the bottom. For a <a class="el" href="classGtk_1_1HBox.html">HBox</a> the start is defined as the left side and the end is defined as the right side. Use repeated calls to <a class="el" href="classGtk_1_1Box.html#a3">pack_start()</a> to pack widgets into a Gtk::Box from start to end. Use <a class="el" href="classGtk_1_1Box.html#a5">pack_end()</a> to add widgets from end to start. You may intersperse these calls and add widgets from both ends of the same Gtk::Box.
<p>
Because Gtk::Box is a <a class="el" href="classGtk_1_1Container.html">Gtk::Container</a>, you may also use <a class="el" href="classGtk_1_1Container.html#a5">Gtk::Container::add()</a> to insert widgets, and they will be packed as if with <a class="el" href="classGtk_1_1Box.html#a3">pack_start()</a>. Use <a class="el" href="classGtk_1_1Container.html#a6">Gtk::Container::remove()</a> to remove widgets.
<p>
Use <a class="el" href="classGtk_1_1Box.html#a7">set_homogeneous()</a> to specify whether or not all children of the Gtk::Box occupy the same amount of space. Use <a class="el" href="classGtk_1_1Box.html#a9">set_spacing()</a> to determine the minimum space placed between all children in the Gtk::Box. Use <a class="el" href="classGtk_1_1Box.html#a11">reorder_child()</a> to move a child widget to a different place in the box. Use set_child_packing() to reset the pack options and padding attributes of any Gtk::Box child. Use query_child_packing() to query these fields. 
<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="Gtk::Box::BoxList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef Box_Helpers::BoxList Gtk::Box::BoxList
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

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

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

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

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

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a13" doxytag="Gtk::Box::children"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classGtk_1_1Box.html#s0">BoxList</a>&amp; Gtk::Box::children </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

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

<p>
    </td>
  </tr>
</table>
<a name="a12" doxytag="Gtk::Box::children"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGtk_1_1Box.html#s0">BoxList</a>&amp; Gtk::Box::children </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

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

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

<p>
Returns whether the box is homogeneous (all children are the same size).
<p>
See <a class="el" href="classGtk_1_1Box.html#a7">set_homogeneous()</a>. <dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the box is homogeneous. </dd></dl>
    </td>
  </tr>
</table>
<a name="a10" doxytag="Gtk::Box::get_spacing"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int Gtk::Box::get_spacing </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

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

<p>
Gets the value set by <a class="el" href="classGtk_1_1Box.html#a9">set_spacing()</a>.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>Spacing between children. </dd></dl>
    </td>
  </tr>
</table>
<a name="a2" doxytag="Gtk::Box::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const GtkBox* Gtk::Box::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

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

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Container.html#a2">Gtk::Container</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VBox.html#a2">Gtk::VBox</a>, <a class="el" href="classGtk_1_1HBox.html#a2">Gtk::HBox</a>, <a class="el" href="classGtk_1_1ButtonBox.html#a2">Gtk::ButtonBox</a>, <a class="el" href="classGtk_1_1VButtonBox.html#a2">Gtk::VButtonBox</a>, <a class="el" href="classGtk_1_1HButtonBox.html#a2">Gtk::HButtonBox</a>, <a class="el" href="classGtk_1_1ColorSelection.html#a2">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1Combo.html#a2">Gtk::Combo</a>, <a class="el" href="classGtk_1_1GammaCurve.html#a2">Gtk::GammaCurve</a>, <a class="el" href="classGtk_1_1FontSelection.html#a2">Gtk::FontSelection</a>, and <a class="el" href="classGtk_1_1Statusbar.html#a2">Gtk::Statusbar</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Gtk::Box::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GtkBox* Gtk::Box::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

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

<p>

<p>
Reimplemented from <a class="el" href="classGtk_1_1Container.html#a1">Gtk::Container</a>.
<p>
Reimplemented in <a class="el" href="classGtk_1_1VBox.html#a1">Gtk::VBox</a>, <a class="el" href="classGtk_1_1HBox.html#a1">Gtk::HBox</a>, <a class="el" href="classGtk_1_1ButtonBox.html#a1">Gtk::ButtonBox</a>, <a class="el" href="classGtk_1_1VButtonBox.html#a1">Gtk::VButtonBox</a>, <a class="el" href="classGtk_1_1HButtonBox.html#a1">Gtk::HButtonBox</a>, <a class="el" href="classGtk_1_1ColorSelection.html#a1">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1Combo.html#a1">Gtk::Combo</a>, <a class="el" href="classGtk_1_1GammaCurve.html#a1">Gtk::GammaCurve</a>, <a class="el" href="classGtk_1_1FontSelection.html#a1">Gtk::FontSelection</a>, and <a class="el" href="classGtk_1_1Statusbar.html#a1">Gtk::Statusbar</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="Gtk::Box::pack_end"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::pack_end </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceGtk.html#a339">PackOptions</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>options</em> = PACK_EXPAND_WIDGET, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>guint&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>padding</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
    </td>
  </tr>
</table>
<a name="a5" doxytag="Gtk::Box::pack_end"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::pack_end </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>expand</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fill</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>guint&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>padding</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="thread_2dispatcher_8cc-example.html#a12">thread/dispatcher.cc</a>.</dl>    </td>
  </tr>
</table>
<a name="a4" doxytag="Gtk::Box::pack_start"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::pack_start </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceGtk.html#a339">PackOptions</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>options</em> = PACK_EXPAND_WIDGET, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>guint&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>padding</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="Gtk::Box::pack_start"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::pack_start </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>expand</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fill</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>guint&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>padding</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
Left side insert a widget to a box.
<p>
The expand argument to {<a class="el" href="classGtk_1_1Box.html#a3">pack_start()</a>} or {<a class="el" href="classGtk_1_1Box.html#a5">pack_end()</a>} controls whether the widgets are laid out in the box to {fill} in all the extra space in the box so the box is expanded to fill the area alloted to it ({ true}). Or the box is shrunk to just fit the widgets ({ false}). Setting {expand} to { false} will allow you to do right and left justifying of your widgets. Otherwise, they will all expand to fit in the box, and the same effect could be achieved by using only one of {<a class="el" href="classGtk_1_1Box.html#a3">pack_start()</a>} or {<a class="el" href="classGtk_1_1Box.html#a5">pack_end()</a>} functions.
<p>
The fill argument to the {<a class="el" href="classGtk_1_1Box.html#a3">pack_start()</a>}/{<a class="el" href="classGtk_1_1Box.html#a5">pack_end()</a>} functions control whether the extra space is allocated to the objects themselves ({ true}), or as extra padding in the box around these objects ({ false}). It only has an effect if the {expand} argument is also { true}.
<p>
The difference between spacing (set when the box is created) and {padding} (set when elements are packed), spacing is added between objects, and {padding} is added on either side of an object. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="thread_2dispatcher_8cc-example.html#a9">thread/dispatcher.cc</a>.</dl>    </td>
  </tr>
</table>
<a name="a15" doxytag="Gtk::Box::property_homogeneous"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::Box::property_homogeneous </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

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

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

<p>
    </td>
  </tr>
</table>
<a name="a11" doxytag="Gtk::Box::reorder_child"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::reorder_child </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>child</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pos</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

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

<p>
    </td>
  </tr>
</table>
<a name="a7" doxytag="Gtk::Box::set_homogeneous"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Gtk::Box::set_homogeneous </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>homogeneous</em> = true          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

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

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

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

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

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="box_8h.html">box.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>