File: classGtk_1_1SizeGroup.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 (550 lines) | stat: -rw-r--r-- 38,393 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
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
<!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::SizeGroup 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_1SizeGroup.html">SizeGroup</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::SizeGroup Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::SizeGroup" --><!-- doxytag: inherits="Glib::Object" -->
<p><a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a> provides a mechanism for grouping a number of widgets together so they all request the same amount of space. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::SizeGroup:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1SizeGroup__inherit__graph.png" border="0" usemap="#Gtk_1_1SizeGroup_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1SizeGroup_inherit__map" id="Gtk_1_1SizeGroup_inherit__map">
<area shape="rect" id="node2" 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="node4" 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="node6" 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"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::SizeGroup:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1SizeGroup__coll__graph.png" border="0" usemap="#Gtk_1_1SizeGroup_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1SizeGroup_coll__map" id="Gtk_1_1SizeGroup_coll__map">
<area shape="rect" id="node2" 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="node4" 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="node6" 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"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1SizeGroup-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_1SizeGroup.html#a645e2054e5e80cbb454e28069f7d9939">~SizeGroup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSizeGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#afbd6958d54324554818300bada2ffd24">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#afbd6958d54324554818300bada2ffd24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkSizeGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a2df501038e60d4d92b0602d18355ac17">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2df501038e60d4d92b0602d18355ac17"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkSizeGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a1ab82c162c73e5ccb4d957c80da70e7c">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a1ab82c162c73e5ccb4d957c80da70e7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#acf4fdc20c82107070d107f666e5ebc60">set_mode</a> (<a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Gtk::SizeGroupMode of the size group. <a href="#acf4fdc20c82107070d107f666e5ebc60"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a9d80663134beb8502c167af48bfab6e1">get_mode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current mode of the size group. <a href="#a9d80663134beb8502c167af48bfab6e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a159e0317bf7a973ace4318fbe59de149">set_ignore_hidden</a> (bool ignore_hidden=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether unmapped widgets should be ignored when calculating the size. <a href="#a159e0317bf7a973ace4318fbe59de149"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#ae00dded1ecab7df9af2347670a8c569b">get_ignore_hidden</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns if invisible widgets are ignored when calculating the size. <a href="#ae00dded1ecab7df9af2347670a8c569b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a04a5dfe9cf8aecf92c98bed118c6f469">add_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a widget to a <a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a>. <a href="#a04a5dfe9cf8aecf92c98bed118c6f469"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a453030fa3bed8b0351daacdb720074c4">remove_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a widget from a <a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a>. <a href="#a453030fa3bed8b0351daacdb720074c4"></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_1SListHandle.html">Glib::SListHandle</a>&lt; <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#ad2974429f3202cb5bfd6a6675e197ca1">get_widgets</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of widgets associated with <em>size_group</em>. <a href="#ad2974429f3202cb5bfd6a6675e197ca1"></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_1SListHandle.html">Glib::SListHandle</a>&lt; const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a2d2297d31b82e56b1c1e1106bbd2db9d">get_widgets</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of widgets associated with <em>size_group</em>. <a href="#a2d2297d31b82e56b1c1e1106bbd2db9d"></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><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a282976002ca26ad3356023b4016fd606">property_mode</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The directions in which the size group affects the requested sizes of its component widgets. <a href="#a282976002ca26ad3356023b4016fd606"></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"/>
&lt; <a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a0e3f46dda52ae970a534800b46982a0f">property_mode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The directions in which the size group affects the requested sizes of its component widgets. <a href="#a0e3f46dda52ae970a534800b46982a0f"></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>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a9b425ed7d2767b5741e57e4627c3b278">property_ignore_hidden</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If TRUE, unmapped widgets are ignored when determining the size of the group. <a href="#a9b425ed7d2767b5741e57e4627c3b278"></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"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a5d6c82611ad7be3c2fdf2c96d05e44c4">property_ignore_hidden</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If TRUE, unmapped widgets are ignored when determining the size of the group. <a href="#a5d6c82611ad7be3c2fdf2c96d05e44c4"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1SizeGroup.html">SizeGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#a017dd92172ab9628d3b18443741b94e0">create</a> (<a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> mode)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#ac3c20df7eb8f5a1660e3302b3453e9a7">SizeGroup</a> (<a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> mode)</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="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1SizeGroup.html">Gtk::SizeGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SizeGroup.html#aab19ca78f44ec8ab815a8a96fcdc4a0a">wrap</a> (GtkSizeGroup* 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="#aab19ca78f44ec8ab815a8a96fcdc4a0a"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a> provides a mechanism for grouping a number of widgets together so they all request the same amount of space. </p>
<p>This is typically useful when you want a column of widgets to have the same size, but you can't use a <a class="el" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Gtk::Table</a> widget.</p>
<p>In detail, the size requested for each widget in a <a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a> is the maximum of the sizes that would have been requested for each widget in the size group if they were not in the size group. The mode of the size group (see <a class="el" href="classGtk_1_1SizeGroup.html#acf4fdc20c82107070d107f666e5ebc60" title="Sets the Gtk::SizeGroupMode of the size group.">set_mode()</a>) determines whether this applies to the horizontal size, the vertical size, or both sizes.</p>
<p>Note that size groups only affect the amount of space requested, not the size that the widgets finally receive. If you want the widgets in a GtkSizeGroup to actually be the same size, you need to pack them in such a way that they get the size they request and not more. For example, if you are packing your widgets into a table, you would not include the Gtk::FILL flag.</p>
<p>Widgets can be part of multiple size groups; GTK+ will compute the horizontal size of a widget from the horizontal requisition of all widgets that can be reached from the widget by a chain of size groups of type Gtk::SIZE_GROUP_HORIZONTAL or Gtk::SIZE_GROUP_BOTH, and the vertical size from the vertical requisition of all widgets that can be reached from the widget by a chain of size groups of type Gtk::SIZE_GROUP_VERTICAL or Gtk::SIZE_GROUP_BOTH. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a645e2054e5e80cbb454e28069f7d9939"></a><!-- doxytag: member="Gtk::SizeGroup::~SizeGroup" ref="a645e2054e5e80cbb454e28069f7d9939" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::SizeGroup::~SizeGroup </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="ac3c20df7eb8f5a1660e3302b3453e9a7"></a><!-- doxytag: member="Gtk::SizeGroup::SizeGroup" ref="ac3c20df7eb8f5a1660e3302b3453e9a7" args="(SizeGroupMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::SizeGroup::SizeGroup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a04a5dfe9cf8aecf92c98bed118c6f469"></a><!-- doxytag: member="Gtk::SizeGroup::add_widget" ref="a04a5dfe9cf8aecf92c98bed118c6f469" args="(Widget &amp;widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SizeGroup::add_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a widget to a <a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a>. </p>
<p>In the future, the requisition of the widget will be determined as the maximum of its requisition and the requisition of the other widgets in the size group. Whether this applies horizontally, vertically, or in both directions depends on the mode of the size group. See <a class="el" href="classGtk_1_1SizeGroup.html#acf4fdc20c82107070d107f666e5ebc60" title="Sets the Gtk::SizeGroupMode of the size group.">set_mode()</a>.</p>
<p>When the widget is destroyed or no longer referenced elsewhere, it will be removed from the size group. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>The <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)">Gtk::Widget</a> to add. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a017dd92172ab9628d3b18443741b94e0"></a><!-- doxytag: member="Gtk::SizeGroup::create" ref="a017dd92172ab9628d3b18443741b94e0" args="(SizeGroupMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <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_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1SizeGroup.html">SizeGroup</a>&gt; Gtk::SizeGroup::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae00dded1ecab7df9af2347670a8c569b"></a><!-- doxytag: member="Gtk::SizeGroup::get_ignore_hidden" ref="ae00dded1ecab7df9af2347670a8c569b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::SizeGroup::get_ignore_hidden </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns if invisible widgets are ignored when calculating the size. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000043">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if invisible widgets are ignored. </dd></dl>

</div>
</div>
<a class="anchor" id="a9d80663134beb8502c167af48bfab6e1"></a><!-- doxytag: member="Gtk::SizeGroup::get_mode" ref="a9d80663134beb8502c167af48bfab6e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a> Gtk::SizeGroup::get_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the current mode of the size group. </p>
<p>See <a class="el" href="classGtk_1_1SizeGroup.html#acf4fdc20c82107070d107f666e5ebc60" title="Sets the Gtk::SizeGroupMode of the size group.">set_mode()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current mode of the size group. </dd></dl>

</div>
</div>
<a class="anchor" id="ad2974429f3202cb5bfd6a6675e197ca1"></a><!-- doxytag: member="Gtk::SizeGroup::get_widgets" ref="ad2974429f3202cb5bfd6a6675e197ca1" 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_1SListHandle.html">Glib::SListHandle</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::SizeGroup::get_widgets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the list of widgets associated with <em>size_group</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000297">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A SList of widgets. The list is owned by GTK+ and should not be modified. </dd></dl>

</div>
</div>
<a class="anchor" id="a2d2297d31b82e56b1c1e1106bbd2db9d"></a><!-- doxytag: member="Gtk::SizeGroup::get_widgets" ref="a2d2297d31b82e56b1c1e1106bbd2db9d" 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_1SListHandle.html">Glib::SListHandle</a>&lt;const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::SizeGroup::get_widgets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the list of widgets associated with <em>size_group</em>. </p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000298">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A SList of widgets. The list is owned by GTK+ and should not be modified. </dd></dl>

</div>
</div>
<a class="anchor" id="a2df501038e60d4d92b0602d18355ac17"></a><!-- doxytag: member="Gtk::SizeGroup::gobj" ref="a2df501038e60d4d92b0602d18355ac17" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkSizeGroup* Gtk::SizeGroup::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 GObject. </p>

<p>Reimplemented from <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_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="afbd6958d54324554818300bada2ffd24"></a><!-- doxytag: member="Gtk::SizeGroup::gobj" ref="afbd6958d54324554818300bada2ffd24" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSizeGroup* Gtk::SizeGroup::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 GObject. </p>

<p>Reimplemented from <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_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a1ab82c162c73e5ccb4d957c80da70e7c"></a><!-- doxytag: member="Gtk::SizeGroup::gobj_copy" ref="a1ab82c162c73e5ccb4d957c80da70e7c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkSizeGroup* Gtk::SizeGroup::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a5d6c82611ad7be3c2fdf2c96d05e44c4"></a><!-- doxytag: member="Gtk::SizeGroup::property_ignore_hidden" ref="a5d6c82611ad7be3c2fdf2c96d05e44c4" 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>&lt;bool&gt; Gtk::SizeGroup::property_ignore_hidden </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If TRUE, unmapped widgets are ignored when determining the size of the group. </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="a9b425ed7d2767b5741e57e4627c3b278"></a><!-- doxytag: member="Gtk::SizeGroup::property_ignore_hidden" ref="a9b425ed7d2767b5741e57e4627c3b278" 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>&lt;bool&gt; Gtk::SizeGroup::property_ignore_hidden </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If TRUE, unmapped widgets are ignored when determining the size of the group. </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="a282976002ca26ad3356023b4016fd606"></a><!-- doxytag: member="Gtk::SizeGroup::property_mode" ref="a282976002ca26ad3356023b4016fd606" 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>&lt;<a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&gt; Gtk::SizeGroup::property_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The directions in which the size group affects the requested sizes of its component widgets. </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="a0e3f46dda52ae970a534800b46982a0f"></a><!-- doxytag: member="Gtk::SizeGroup::property_mode" ref="a0e3f46dda52ae970a534800b46982a0f" 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>&lt;<a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&gt; Gtk::SizeGroup::property_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The directions in which the size group affects the requested sizes of its component widgets. </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="a453030fa3bed8b0351daacdb720074c4"></a><!-- doxytag: member="Gtk::SizeGroup::remove_widget" ref="a453030fa3bed8b0351daacdb720074c4" args="(Widget &amp;widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SizeGroup::remove_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a widget from a <a class="el" href="classGtk_1_1SizeGroup.html" title="Gtk::SizeGroup provides a mechanism for grouping a number of widgets together so they all request the...">Gtk::SizeGroup</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>The <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)">Gtk::Widget</a> to remove. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a159e0317bf7a973ace4318fbe59de149"></a><!-- doxytag: member="Gtk::SizeGroup::set_ignore_hidden" ref="a159e0317bf7a973ace4318fbe59de149" args="(bool ignore_hidden=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SizeGroup::set_ignore_hidden </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignore_hidden</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether unmapped widgets should be ignored when calculating the size. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000042">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ignore_hidden</td><td>Whether unmapped widgets should be ignored when calculating the size. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf4fdc20c82107070d107f666e5ebc60"></a><!-- doxytag: member="Gtk::SizeGroup::set_mode" ref="acf4fdc20c82107070d107f666e5ebc60" args="(SizeGroupMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::SizeGroup::set_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga7230c54c268363becedfd97bc42f7d05">SizeGroupMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the Gtk::SizeGroupMode of the size group. </p>
<p>The mode of the size group determines whether the widgets in the size group should all have the same horizontal requisition (Gtk::SIZE_GROUP_MODE_HORIZONTAL) all have the same vertical requisition (Gtk::SIZE_GROUP_MODE_VERTICAL), or should all have the same requisition in both directions (Gtk::SIZE_GROUP_MODE_BOTH). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>The mode to set for the size group. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aab19ca78f44ec8ab815a8a96fcdc4a0a"></a><!-- doxytag: member="Gtk::SizeGroup::wrap" ref="aab19ca78f44ec8ab815a8a96fcdc4a0a" args="(GtkSizeGroup *object, bool take_copy=false)" -->
<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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1SizeGroup.html">Gtk::SizeGroup</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkSizeGroup *&#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/sizegroup.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:47 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>