<!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::HButtonBox 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 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 class="tabs"> <ul> <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="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a> </div> </div> <div class="contents"> <h1>Gtk::HButtonBox 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::HButtonBox" --><!-- doxytag: inherits="Gtk::ButtonBox" --> <p>A container for arranging buttons horizontally. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGtk_1_1ButtonBox.html">Gtk::ButtonBox</a>.</p> <div class="dynheader"> Collaboration diagram for Gtk::HButtonBox:</div> <div class="dynsection"> <div class="center"><img src="classGtk_1_1HButtonBox__coll__graph.png" border="0" usemap="#Gtk_1_1HButtonBox_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1HButtonBox_coll__map" id="Gtk_1_1HButtonBox_coll__map"> <area shape="rect" href="classGtk_1_1ButtonBox.html" title="Base class for Gtk::HButtonBox and Gtk::VButtonBox." alt="" coords="57,547,169,576"/><area shape="rect" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="77,469,149,499"/><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-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_1HButtonBox-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a7d836bee1e425e7326b60d5696d9a465">~HButtonBox</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkHButtonBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a5341332d3e0f09843eed8b7b5b08ec0e">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a5341332d3e0f09843eed8b7b5b08ec0e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkHButtonBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#aed1412af6acc79ed8bf40ab2bb5c3e07">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#aed1412af6acc79ed8bf40ab2bb5c3e07"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a0a923a5ed95bb0af93af9a7c062c723b">HButtonBox</a> (<a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> layout=BUTTONBOX_DEFAULT_STYLE, int spacing=BUTTONBOX_DEFAULT)</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_1HButtonBox.html">Gtk::HButtonBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a24c0e94ce09d5ec8a5203a929e69e8c7">wrap</a> (GtkHButtonBox* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </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="#a24c0e94ce09d5ec8a5203a929e69e8c7"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A container for arranging buttons horizontally. </p> <p>A button box should be used to provide a consistent layout of buttons throughout your application. There is one default layout and a default spacing value that are persistant across all <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">Gtk::HButtonBox</a> widgets.</p> <p>The layout/spacing can then be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.</p> <p>The <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">HButtonBox</a> widget looks like this: </p> <div align="center"> <img src="hbuttonbox1.png" alt="hbuttonbox1.png"/> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7d836bee1e425e7326b60d5696d9a465"></a><!-- doxytag: member="Gtk::HButtonBox::~HButtonBox" ref="a7d836bee1e425e7326b60d5696d9a465" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::HButtonBox::~HButtonBox </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a0a923a5ed95bb0af93af9a7c062c723b"></a><!-- doxytag: member="Gtk::HButtonBox::HButtonBox" ref="a0a923a5ed95bb0af93af9a7c062c723b" args="(ButtonBoxStyle layout=BUTTONBOX_DEFAULT_STYLE, int spacing=BUTTONBOX_DEFAULT)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::HButtonBox::HButtonBox </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> </td> <td class="paramname"> <em>layout</em> = <code>BUTTONBOX_DEFAULT_STYLE</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>spacing</em> = <code>BUTTONBOX_DEFAULT</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aed1412af6acc79ed8bf40ab2bb5c3e07"></a><!-- doxytag: member="Gtk::HButtonBox::gobj" ref="aed1412af6acc79ed8bf40ab2bb5c3e07" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkHButtonBox* Gtk::HButtonBox::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 GtkObject. </p> <p>Reimplemented from <a class="el" href="classGtk_1_1ButtonBox.html#a803d54bafb50a56aaa41e1c3fdc9e7e9">Gtk::ButtonBox</a>.</p> </div> </div> <a class="anchor" id="a5341332d3e0f09843eed8b7b5b08ec0e"></a><!-- doxytag: member="Gtk::HButtonBox::gobj" ref="a5341332d3e0f09843eed8b7b5b08ec0e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkHButtonBox* Gtk::HButtonBox::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 GtkObject. </p> <p>Reimplemented from <a class="el" href="classGtk_1_1ButtonBox.html#adec8c517273a81eb821ee4276adeed31">Gtk::ButtonBox</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a24c0e94ce09d5ec8a5203a929e69e8c7"></a><!-- doxytag: member="Gtk::HButtonBox::wrap" ref="a24c0e94ce09d5ec8a5203a929e69e8c7" args="(GtkHButtonBox *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1HButtonBox.html">Gtk::HButtonBox</a>* wrap </td> <td>(</td> <td class="paramtype">GtkHButtonBox * </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><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> </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> </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/buttonbox.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:47 2010 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>