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 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
|
<!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::Box 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_1Box.html">Box</a>
</div>
</div>
<div class="contents">
<h1>Gtk::Box Class Reference</h1><!-- doxytag: class="Gtk::Box" --><!-- doxytag: inherits="Gtk::Container" -->
<p>A base class for box containers. <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_1ButtonBox.html">Gtk::ButtonBox</a>, <a class="el" href="classGtk_1_1HBox.html">Gtk::HBox</a>, and <a class="el" href="classGtk_1_1VBox.html">Gtk::VBox</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Box:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Box__coll__graph.png" border="0" usemap="#Gtk_1_1Box_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Box_coll__map" id="Gtk_1_1Box_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-widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/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_1Box-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">Box_Helpers::BoxList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a52c2ce6868078125a72471e00699bc7a">BoxList</a></td></tr>
<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_1Box.html#a7e01e48c7643cc69a09eebbff14847b1">~Box</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a0c7fda2b5be79b4bd7937f5d0c4be32d">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a0c7fda2b5be79b4bd7937f5d0c4be32d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#afe3f8f57d7f557a2625ac718f704d1f5">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#afe3f8f57d7f557a2625ac718f704d1f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a31aa59034a669239c4b99a9ced5742d6">pack_start</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, bool expand, bool <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01161.html#gae3f9c9c748ac8e4b124a39bfd7adec40">fill</a>, guint padding=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Left side insert a widget to a box. <a href="#a31aa59034a669239c4b99a9ced5742d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ae1a2ca6c5de8ad4442ed93c2c20eec87">pack_start</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, <a class="el" href="group__gtkmmEnums.html#ga83727a1b6fed51566dfd5c8e58890dba">PackOptions</a> options=PACK_EXPAND_WIDGET, guint padding=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Left side insert a widget to a box. <a href="#ae1a2ca6c5de8ad4442ed93c2c20eec87"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a1a2894c6723be6147d5c80995fed843a">pack_end</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, bool expand, bool <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01161.html#gae3f9c9c748ac8e4b124a39bfd7adec40">fill</a>, guint padding=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds <em>child</em> to <em>box</em>, packed with reference to the end of <em>box</em>. <a href="#a1a2894c6723be6147d5c80995fed843a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ad7b7d66b8d38b11e222da9bb945f036e">pack_end</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, <a class="el" href="group__gtkmmEnums.html#ga83727a1b6fed51566dfd5c8e58890dba">PackOptions</a> options=PACK_EXPAND_WIDGET, guint padding=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Right side insert a widget to a box. <a href="#ad7b7d66b8d38b11e222da9bb945f036e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a1598f08c7a2b29fe26ccd5987c339328">set_homogeneous</a> (bool homogeneous=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:homogeneous property of <em>box</em>, controlling whether or not all children of <em>box</em> are given equal space in the box. <a href="#a1598f08c7a2b29fe26ccd5987c339328"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a719b7898e3e738af429ac96a4c752d65">get_homogeneous</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the box is homogeneous (all children are the same size). <a href="#a719b7898e3e738af429ac96a4c752d65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b">set_spacing</a> (int spacing)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:spacing property of <em>box</em>, which is the number of pixels to place between children of <em>box</em>. <a href="#ab5396cb1385f8259bb49a0c78b55087b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a9b1fb932799d7c28b430ade1f65d2fe6">get_spacing</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b" title="Sets the Gtk::Box:spacing property of box, which is the number of pixels to place...">set_spacing()</a>. <a href="#a9b1fb932799d7c28b430ade1f65d2fe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ad7d79587789a012eb31fec920b07c1b9">reorder_child</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, int pos)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves <em>child</em> to a new <em>position</em> in the list of <em>box</em> children. <a href="#ad7d79587789a012eb31fec920b07c1b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">BoxList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ac8a18efeaccbe6e06ce858e54fd3652b">children</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">BoxList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a1630437459c03c8e70b283fbda61b9d8">children</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ad53032d9ddccee31c8068cea9925c516">property_spacing</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between children. <a href="#ad53032d9ddccee31c8068cea9925c516"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#ad2bb664e5102d78472c42d3d46fd4cfa">property_spacing</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between children. <a href="#ad2bb664e5102d78472c42d3d46fd4cfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a4b8403eb7c52f94198c4ee824b842b8a">property_homogeneous</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the children should all be the same size. <a href="#a4b8403eb7c52f94198c4ee824b842b8a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#afa776673b6ae645bfb9e70f41e3b46e4">property_homogeneous</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the children should all be the same size. <a href="#afa776673b6ae645bfb9e70f41e3b46e4"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a22a64c493be015dabb6a4d7799f6705a">Box</a> ()</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_1Box.html">Gtk::Box</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Box.html#a780f8b0bce530c8dbacb01f64615cefd">wrap</a> (GtkBox* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a780f8b0bce530c8dbacb01f64615cefd"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A base class for box containers. </p>
<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>
<p><a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a> 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" title="Abstract container class.">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" title="Vertical Box for laying widgets in a vertical row.">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" title="Horizontal Box for laying widgets in a horizontal row.">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#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a> to pack widgets into a <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a> from start to end. Use <a class="el" href="classGtk_1_1Box.html#a1a2894c6723be6147d5c80995fed843a" title="Adds child to box, packed with reference to the end of box.">pack_end()</a> to add widgets from end to start. You may intersperse these calls and add widgets from both ends of the same <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>. The last widget added with <a class="el" href="classGtk_1_1Box.html#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a> will be placed just before the last widget added with <a class="el" href="classGtk_1_1Box.html#a1a2894c6723be6147d5c80995fed843a" title="Adds child to box, packed with reference to the end of box.">pack_end()</a></p>
<p>Because <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a> is a <a class="el" href="classGtk_1_1Container.html" title="Abstract container class.">Gtk::Container</a>, you may also use <a class="el" href="classGtk_1_1Container.html#ae5f3b9c32b1b74e7613997843e91f4cc">Gtk::Container::add()</a> to insert widgets, and they will be packed as if with <a class="el" href="classGtk_1_1Box.html#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a>. Use <a class="el" href="classGtk_1_1Container.html#a9f31c07118f7bdc7a4e0651acf35abbc" title="Removes widget from container.">Gtk::Container::remove()</a> to remove widgets.</p>
<p>Use <a class="el" href="classGtk_1_1Box.html#a1598f08c7a2b29fe26ccd5987c339328" title="Sets the Gtk::Box:homogeneous property of box, controlling whether or not all children...">set_homogeneous()</a> to specify whether or not all children of the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a> occupy the same amount of space. Use <a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b" title="Sets the Gtk::Box:spacing property of box, which is the number of pixels to place...">set_spacing()</a> to determine the minimum space placed between all children in the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>. Use <a class="el" href="classGtk_1_1Box.html#ad7d79587789a012eb31fec920b07c1b9" title="Moves child to a new position in the list of box children.">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 <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a> child. Use query_child_packing() to query these fields. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a52c2ce6868078125a72471e00699bc7a"></a><!-- doxytag: member="Gtk::Box::BoxList" ref="a52c2ce6868078125a72471e00699bc7a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">Box_Helpers::BoxList</a> <a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">Gtk::Box::BoxList</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a7e01e48c7643cc69a09eebbff14847b1"></a><!-- doxytag: member="Gtk::Box::~Box" ref="a7e01e48c7643cc69a09eebbff14847b1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::Box::~Box </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="a22a64c493be015dabb6a4d7799f6705a"></a><!-- doxytag: member="Gtk::Box::Box" ref="a22a64c493be015dabb6a4d7799f6705a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gtk::Box::Box </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1630437459c03c8e70b283fbda61b9d8"></a><!-- doxytag: member="Gtk::Box::children" ref="a1630437459c03c8e70b283fbda61b9d8" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">BoxList</a>& Gtk::Box::children </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ac8a18efeaccbe6e06ce858e54fd3652b"></a><!-- doxytag: member="Gtk::Box::children" ref="ac8a18efeaccbe6e06ce858e54fd3652b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1Box__Helpers_1_1BoxList.html">BoxList</a>& Gtk::Box::children </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a719b7898e3e738af429ac96a4c752d65"></a><!-- doxytag: member="Gtk::Box::get_homogeneous" ref="a719b7898e3e738af429ac96a4c752d65" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::Box::get_homogeneous </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether the box is homogeneous (all children are the same size). </p>
<p>See <a class="el" href="classGtk_1_1Box.html#a1598f08c7a2b29fe26ccd5987c339328" title="Sets the Gtk::Box:homogeneous property of box, controlling whether or not all children...">set_homogeneous()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the box is homogeneous. </dd></dl>
</div>
</div>
<a class="anchor" id="a9b1fb932799d7c28b430ade1f65d2fe6"></a><!-- doxytag: member="Gtk::Box::get_spacing" ref="a9b1fb932799d7c28b430ade1f65d2fe6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::Box::get_spacing </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the value set by <a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b" title="Sets the Gtk::Box:spacing property of box, which is the number of pixels to place...">set_spacing()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Spacing between children. </dd></dl>
</div>
</div>
<a class="anchor" id="afe3f8f57d7f557a2625ac718f704d1f5"></a><!-- doxytag: member="Gtk::Box::gobj" ref="afe3f8f57d7f557a2625ac718f704d1f5" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkBox* Gtk::Box::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_1Container.html#ab80be58ac27710f10f329120587e7d60">Gtk::Container</a>.</p>
<p>Reimplemented in <a class="el" href="classGtk_1_1VBox.html#a47b85a73422574c1dbb83b35fd00dec5">Gtk::VBox</a>, <a class="el" href="classGtk_1_1HBox.html#a200e7083acf10d6075633a5bb2eef9d0">Gtk::HBox</a>, <a class="el" href="classGtk_1_1ButtonBox.html#a803d54bafb50a56aaa41e1c3fdc9e7e9">Gtk::ButtonBox</a>, <a class="el" href="classGtk_1_1VButtonBox.html#a63151553dc28bf42a5bc9e73d4f13f35">Gtk::VButtonBox</a>, <a class="el" href="classGtk_1_1HButtonBox.html#aed1412af6acc79ed8bf40ab2bb5c3e07">Gtk::HButtonBox</a>, <a class="el" href="classGtk_1_1ColorSelection.html#a9b16be211d8b4e3b8f962fced8c06c3f">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1FileChooserButton.html#a1034a135ce8baf1da4a2c466189af990">Gtk::FileChooserButton</a>, <a class="el" href="classGtk_1_1FileChooserWidget.html#a6dc1c172e55e5ee441bc7b936a80e66e">Gtk::FileChooserWidget</a>, <a class="el" href="classGtk_1_1FontSelection.html#a94bb7286fd78af76511b58ee9ba72728">Gtk::FontSelection</a>, <a class="el" href="classGtk_1_1InfoBar.html#a2eae151f9555eb6dd7b6d2cfe68527bd">Gtk::InfoBar</a>, <a class="el" href="classGtk_1_1RecentChooserWidget.html#a43057a978df4f7b64dc1c742a0a6a34e">Gtk::RecentChooserWidget</a>, <a class="el" href="classGtk_1_1Statusbar.html#ad184cb208df418091ccece5e6be2eabe">Gtk::Statusbar</a>, <a class="el" href="classGtk_1_1Combo.html#ac6be6dd4f81a213a491112452fab1246">Gtk::Combo</a>, and <a class="el" href="classGtk_1_1GammaCurve.html#a6de4d883acd31c242263e2bcccea041f">Gtk::GammaCurve</a>.</p>
</div>
</div>
<a class="anchor" id="a0c7fda2b5be79b4bd7937f5d0c4be32d"></a><!-- doxytag: member="Gtk::Box::gobj" ref="a0c7fda2b5be79b4bd7937f5d0c4be32d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkBox* Gtk::Box::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_1Container.html#a1b45ff015f4b09b143699bad9d4e423d">Gtk::Container</a>.</p>
<p>Reimplemented in <a class="el" href="classGtk_1_1VBox.html#a4e6ed5a59c876487524d4c0af1162f31">Gtk::VBox</a>, <a class="el" href="classGtk_1_1HBox.html#a276c36213ef878a34ab3a16a6f2dc94b">Gtk::HBox</a>, <a class="el" href="classGtk_1_1ButtonBox.html#adec8c517273a81eb821ee4276adeed31">Gtk::ButtonBox</a>, <a class="el" href="classGtk_1_1VButtonBox.html#af06694e6a130b2a182b2fbb40679d629">Gtk::VButtonBox</a>, <a class="el" href="classGtk_1_1HButtonBox.html#a5341332d3e0f09843eed8b7b5b08ec0e">Gtk::HButtonBox</a>, <a class="el" href="classGtk_1_1ColorSelection.html#a6460aa23f7666b6ac4f919d869ab1a69">Gtk::ColorSelection</a>, <a class="el" href="classGtk_1_1FileChooserButton.html#aaf5932fe7ee1cd32d8addba40c503640">Gtk::FileChooserButton</a>, <a class="el" href="classGtk_1_1FileChooserWidget.html#a7eb42c3028ebe77b8404164319809dfd">Gtk::FileChooserWidget</a>, <a class="el" href="classGtk_1_1FontSelection.html#a03554fdbf28e7fdbfa1aeaff4fe68879">Gtk::FontSelection</a>, <a class="el" href="classGtk_1_1InfoBar.html#a64d9affd6ae0c2db8176799e7f537c73">Gtk::InfoBar</a>, <a class="el" href="classGtk_1_1RecentChooserWidget.html#a8ccf98a82c91472e50f695c81df2fb75">Gtk::RecentChooserWidget</a>, <a class="el" href="classGtk_1_1Statusbar.html#ad33396939cbee540766e74ea6003a1db">Gtk::Statusbar</a>, <a class="el" href="classGtk_1_1Combo.html#a40ae8221d5645b7013ebc390a04b8b7a">Gtk::Combo</a>, and <a class="el" href="classGtk_1_1GammaCurve.html#aeb5b036d911b905ee15e517edbc42399">Gtk::GammaCurve</a>.</p>
</div>
</div>
<a class="anchor" id="ad7b7d66b8d38b11e222da9bb945f036e"></a><!-- doxytag: member="Gtk::Box::pack_end" ref="ad7b7d66b8d38b11e222da9bb945f036e" args="(Widget &child, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::pack_end </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </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#ga83727a1b6fed51566dfd5c8e58890dba">PackOptions</a> </td>
<td class="paramname"> <em>options</em> = <code>PACK_EXPAND_WIDGET</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>padding</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Right side insert a widget to a box. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>A <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to be added to box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>options</em> </td><td>Controls how the widget expands to fill space, and how the space around them is used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>padding</em> </td><td>Padding that is added on either side of the widget. This is different to spacing set when the box is created (or with <a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b" title="Sets the Gtk::Box:spacing property of box, which is the number of pixels to place...">set_spacing()</a>) - spacing is added between objects, and padding is added on either side of an object. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1a2894c6723be6147d5c80995fed843a"></a><!-- doxytag: member="Gtk::Box::pack_end" ref="a1a2894c6723be6147d5c80995fed843a" args="(Widget &child, bool expand, bool fill, guint padding=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::pack_end </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td>
<td class="paramname"> <em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>expand</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>fill</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>padding</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Adds <em>child</em> to <em>box</em>, packed with reference to the end of <em>box</em>. </p>
<p>The <em>child</em> is packed after (away from end of) any other child packed with reference to the end of <em>box</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>The <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Gtk::Widget</a> to be added to <em>box</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>expand</em> </td><td><code>true</code> if the new child is to be given extra space allocated to <em>box</em>. The extra space will be divided evenly between all children of <em>box</em> that use this option. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fill</em> </td><td><code>true</code> if space given to <em>child</em> by the <em>expand</em> option is actually allocated to <em>child</em>, rather than just padding it. This parameter has no effect if <em>expand</em> is set to <code>false</code>. A child is always allocated the full height of a <a class="el" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row.">Gtk::HBox</a> and the full width of a <a class="el" href="classGtk_1_1VBox.html" title="Vertical Box for laying widgets in a vertical row.">Gtk::VBox</a>. This option affects the other dimension. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>padding</em> </td><td>Extra space in pixels to put between this child and its neighbors, over and above the global amount specified by <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:spacing property. If <em>child</em> is a widget at one of the reference ends of <em>box</em>, then <em>padding</em> pixels are also put between <em>child</em> and the reference edge of <em>box</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae1a2ca6c5de8ad4442ed93c2c20eec87"></a><!-- doxytag: member="Gtk::Box::pack_start" ref="ae1a2ca6c5de8ad4442ed93c2c20eec87" args="(Widget &child, PackOptions options=PACK_EXPAND_WIDGET, guint padding=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::pack_start </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </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#ga83727a1b6fed51566dfd5c8e58890dba">PackOptions</a> </td>
<td class="paramname"> <em>options</em> = <code>PACK_EXPAND_WIDGET</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>padding</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Left side insert a widget to a box. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>A <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Widget</a> to be added to box. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>options</em> </td><td>Controls how the widget expands to fill space, and how the space around them is used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>padding</em> </td><td>Padding that is added on either side of the widget. This is different to spacing set when the box is created (or with <a class="el" href="classGtk_1_1Box.html#ab5396cb1385f8259bb49a0c78b55087b" title="Sets the Gtk::Box:spacing property of box, which is the number of pixels to place...">set_spacing()</a>) - spacing is added between objects, and padding is added on either side of an object. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a31aa59034a669239c4b99a9ced5742d6"></a><!-- doxytag: member="Gtk::Box::pack_start" ref="a31aa59034a669239c4b99a9ced5742d6" args="(Widget &child, bool expand, bool fill, guint padding=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::pack_start </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td>
<td class="paramname"> <em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>expand</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>fill</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">guint </td>
<td class="paramname"> <em>padding</em> = <code>0</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Left side insert a widget to a box. </p>
<p>The expand argument to <a class="el" href="classGtk_1_1Box.html#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a> or <a class="el" href="classGtk_1_1Box.html#a1a2894c6723be6147d5c80995fed843a" title="Adds child to box, packed with reference to the end of box.">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 allocated to it (<code>true</code>). Or the box is shrunk to just fit the widgets (<code>false</code>). Setting <em>expand</em> to <code>false</code> 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#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a> or <a class="el" href="classGtk_1_1Box.html#a1a2894c6723be6147d5c80995fed843a" title="Adds child to box, packed with reference to the end of box.">pack_end()</a> functions.</p>
<p>The <em>fill</em> argument to the <a class="el" href="classGtk_1_1Box.html#a31aa59034a669239c4b99a9ced5742d6" title="Left side insert a widget to a box.">pack_start()</a>/pack_end() functions control whether the extra space is allocated to the objects themselves (<code>true</code>), or as extra padding in the box around these objects (<code>false</code>). It only has an effect if the <em>expand</em> argument is also <code>true</code>.</p>
<p>The difference between spacing (set when the box is created) and padding (set when elements are packed) is, that spacing is added between objects, and padding is added on either side of an 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>child</em> </td><td>The <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Gtk::Widget</a> to be added to <em>box</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>expand</em> </td><td><code>true</code> if the new child is to be given extra space allocated to <em>box</em>. The extra space will be divided evenly between all children of <em>box</em> that use this option. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fill</em> </td><td><code>true</code> if space given to <em>child</em> by the <em>expand</em> option is actually allocated to <em>child</em>, rather than just padding it. This parameter has no effect if <em>expand</em> is set to <code>false</code>. A child is always allocated the full height of a <a class="el" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row.">Gtk::HBox</a> and the full width of a <a class="el" href="classGtk_1_1VBox.html" title="Vertical Box for laying widgets in a vertical row.">Gtk::VBox</a>. This option affects the other dimension. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>padding</em> </td><td>Extra space in pixels to put between this child and its neighbors, over and above the global amount specified by <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:spacing property. If <em>child</em> is a widget at one of the reference ends of <em>box</em>, then <em>padding</em> pixels are also put between <em>child</em> and the reference edge of <em>box</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="afa776673b6ae645bfb9e70f41e3b46e4"></a><!-- doxytag: member="Gtk::Box::property_homogeneous" ref="afa776673b6ae645bfb9e70f41e3b46e4" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::Box::property_homogeneous </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether the children should all be the same size. </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="a4b8403eb7c52f94198c4ee824b842b8a"></a><!-- doxytag: member="Gtk::Box::property_homogeneous" ref="a4b8403eb7c52f94198c4ee824b842b8a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::Box::property_homogeneous </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Whether the children should all be the same size. </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="ad2bb664e5102d78472c42d3d46fd4cfa"></a><!-- doxytag: member="Gtk::Box::property_spacing" ref="ad2bb664e5102d78472c42d3d46fd4cfa" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::Box::property_spacing </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The amount of space between children. </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="ad53032d9ddccee31c8068cea9925c516"></a><!-- doxytag: member="Gtk::Box::property_spacing" ref="ad53032d9ddccee31c8068cea9925c516" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::Box::property_spacing </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The amount of space between children. </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="ad7d79587789a012eb31fec920b07c1b9"></a><!-- doxytag: member="Gtk::Box::reorder_child" ref="ad7d79587789a012eb31fec920b07c1b9" args="(Widget &child, int pos)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::reorder_child </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>& </td>
<td class="paramname"> <em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>pos</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Moves <em>child</em> to a new <em>position</em> in the list of <em>box</em> children. </p>
<p>The list is the <structfield>children</structfield> field of <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>-struct, and contains both widgets packed <a class="el" href="group__gtkmmEnums.html#ggafd31781c802e2887a7898b442780662da453d0a8d050126ec82c6bfd6046c4f91">Gtk::PACK_START</a> as well as widgets packed <a class="el" href="group__gtkmmEnums.html#ggafd31781c802e2887a7898b442780662da094914a721d2d4f2c2e60e55d8960ac9">Gtk::PACK_END</a>, in the order that these widgets were added to <em>box</em>.</p>
<p>A widget's position in the <em>box</em> children list determines where the widget is packed into <em>box</em>. A child widget at some position in the list will be packed just after all other widgets of the same packing type that appear earlier in the list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>The <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets).">Gtk::Widget</a> to move. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>position</em> </td><td>The new position for <em>child</em> in the list of children of <em>box</em>, starting from 0. If negative, indicates the end of the list. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1598f08c7a2b29fe26ccd5987c339328"></a><!-- doxytag: member="Gtk::Box::set_homogeneous" ref="a1598f08c7a2b29fe26ccd5987c339328" args="(bool homogeneous=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::set_homogeneous </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>homogeneous</em> = <code>true</code></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:homogeneous property of <em>box</em>, controlling whether or not all children of <em>box</em> are given equal space in the box. </p>
<dl><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>A boolean value, <code>true</code> to create equal allotments, <code>false</code> for variable allotments. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab5396cb1385f8259bb49a0c78b55087b"></a><!-- doxytag: member="Gtk::Box::set_spacing" ref="ab5396cb1385f8259bb49a0c78b55087b" args="(int spacing)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::Box::set_spacing </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>spacing</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the <a class="el" href="classGtk_1_1Box.html" title="A base class for box containers.">Gtk::Box</a>:spacing property of <em>box</em>, which is the number of pixels to place between children of <em>box</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>spacing</em> </td><td>The number of pixels to put between children. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a780f8b0bce530c8dbacb01f64615cefd"></a><!-- doxytag: member="Gtk::Box::wrap" ref="a780f8b0bce530c8dbacb01f64615cefd" args="(GtkBox *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1Box.html">Gtk::Box</a>* wrap </td>
<td>(</td>
<td class="paramtype">GtkBox * </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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/box.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:46 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>
|