File: classGtk_1_1HButtonBox.html

package info (click to toggle)
gtkmm2.4 1%3A2.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 76,100 kB
  • sloc: xml: 80,438; sh: 10,948; cpp: 8,005; perl: 236; makefile: 224
file content (227 lines) | stat: -rw-r--r-- 14,908 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::HButtonBox Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
      <li class="navelem"><a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::HButtonBox Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a> &#124; <a class="el" href="group__Containers.html">Container Widgets</a></div></h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::HButtonBox" --><!-- doxytag: inherits="Gtk::ButtonBox" -->
<p>A container for arranging buttons horizontally. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::HButtonBox:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1HButtonBox__inherit__graph.png" border="0" usemap="#Gtk_1_1HButtonBox_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1HButtonBox_inherit__map" id="Gtk_1_1HButtonBox_inherit__map">
<area shape="rect" id="node2" href="classGtk_1_1ButtonBox.html" title="Base class for Gtk::HButtonBox and Gtk::VButtonBox." alt="" coords="73,566,185,597"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="92,486,167,517"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="76,406,183,437"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="84,326,175,357"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="21,246,109,277"/><area shape="rect" id="node12" 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="20,166,111,197"/><area shape="rect" id="node14" 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="5,86,125,117"/><area shape="rect" id="node16" 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="12,6,119,37"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="133,246,256,277"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::HButtonBox:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1HButtonBox__coll__graph.png" border="0" usemap="#Gtk_1_1HButtonBox_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1HButtonBox_coll__map" id="Gtk_1_1HButtonBox_coll__map">
<area shape="rect" id="node2" href="classGtk_1_1ButtonBox.html" title="Base class for Gtk::HButtonBox and Gtk::VButtonBox." alt="" coords="73,566,185,597"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="92,486,167,517"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="76,406,183,437"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="84,326,175,357"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="21,246,109,277"/><area shape="rect" id="node12" 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="20,166,111,197"/><area shape="rect" id="node14" 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="5,86,125,117"/><area shape="rect" id="node16" 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="12,6,119,37"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="133,246,256,277"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1HButtonBox-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a7d836bee1e425e7326b60d5696d9a465">~HButtonBox</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkHButtonBox*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a5341332d3e0f09843eed8b7b5b08ec0e">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a5341332d3e0f09843eed8b7b5b08ec0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkHButtonBox*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#aed1412af6acc79ed8bf40ab2bb5c3e07">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#aed1412af6acc79ed8bf40ab2bb5c3e07"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a0a923a5ed95bb0af93af9a7c062c723b">HButtonBox</a> (<a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a> layout=BUTTONBOX_DEFAULT_STYLE, int spacing=BUTTONBOX_DEFAULT)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1HButtonBox.html">Gtk::HButtonBox</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1HButtonBox.html#a24c0e94ce09d5ec8a5203a929e69e8c7">wrap</a> (GtkHButtonBox* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#a24c0e94ce09d5ec8a5203a929e69e8c7"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A container for arranging buttons horizontally. </p>
<p>A button box should be used to provide a consistent layout of buttons throughout your application. There is one default layout and a default spacing value that are persistant across all <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">Gtk::HButtonBox</a> widgets.</p>
<p>The layout/spacing can then be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.</p>
<p>The <a class="el" href="classGtk_1_1HButtonBox.html" title="A container for arranging buttons horizontally.">HButtonBox</a> widget looks like this: </p>
<div align="center">
<img src="hbuttonbox1.png" alt="hbuttonbox1.png"/>
</div>
 </div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7d836bee1e425e7326b60d5696d9a465"></a><!-- doxytag: member="Gtk::HButtonBox::~HButtonBox" ref="a7d836bee1e425e7326b60d5696d9a465" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::HButtonBox::~HButtonBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0a923a5ed95bb0af93af9a7c062c723b"></a><!-- doxytag: member="Gtk::HButtonBox::HButtonBox" ref="a0a923a5ed95bb0af93af9a7c062c723b" args="(ButtonBoxStyle layout=BUTTONBOX_DEFAULT_STYLE, int spacing=BUTTONBOX_DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::HButtonBox::HButtonBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceGtk.html#af8380aa1633c0cc444fa28086237e056">ButtonBoxStyle</a>&#160;</td>
          <td class="paramname"><em>layout</em> = <code>BUTTONBOX_DEFAULT_STYLE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em> = <code>BUTTONBOX_DEFAULT</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5341332d3e0f09843eed8b7b5b08ec0e"></a><!-- doxytag: member="Gtk::HButtonBox::gobj" ref="a5341332d3e0f09843eed8b7b5b08ec0e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkHButtonBox* Gtk::HButtonBox::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1ButtonBox.html#adec8c517273a81eb821ee4276adeed31">Gtk::ButtonBox</a>.</p>

</div>
</div>
<a class="anchor" id="aed1412af6acc79ed8bf40ab2bb5c3e07"></a><!-- doxytag: member="Gtk::HButtonBox::gobj" ref="aed1412af6acc79ed8bf40ab2bb5c3e07" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkHButtonBox* Gtk::HButtonBox::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1ButtonBox.html#a803d54bafb50a56aaa41e1c3fdc9e7e9">Gtk::ButtonBox</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a24c0e94ce09d5ec8a5203a929e69e8c7"></a><!-- doxytag: member="Gtk::HButtonBox::wrap" ref="a24c0e94ce09d5ec8a5203a929e69e8c7" args="(GtkHButtonBox *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1HButtonBox.html">Gtk::HButtonBox</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkHButtonBox *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <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 class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</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 class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:44 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>