1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
|
<!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::HBox 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_1HBox.html">HBox</a></div>
<h1>Gtk::HBox 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::HBox" --><!-- doxytag: inherits="Gtk::Box" -->Inheritance diagram for Gtk::HBox:<p><center><img src="classGtk_1_1HBox__inherit__graph.png" border="0" usemap="#Gtk_1_1HBox__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1HBox__inherit__map">
<area href="classGtk_1_1Combo.html" shape="rect" coords="5,626,101,652" alt="">
<area href="classGtk_1_1FileChooserButton.html" shape="rect" coords="125,626,293,652" alt="">
<area href="classGtk_1_1Statusbar.html" shape="rect" coords="317,626,432,652" alt="">
<area href="classGtk_1_1Box.html" shape="rect" coords="172,471,247,498" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="153,394,265,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="163,316,256,343" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="97,239,188,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="99,162,192,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="145,84,271,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="220,162,329,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="152,7,264,34" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="212,239,343,266" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1HBox-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Horizontal <a class="el" href="classGtk_1_1Box.html">Box</a> for laying widgets in a horizontal 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>
Use the <a class="el" href="classGtk_1_1Box.html">Gtk::Box</a> packing interface to determine the arrangement, spacing, width, and alignment of <a class="el" href="classGtk_1_1HBox.html">Gtk::HBox</a> children.<p>
All children are allocated the same height.
<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 GtkHBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HBox.html#8d593e8c0968da4a503800487cfff8d7">gobj</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#8d593e8c0968da4a503800487cfff8d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkHBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HBox.html#276c36213ef878a34ab3a16a6f2dc94b">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#276c36213ef878a34ab3a16a6f2dc94b"></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_1HBox.html#aa532dc02c5e8e6b0646507ba2d197e7">HBox</a> (bool homogeneous=false, int spacing=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new horizontal box. <a href="#aa532dc02c5e8e6b0646507ba2d197e7"></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_1HBox.html#d7cade1d37e3470cc979d00a8c7de8ac">~HBox</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_1HBox.html">Gtk::HBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HBox.html#85035290b119fb3a416007329b6f4ea3">wrap</a> (GtkHBox* 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="#85035290b119fb3a416007329b6f4ea3"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="d7cade1d37e3470cc979d00a8c7de8ac"></a><!-- doxytag: member="Gtk::HBox::~HBox" ref="d7cade1d37e3470cc979d00a8c7de8ac" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::HBox::~HBox </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="aa532dc02c5e8e6b0646507ba2d197e7"></a><!-- doxytag: member="Gtk::HBox::HBox" ref="aa532dc02c5e8e6b0646507ba2d197e7" args="(bool homogeneous=false, int spacing=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::HBox::HBox </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 horizontal 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_1HBox.html">HBox</a> should have the same width. 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="8d593e8c0968da4a503800487cfff8d7"></a><!-- doxytag: member="Gtk::HBox::gobj" ref="8d593e8c0968da4a503800487cfff8d7" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkHBox* Gtk::HBox::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_1Combo.html#e80569865fc802ad1c4303ce3e04aa06">Gtk::Combo</a>, <a class="el" href="classGtk_1_1FileChooserButton.html#133ce004d9ed3c7676c81b5924f14319">Gtk::FileChooserButton</a>, and <a class="el" href="classGtk_1_1Statusbar.html#615f94d7f63f9a014181139849f49dfd">Gtk::Statusbar</a>.
</div>
</div><p>
<a class="anchor" name="276c36213ef878a34ab3a16a6f2dc94b"></a><!-- doxytag: member="Gtk::HBox::gobj" ref="276c36213ef878a34ab3a16a6f2dc94b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkHBox* Gtk::HBox::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_1Combo.html#40ae8221d5645b7013ebc390a04b8b7a">Gtk::Combo</a>, <a class="el" href="classGtk_1_1FileChooserButton.html#af5932fe7ee1cd32d8addba40c503640">Gtk::FileChooserButton</a>, and <a class="el" href="classGtk_1_1Statusbar.html#d33396939cbee540766e74ea6003a1db">Gtk::Statusbar</a>.
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="85035290b119fb3a416007329b6f4ea3"></a><!-- doxytag: member="Gtk::HBox::wrap" ref="85035290b119fb3a416007329b6f4ea3" args="(GtkHBox *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1HBox.html">Gtk::HBox</a>* wrap </td>
<td>(</td>
<td class="paramtype">GtkHBox * </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>
|