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
|
<!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::ButtonBox 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_1ButtonBox.html">ButtonBox</a>
</div>
</div>
<div class="contents">
<h1>Gtk::ButtonBox Class Reference</h1><!-- doxytag: class="Gtk::ButtonBox" --><!-- doxytag: inherits="Gtk::Box" -->
<p>Base class for <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">Gtk::HButtonBox</a> and <a class="el" href="classGtk_1_1VButtonBox.html" title="A container for arranging buttons vertically.">Gtk::VButtonBox</a>. <a href="#_details">More...</a></p>
<p>Inherits <a class="el" href="classGtk_1_1Box.html">Gtk::Box</a>.</p>
<p>Inherited by <a class="el" href="classGtk_1_1HButtonBox.html">Gtk::HButtonBox</a>, and <a class="el" href="classGtk_1_1VButtonBox.html">Gtk::VButtonBox</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::ButtonBox:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1ButtonBox__coll__graph.png" border="0" usemap="#Gtk_1_1ButtonBox_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1ButtonBox_coll__map" id="Gtk_1_1ButtonBox_coll__map">
<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" 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_1ButtonBox-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_1ButtonBox.html#a47ad522c50a704c619bb0b6b79e79b9a">~ButtonBox</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkButtonBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#adec8c517273a81eb821ee4276adeed31">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#adec8c517273a81eb821ee4276adeed31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkButtonBox* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a803d54bafb50a56aaa41e1c3fdc9e7e9">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a803d54bafb50a56aaa41e1c3fdc9e7e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a1800f85282ada142addf5001594a0902">get_layout</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a15811a904e7b59fddcdb0f4e863717a4">set_layout</a> (<a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> layout_style)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a13d4f662a85207efa73aeb6be5caec7b">set_child_secondary</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, bool is_secondary=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether <em>child</em> should appear in a secondary group of children. <a href="#a13d4f662a85207efa73aeb6be5caec7b"></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_1ButtonBox.html#a693bb72957205bc11e832516aedfd1b9">get_child_secondary</a> (const <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& child) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether <em>child</em> should appear in a secondary group of children. <a href="#a693bb72957205bc11e832516aedfd1b9"></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_1ButtonBox.html#afc3f4e2ca7430dc4438944f26fa35dba">get_child_min_width</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a6c6f041c9a5272533c4b4aaf7929fd05">set_child_min_width</a> (const int&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#aeed4426eb12e87121d6d96842069ea71">get_child_min_height</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#aac8e2ef4f4a4a834fcde1b528801be33">set_child_min_height</a> (const int&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a9f24e6f00e846869aa63057026d221e3">get_child_ipadding_x</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#aad775392e3c02aefc88fca4dc3843f9e">set_child_ipadding_x</a> (const int&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a872e37fcf9f92c2a306d00c4e9480ecc">get_child_ipadding_y</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#ae041b14aed92a3c4783d0b338193cf07">set_child_ipadding_y</a> (const int&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</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><br class="typebreak"/>
< <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#ad12fdcc090a40fae932cd29635944426">property_layout_style</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">How to layout the buttons in the box. <a href="#ad12fdcc090a40fae932cd29635944426"></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"/>
< <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a175d823438481433040683c7b2cb052a">property_layout_style</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">How to layout the buttons in the box. <a href="#a175d823438481433040683c7b2cb052a"></a><br/></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_1ButtonBox.html">Gtk::ButtonBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ButtonBox.html#a79244660dffe3c1053c6843ddbc580db">wrap</a> (GtkButtonBox* 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="#a79244660dffe3c1053c6843ddbc580db"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Base class for <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">Gtk::HButtonBox</a> and <a class="el" href="classGtk_1_1VButtonBox.html" title="A container for arranging buttons vertically.">Gtk::VButtonBox</a>. </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_1ButtonBox.html" title="Base class for Gtk::HButtonBox and Gtk::VButtonBox.">ButtonBox</a> widgets. </p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a47ad522c50a704c619bb0b6b79e79b9a"></a><!-- doxytag: member="Gtk::ButtonBox::~ButtonBox" ref="a47ad522c50a704c619bb0b6b79e79b9a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gtk::ButtonBox::~ButtonBox </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9f24e6f00e846869aa63057026d221e3"></a><!-- doxytag: member="Gtk::ButtonBox::get_child_ipadding_x" ref="a9f24e6f00e846869aa63057026d221e3" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::ButtonBox::get_child_ipadding_x </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a872e37fcf9f92c2a306d00c4e9480ecc"></a><!-- doxytag: member="Gtk::ButtonBox::get_child_ipadding_y" ref="a872e37fcf9f92c2a306d00c4e9480ecc" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::ButtonBox::get_child_ipadding_y </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aeed4426eb12e87121d6d96842069ea71"></a><!-- doxytag: member="Gtk::ButtonBox::get_child_min_height" ref="aeed4426eb12e87121d6d96842069ea71" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::ButtonBox::get_child_min_height </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="afc3f4e2ca7430dc4438944f26fa35dba"></a><!-- doxytag: member="Gtk::ButtonBox::get_child_min_width" ref="afc3f4e2ca7430dc4438944f26fa35dba" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gtk::ButtonBox::get_child_min_width </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a693bb72957205bc11e832516aedfd1b9"></a><!-- doxytag: member="Gtk::ButtonBox::get_child_secondary" ref="a693bb72957205bc11e832516aedfd1b9" args="(const Gtk::Widget &child) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gtk::ButtonBox::get_child_secondary </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>& </td>
<td class="paramname"> <em>child</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns whether <em>child</em> should appear in a secondary group of children. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000049">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<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 child of <em>widget</em>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether <em>child</em> should appear in a secondary group of children. </dd></dl>
</div>
</div>
<a class="anchor" id="a1800f85282ada142addf5001594a0902"></a><!-- doxytag: member="Gtk::ButtonBox::get_layout" ref="a1800f85282ada142addf5001594a0902" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> Gtk::ButtonBox::get_layout </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a803d54bafb50a56aaa41e1c3fdc9e7e9"></a><!-- doxytag: member="Gtk::ButtonBox::gobj" ref="a803d54bafb50a56aaa41e1c3fdc9e7e9" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GtkButtonBox* Gtk::ButtonBox::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_1Box.html#afe3f8f57d7f557a2625ac718f704d1f5">Gtk::Box</a>.</p>
<p>Reimplemented in <a class="el" href="classGtk_1_1VButtonBox.html#a63151553dc28bf42a5bc9e73d4f13f35">Gtk::VButtonBox</a>, and <a class="el" href="classGtk_1_1HButtonBox.html#aed1412af6acc79ed8bf40ab2bb5c3e07">Gtk::HButtonBox</a>.</p>
</div>
</div>
<a class="anchor" id="adec8c517273a81eb821ee4276adeed31"></a><!-- doxytag: member="Gtk::ButtonBox::gobj" ref="adec8c517273a81eb821ee4276adeed31" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GtkButtonBox* Gtk::ButtonBox::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_1Box.html#a0c7fda2b5be79b4bd7937f5d0c4be32d">Gtk::Box</a>.</p>
<p>Reimplemented in <a class="el" href="classGtk_1_1VButtonBox.html#af06694e6a130b2a182b2fbb40679d629">Gtk::VButtonBox</a>, and <a class="el" href="classGtk_1_1HButtonBox.html#a5341332d3e0f09843eed8b7b5b08ec0e">Gtk::HButtonBox</a>.</p>
</div>
</div>
<a class="anchor" id="a175d823438481433040683c7b2cb052a"></a><!-- doxytag: member="Gtk::ButtonBox::property_layout_style" ref="a175d823438481433040683c7b2cb052a" 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><<a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a>> Gtk::ButtonBox::property_layout_style </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>How to layout the buttons in the box. </p>
<p>Possible values are default</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="ad12fdcc090a40fae932cd29635944426"></a><!-- doxytag: member="Gtk::ButtonBox::property_layout_style" ref="ad12fdcc090a40fae932cd29635944426" 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><<a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a>> Gtk::ButtonBox::property_layout_style </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>How to layout the buttons in the box. </p>
<p>Possible values are default</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="aad775392e3c02aefc88fca4dc3843f9e"></a><!-- doxytag: member="Gtk::ButtonBox::set_child_ipadding_x" ref="aad775392e3c02aefc88fca4dc3843f9e" args="(const int &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_child_ipadding_x </td>
<td>(</td>
<td class="paramtype">const int & </td>
<td class="paramname"> <em>value</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae041b14aed92a3c4783d0b338193cf07"></a><!-- doxytag: member="Gtk::ButtonBox::set_child_ipadding_y" ref="ae041b14aed92a3c4783d0b338193cf07" args="(const int &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_child_ipadding_y </td>
<td>(</td>
<td class="paramtype">const int & </td>
<td class="paramname"> <em>value</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aac8e2ef4f4a4a834fcde1b528801be33"></a><!-- doxytag: member="Gtk::ButtonBox::set_child_min_height" ref="aac8e2ef4f4a4a834fcde1b528801be33" args="(const int &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_child_min_height </td>
<td>(</td>
<td class="paramtype">const int & </td>
<td class="paramname"> <em>value</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6c6f041c9a5272533c4b4aaf7929fd05"></a><!-- doxytag: member="Gtk::ButtonBox::set_child_min_width" ref="a6c6f041c9a5272533c4b4aaf7929fd05" args="(const int &value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_child_min_width </td>
<td>(</td>
<td class="paramtype">const int & </td>
<td class="paramname"> <em>value</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a13d4f662a85207efa73aeb6be5caec7b"></a><!-- doxytag: member="Gtk::ButtonBox::set_child_secondary" ref="a13d4f662a85207efa73aeb6be5caec7b" args="(Widget &child, bool is_secondary=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_child_secondary </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>is_secondary</em> = <code>true</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets whether <em>child</em> should appear in a secondary group of children. </p>
<p>A typical use of a secondary child is the help button in a dialog.</p>
<p>This group appears after the other children if the style is <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056a78365c434c280f15f33a2ee5ad9e48f1">Gtk::BUTTONBOX_START</a>, <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056aedf018450094d8289348faa15491d6b2">Gtk::BUTTONBOX_SPREAD</a> or <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056a52052ab5937966eff47d1088267d6ee8">Gtk::BUTTONBOX_EDGE</a>, and before the other children if the style is <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056ac7681383a607c1fbe295342790507c70">Gtk::BUTTONBOX_END</a>. For horizontal button boxes, the definition of before/after depends on direction of the widget (see <a class="el" href="classGtk_1_1Widget.html#a99ce7eb311e0c9fbc4470c845555b93d" title="Sets the reading direction on a particular widget.">Gtk::Widget::set_direction()</a>). If the style is <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056a78365c434c280f15f33a2ee5ad9e48f1">Gtk::BUTTONBOX_START</a> or <a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056ac7681383a607c1fbe295342790507c70">Gtk::BUTTONBOX_END</a>, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. </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 child of <em>widget</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>is_secondary</em> </td><td>If <code>true</code>, the <em>child</em> appears in a secondary group of the button box. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a15811a904e7b59fddcdb0f4e863717a4"></a><!-- doxytag: member="Gtk::ButtonBox::set_layout" ref="a15811a904e7b59fddcdb0f4e863717a4" args="(ButtonBoxStyle layout_style)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gtk::ButtonBox::set_layout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> </td>
<td class="paramname"> <em>layout_style</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a79244660dffe3c1053c6843ddbc580db"></a><!-- doxytag: member="Gtk::ButtonBox::wrap" ref="a79244660dffe3c1053c6843ddbc580db" args="(GtkButtonBox *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGtk_1_1ButtonBox.html">Gtk::ButtonBox</a>* wrap </td>
<td>(</td>
<td class="paramtype">GtkButtonBox * </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/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>
|