<!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>gtkmm 2.4: Gtk::VBox 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> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1VBox.html">VBox</a></div> <h1>Gtk::VBox Class Reference<br> <small> [<a class="el" href="group__Widgets.html">Widgets</a>, <a class="el" href="group__Containers.html">Container Widgets</a>]</small> </h1><!-- doxytag: class="Gtk::VBox" --><!-- doxytag: inherits="Gtk::Box" -->Inheritance diagram for Gtk::VBox:<p><center><img src="classGtk_1_1VBox__inherit__graph.png" border="0" usemap="#Gtk_1_1VBox__inherit__map" alt="Inheritance graph"></center> <map name="Gtk_1_1VBox__inherit__map"> <area href="classGtk_1_1ColorSelection.html" shape="rect" coords="5,626,149,652" alt=""> <area href="classGtk_1_1FileChooserWidget.html" shape="rect" coords="173,626,341,652" alt=""> <area href="classGtk_1_1FontSelection.html" shape="rect" coords="365,626,504,652" alt=""> <area href="classGtk_1_1GammaCurve.html" shape="rect" coords="528,626,667,652" alt=""> <area href="classGtk_1_1RecentChooserWidget.html" shape="rect" coords="691,626,883,652" alt=""> <area href="classGtk_1_1Box.html" shape="rect" coords="397,471,472,498" alt=""> <area href="classGtk_1_1Container.html" shape="rect" coords="379,394,491,420" alt=""> <area href="classGtk_1_1Widget.html" shape="rect" coords="388,316,481,343" alt=""> <area href="classGtk_1_1Object.html" shape="rect" coords="323,239,413,266" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="324,162,417,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="371,84,496,111" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="445,162,555,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="377,7,489,34" alt=""> <area href="classAtk_1_1Implementor.html" shape="rect" coords="437,239,568,266" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1VBox-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Vertical <a class="el" href="classGtk_1_1Box.html">Box</a> for laying widgets in a vertical row. <p> You should create these objects, but it is more confortable to pass around pointers of <a class="el" href="classGtk_1_1Box.html">Gtk::Box</a>. All the methods that do anything are in class <a class="el" href="classGtk_1_1Box.html">Gtk::Box</a> and this allows you to later change the direction of the box, when there's no dependencies to <a class="el" href="classGtk_1_1HBox.html">HBox</a> and <a class="el" href="classGtk_1_1VBox.html">VBox</a> classes. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkVBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1VBox.html#6fae1554da5bffdfefbb6dad85d05afb">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#6fae1554da5bffdfefbb6dad85d05afb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GtkVBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1VBox.html#4e6ed5a59c876487524d4c0af1162f31">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#4e6ed5a59c876487524d4c0af1162f31"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1VBox.html#302b1fd71c189c1fb566f31245ba2b96">VBox</a> (bool homogeneous=false, int spacing=0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new vertical box. <a href="#302b1fd71c189c1fb566f31245ba2b96"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1VBox.html#f755253259ab55a33bf8b22513ac9ca2">~VBox</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 class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1VBox.html">Gtk::VBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1VBox.html#a6a2ee929763f78f6a1ae9ae85bc2f00">wrap</a> (GtkVBox* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6a2ee929763f78f6a1ae9ae85bc2f00"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f755253259ab55a33bf8b22513ac9ca2"></a><!-- doxytag: member="Gtk::VBox::~VBox" ref="f755253259ab55a33bf8b22513ac9ca2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::VBox::~VBox </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="302b1fd71c189c1fb566f31245ba2b96"></a><!-- doxytag: member="Gtk::VBox::VBox" ref="302b1fd71c189c1fb566f31245ba2b96" args="(bool homogeneous=false, int spacing=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::VBox::VBox </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>homogeneous</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>spacing</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a new vertical box. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>homogeneous</em> </td><td>Whether each widget in the <a class="el" href="classGtk_1_1VBox.html">VBox</a> should have the same height. If set, a PACK_SHRINK argument to <a class="el" href="classGtk_1_1Box.html#31aa59034a669239c4b99a9ced5742d6">pack_start()</a> or <a class="el" href="classGtk_1_1Box.html#1a2894c6723be6147d5c80995fed843a">pack_end()</a> is ignored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>spacing</em> </td><td>Determines the space in pixels between child widgets. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="6fae1554da5bffdfefbb6dad85d05afb"></a><!-- doxytag: member="Gtk::VBox::gobj" ref="6fae1554da5bffdfefbb6dad85d05afb" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkVBox* Gtk::VBox::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> 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_1Box.html#88eb53993c429c2d64daa8931c32995f">Gtk::Box</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1ColorSelection.html#e602f18727fe546171e8f85314501359">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1GammaCurve.html#0fcd77ab8bde3eea8f7665bd490a3a6d">Gtk::GammaCurve</a>, <a class="el" href="classGtk_1_1FileChooserWidget.html#c6f4b2b95f688850e9cf563514d4f134">Gtk::FileChooserWidget</a>, <a class="el" href="classGtk_1_1FontSelection.html#3b0c5af5c4190129499dc1edf87a8a35">Gtk::FontSelection</a>, and <a class="el" href="classGtk_1_1RecentChooserWidget.html#1a949e8c2781ac375b3ff64db95534c8">Gtk::RecentChooserWidget</a>. </div> </div><p> <a class="anchor" name="4e6ed5a59c876487524d4c0af1162f31"></a><!-- doxytag: member="Gtk::VBox::gobj" ref="4e6ed5a59c876487524d4c0af1162f31" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkVBox* Gtk::VBox::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><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_1Box.html#0c7fda2b5be79b4bd7937f5d0c4be32d">Gtk::Box</a>. <p> Reimplemented in <a class="el" href="classGtk_1_1ColorSelection.html#6460aa23f7666b6ac4f919d869ab1a69">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1GammaCurve.html#eb5b036d911b905ee15e517edbc42399">Gtk::GammaCurve</a>, <a class="el" href="classGtk_1_1FileChooserWidget.html#7eb42c3028ebe77b8404164319809dfd">Gtk::FileChooserWidget</a>, <a class="el" href="classGtk_1_1FontSelection.html#03554fdbf28e7fdbfa1aeaff4fe68879">Gtk::FontSelection</a>, and <a class="el" href="classGtk_1_1RecentChooserWidget.html#8ccf98a82c91472e50f695c81df2fb75">Gtk::RecentChooserWidget</a>. </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="a6a2ee929763f78f6a1ae9ae85bc2f00"></a><!-- doxytag: member="Gtk::VBox::wrap" ref="a6a2ee929763f78f6a1ae9ae85bc2f00" args="(GtkVBox *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1VBox.html">Gtk::VBox</a>* wrap </td> <td>(</td> <td class="paramtype">GtkVBox * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <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> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>