File: classGFC_1_1Gtk_1_1Container.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (972 lines) | stat: -rw-r--r-- 52,521 bytes parent folder | download | duplicates (3)
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
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::Container Class Reference</h1>A GtkContainer C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="container_8hh-source.html">gfc/gtk/container.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::Container:
<p><center><img src="classGFC_1_1Gtk_1_1Container.png" usemap="#GFC::Gtk::Container_map" border="0" alt=""></center>
<map name="GFC::Gtk::Container_map">
<area href="classGFC_1_1Gtk_1_1Widget.html" alt="GFC::Gtk::Widget" shape="rect" coords="73,224,210,248">
<area href="classGFC_1_1Gtk_1_1Object.html" alt="GFC::Gtk::Object" shape="rect" coords="0,168,137,192">
<area href="classGFC_1_1Atk_1_1Implementor.html" alt="GFC::Atk::Implementor" shape="rect" coords="147,168,284,192">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,137,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInterface.html" alt="GFC::G::TypeInterface" shape="rect" coords="147,112,284,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,137,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="147,56,284,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,137,24">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="147,0,284,24">
<area href="classGFC_1_1Gtk_1_1Bin.html" alt="GFC::Gtk::Bin" shape="rect" coords="220,336,357,360">
<area href="classGFC_1_1Gtk_1_1Box.html" alt="GFC::Gtk::Box" shape="rect" coords="220,392,357,416">
<area href="classGFC_1_1Gtk_1_1Fixed.html" alt="GFC::Gtk::Fixed" shape="rect" coords="220,448,357,472">
<area href="classGFC_1_1Gtk_1_1Layout.html" alt="GFC::Gtk::Layout" shape="rect" coords="220,504,357,528">
<area href="classGFC_1_1Gtk_1_1MenuShell.html" alt="GFC::Gtk::MenuShell" shape="rect" coords="220,560,357,584">
<area href="classGFC_1_1Gtk_1_1Notebook.html" alt="GFC::Gtk::Notebook" shape="rect" coords="220,616,357,640">
<area href="classGFC_1_1Gtk_1_1Paned.html" alt="GFC::Gtk::Paned" shape="rect" coords="220,672,357,696">
<area href="classGFC_1_1Gtk_1_1Socket.html" alt="GFC::Gtk::Socket" shape="rect" coords="220,728,357,752">
<area href="classGFC_1_1Gtk_1_1Table.html" alt="GFC::Gtk::Table" shape="rect" coords="220,784,357,808">
<area href="classGFC_1_1Gtk_1_1TextView.html" alt="GFC::Gtk::TextView" shape="rect" coords="220,840,357,864">
<area href="classGFC_1_1Gtk_1_1Toolbar.html" alt="GFC::Gtk::Toolbar" shape="rect" coords="220,896,357,920">
<area href="classGFC_1_1Gtk_1_1TreeView.html" alt="GFC::Gtk::TreeView" shape="rect" coords="220,952,357,976">
</map>
<a href="classGFC_1_1Gtk_1_1Container-members.html">List of all members.</a><h2>Signal Prototypes</h2>
<ul>
<li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">AddSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_8">add_signal</a>
<dl class="el"><dd class="mdescRight">Add signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_0">sig_add()</a>).  <a href="#z458_8"></a><br></dl><li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RemoveSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_9">remove_signal</a>
<dl class="el"><dd class="mdescRight">Remove signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_1">sig_remove()</a>).  <a href="#z458_9"></a><br></dl><li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">CheckResizeSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_10">check_resize_signal</a>
<dl class="el"><dd class="mdescRight">Check resize signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_2">sig_check_resize()</a>).  <a href="#z458_10"></a><br></dl><li>const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">SetFocusChildSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_11">set_focus_child_signal</a>
<dl class="el"><dd class="mdescRight">Set focus child signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_3">sig_set_focus_child()</a>).  <a href="#z458_11"></a><br></dl></ul>
<h2>Public Types</h2>
<ul>
<li>typedef sigc::slot&lt; void,<br>
 <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp; &gt; <a class="el" href="classGFC_1_1Gtk_1_1Container.html#w0">ForeachSlot</a>
<dl class="el"><dd class="mdescRight">Signature of the callback slot to be called for each widget in the container.  <a href="#w0"></a><br></dl></ul>
<h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="anchor" name="z459_0" doxytag="GFC::Gtk::Container::~Container" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z459_0">~Container</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z460_0" doxytag="GFC::Gtk::Container::gtk_container" ></a>
GtkContainer * <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_0">gtk_container</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkContainer structure. <br></dl><li><a class="anchor" name="z460_1" doxytag="GFC::Gtk::Container::operator GtkContainer *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_1">operator GtkContainer *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts a <a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a> to a GtkContainer pointer. <br></dl><li><a class="anchor" name="z460_2" doxytag="GFC::Gtk::Container::is_resize_container" ></a>
bool <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_2">is_resize_container</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the resize request is handled by the container, and false if it's passed to the container's parent (RESIZE_PARENT). <br></dl><li>GType <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_3">child_type</a> () const
<dl class="el"><dd class="mdescRight">Returns the type of the children supported by the container.  <a href="#z460_3"></a><br></dl><li><a class="anchor" name="z460_4" doxytag="GFC::Gtk::Container::focus_child" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_4">focus_child</a> () const
<dl class="el"><dd class="mdescRight">Returns the widget that currently has the focus set on it. <br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_5">get_children</a> (std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;child_list) const
<dl class="el"><dd class="mdescRight">Gets a list ot the container's non-internal children.  <a href="#z460_5"></a><br></dl><li><a class="anchor" name="z460_6" doxytag="GFC::Gtk::Container::get_border_width" ></a>
unsigned int <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_6">get_border_width</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the current border width of the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_4">set_border_width()</a>. <br></dl><li><a class="anchor" name="z460_7" doxytag="GFC::Gtk::Container::get_resize_mode" ></a>
<a class="el" href="namespaceGFC_1_1Gtk.html#a334">ResizeMode</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_7">get_resize_mode</a> () const
<dl class="el"><dd class="mdescRight">Returns the resize mode for the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_5">set_resize_mode()</a>. <br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_8">get_focus_chain</a> (std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;focusable_widgets) const
<dl class="el"><dd class="mdescRight">Retrieves the focus chain of the container, if one has been set explicitly.  <a href="#z460_8"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> * <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_9">get_focus_vadjustment</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the vertical focus adjustment for the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_8">set_focus_vadjustment()</a>.  <a href="#z460_9"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> * <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z460_10">get_focus_hadjustment</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the horizontal focus adjustment for the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_9">set_focus_hadjustment()</a>.  <a href="#z460_10"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_0">add</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;widget)
<dl class="el"><dd class="mdescRight">Adds widget to the container.  <a href="#z461_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_1">remove</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;widget)
<dl class="el"><dd class="mdescRight">Removes widget from the container.  <a href="#z461_1"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_2">check_resize</a> ()
<dl class="el"><dd class="mdescRight">Check whether the container should resize, and if so queue a resize request.  <a href="#z461_2"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_3">set_focus_child</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;widget)
<dl class="el"><dd class="mdescRight">Sets the focus on a widget.  <a href="#z461_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_4">set_border_width</a> (unsigned int border_width)
<dl class="el"><dd class="mdescRight">Sets the border width of the container.  <a href="#z461_4"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_5">set_resize_mode</a> (<a class="el" href="namespaceGFC_1_1Gtk.html#a334">ResizeMode</a> resize_mode)
<dl class="el"><dd class="mdescRight">Sets the resize mode for the container.  <a href="#z461_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_6">foreach</a> (const <a class="el" href="classGFC_1_1Gtk_1_1Container.html#w0">ForeachSlot</a> &amp;each)
<dl class="el"><dd class="mdescRight">Invokes the <em>each</em> slot on each non-internal child of the container.  <a href="#z461_6"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_7">set_reallocate_redraws</a> (bool needs_redraws)
<dl class="el"><dd class="mdescRight">Containers requesting reallocation redraws get automatically redrawn if any of their children change their allocation.  <a href="#z461_7"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_8">set_focus_vadjustment</a> (<a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> *adjustment)
<dl class="el"><dd class="mdescRight">Sets the vertical focus adjustment for the container.  <a href="#z461_8"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_9">set_focus_hadjustment</a> (<a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> *adjustment)
<dl class="el"><dd class="mdescRight">Sets the horizontal focus adjustment for the container.  <a href="#z461_9"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_10">resize_children</a> ()
<dl class="el"><dd class="mdescRight">Update the size and position of the child widgets.  <a href="#z461_10"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_11">propagate_expose</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;child, const <a class="el" href="classGFC_1_1Gdk_1_1EventExpose.html">Gdk::EventExpose</a> &amp;event)
<dl class="el"><dd class="mdescRight">When a container receives an expose event, it must send synthetic expose events to all children that don't have their own Gdk::Windows.  <a href="#z461_11"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_12">set_focus_chain</a> (const std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;focusable_widgets)
<dl class="el"><dd class="mdescRight">Sets a focus chain, overriding the one computed automatically by GTK+.  <a href="#z461_12"></a><br></dl><li><a class="anchor" name="z461_13" doxytag="GFC::Gtk::Container::unset_focus_chain" ></a>
void <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_13">unset_focus_chain</a> ()
<dl class="el"><dd class="mdescRight">Removes a focus chain explicitly set with <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_12">set_focus_chain()</a>. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Signal Proxies</div></td></tr>
<ul>
<li><a class="anchor" name="z462_0" doxytag="GFC::Gtk::Container::sig_add" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">AddSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_0">sig_add</a> ()
<dl class="el"><dd class="mdescRight">Connect to the add_signal; emitted when a child widget is added to the container. <br></dl><li><a class="anchor" name="z462_1" doxytag="GFC::Gtk::Container::sig_remove" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">RemoveSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_1">sig_remove</a> ()
<dl class="el"><dd class="mdescRight">Connect to the remove_signal; emitted when a child widget is removed from the container. <br></dl><li><a class="anchor" name="z462_2" doxytag="GFC::Gtk::Container::sig_check_resize" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">CheckResizeSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_2">sig_check_resize</a> ()
<dl class="el"><dd class="mdescRight">Connect to the check_resize_signal; emitted when a container needs to check whether it should resize or when one of its children queues a resize request. <br></dl><li><a class="anchor" name="z462_3" doxytag="GFC::Gtk::Container::sig_set_focus_child" ></a>
const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1SignalProxy.html">SetFocusChildSignalProxy</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_3">sig_set_focus_child</a> ()
<dl class="el"><dd class="mdescRight">Connect to the set_focus_child_signal; emitted when the container sets the focus on a child. <br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Container.html#z457_0">Container</a> (GtkContainer *container, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=false)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a> from an existing GtkContainer.  <a href="#z457_0"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkContainer C++ wrapper class. 
<p>
<a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a> is a base class for widgets (parents) that contain other widgets (children). <a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a> is responsible for managing the parent-child relationship. There are several types of containers, some having only one child and others having several. Some containers with only one child derive from <a class="el" href="classGFC_1_1Gtk_1_1Bin.html">Bin</a> (<a class="el" href="classGFC_1_1Gtk_1_1Window.html">Window</a>, <a class="el" href="classGFC_1_1Gtk_1_1Button.html">Button</a>, <a class="el" href="classGFC_1_1Gtk_1_1Frame.html">Frame</a>, <a class="el" href="classGFC_1_1Gtk_1_1HandleBox.html">HandleBox</a>), while others with several children derive from <a class="el" href="classGFC_1_1Gtk_1_1Box.html">Box</a> (<a class="el" href="classGFC_1_1Gtk_1_1HBox.html">HBox</a>, <a class="el" href="classGFC_1_1Gtk_1_1VBox.html">VBox</a>), <a class="el" href="classGFC_1_1Gtk_1_1MenuShell.html">MenuShell</a> (<a class="el" href="classGFC_1_1Gtk_1_1Menu.html">Menu</a>, <a class="el" href="classGFC_1_1Gtk_1_1MenuBar.html">MenuBar</a>) and <a class="el" href="classGFC_1_1Gtk_1_1Paned.html">Paned</a> (<a class="el" href="classGFC_1_1Gtk_1_1HPaned.html">HPaned</a>, <a class="el" href="classGFC_1_1Gtk_1_1VPaned.html">VPaned</a>). Other containers with several children include <a class="el" href="classGFC_1_1Gtk_1_1Fixed.html">Fixed</a>, <a class="el" href="classGFC_1_1Gtk_1_1Layout.html">Layout</a>, <a class="el" href="classGFC_1_1Gtk_1_1Notebook.html">Notebook</a>, <a class="el" href="classGFC_1_1Gtk_1_1Table.html">Table</a> and <a class="el" href="classGFC_1_1Gtk_1_1Toolbar.html">Toolbar</a>. 
<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="w0" doxytag="GFC::Gtk::Container::ForeachSlot" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef sigc::slot&lt;void, <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a>&amp;&gt; <a class="el" href="classGFC_1_1Gtk_1_1Container.html#w0">GFC::Gtk::Container::ForeachSlot</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Signature of the callback slot to be called for each widget in the container. 
<p>
<b>Example:</b> Method signature for ForeachSlot. <div class="fragment"><pre>             <span class="keywordtype">void</span> method(Widget&amp; widget);
            
             <span class="comment">// widget: The child widget.</span>
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z457_0" doxytag="GFC::Gtk::Container::Container" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Container::Container           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkContainer *&nbsp;</td>
          <td class="mdname" nowrap> <em>container</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>false</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a> from an existing GtkContainer. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>container</em>&nbsp;</td><td>A pointer to a GtkContainer. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>container</em> can be a newly created GtkContainer or an existing GtkContainer. (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z461_0" doxytag="GFC::Gtk::Container::add" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::add           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>widget</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds widget to the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>widget</em>&nbsp;</td><td>A widget to be placed inside the container.</td></tr>
  </table>
</dl>
<br>
Typically used for simple containers such as <a class="el" href="classGFC_1_1Gtk_1_1Window.html">Window</a>, <a class="el" href="classGFC_1_1Gtk_1_1Frame.html">Frame</a>, or <a class="el" href="classGFC_1_1Gtk_1_1Button.html">Button</a>; for more complicated layout containers such as <a class="el" href="classGFC_1_1Gtk_1_1Box.html">Box</a> or <a class="el" href="classGFC_1_1Gtk_1_1Table.html">Table</a>, this method will pick default packing parameters that may not be correct. So consider methods such as <a class="el" href="classGFC_1_1Gtk_1_1Box.html#z327_0">Gtk::Box::pack_start()</a> and <a class="el" href="classGFC_1_1Gtk_1_1Table.html#z854_1">Gtk::Table::attach()</a> as an alternative to <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_0">add()</a> in those cases. A widget may be added to only one container at a time; you can't place the same widget inside two different containers.     </td>
  </tr>
</table>
<a class="anchor" name="z461_2" doxytag="GFC::Gtk::Container::check_resize" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::check_resize           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Check whether the container should resize, and if so queue a resize request. 
<p>
Only useful when writing a special custom widget.     </td>
  </tr>
</table>
<a class="anchor" name="z460_3" doxytag="GFC::Gtk::Container::child_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GType GFC::Gtk::Container::child_type           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the type of the children supported by the container. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A GType.</dd></dl>
<br>
Note that this may return G_TYPE_NONE to indicate that no more children can be added, e.g. for a <a class="el" href="classGFC_1_1Gtk_1_1Paned.html">Gtk::Paned</a> which already has two children.     </td>
  </tr>
</table>
<a class="anchor" name="z461_6" doxytag="GFC::Gtk::Container::foreach" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::foreach           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGFC_1_1Gtk_1_1Container.html#w0">ForeachSlot</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>each</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Invokes the <em>each</em> slot on each non-internal child of the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>each</em>&nbsp;</td><td>A ForeachSlot to call on each non-internal child of the container.</td></tr>
  </table>
</dl>
<br>
"Internal" children generally weren't added by the user of the container, but were added by the container implementation itself.     </td>
  </tr>
</table>
<a class="anchor" name="z460_5" doxytag="GFC::Gtk::Container::get_children" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Container::get_children           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>child_list</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets a list ot the container's non-internal children. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>child_list</em>&nbsp;</td><td>A vector of Widget* to hold the list of the container's non-internal children.</td></tr>
  </table>
</dl>
<br>
See <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_6">foreach()</a> for details on what constitutes an "internal" child.     </td>
  </tr>
</table>
<a class="anchor" name="z460_8" doxytag="GFC::Gtk::Container::get_focus_chain" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Container::get_focus_chain           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>focusable_widgets</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the focus chain of the container, if one has been set explicitly. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>focusable_widgets</em>&nbsp;</td><td>A vector of Widget* to store the focus chain of the container. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the focus chain of the container has been set explicitly.</dd></dl>
<br>
If no focus chain has been explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores null in focusable_widgets and returns false. <em>No additional reference count is added to the individual widgets in the focus chain</em>.     </td>
  </tr>
</table>
<a class="anchor" name="z460_10" doxytag="GFC::Gtk::Container::get_focus_hadjustment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a>* GFC::Gtk::Container::get_focus_hadjustment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the horizontal focus adjustment for the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_9">set_focus_hadjustment()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The horizontal focus adjustment, or null if none has been set. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z460_9" doxytag="GFC::Gtk::Container::get_focus_vadjustment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a>* GFC::Gtk::Container::get_focus_vadjustment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the vertical focus adjustment for the container; see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_8">set_focus_vadjustment()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The vertical focus adjustment, or null if none has been set. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z461_11" doxytag="GFC::Gtk::Container::propagate_expose" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::propagate_expose           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>child</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGFC_1_1Gdk_1_1EventExpose.html">Gdk::EventExpose</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>event</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
When a container receives an expose event, it must send synthetic expose events to all children that don't have their own Gdk::Windows. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>child</em>&nbsp;</td><td>A child of the container. </td></tr>
    <tr><td></td><td valign=top><em>event</em>&nbsp;</td><td>An expose event sent to the container.</td></tr>
  </table>
</dl>
<br>
This method provides a convenient way of sending an expose event. A container, when it receives an expose event, calls <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_11">propagate_expose()</a> once for each child, passing in the event the container received. This method takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event. In most cases, a container can simply override the inherited on_expose_event() implementation from <a class="el" href="classGFC_1_1Gtk_1_1Container.html">Container</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z461_1" doxytag="GFC::Gtk::Container::remove" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::remove           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>widget</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Removes widget from the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>widget</em>&nbsp;</td><td>A current child of the container.</td></tr>
  </table>
</dl>
<br>
The widget must be inside container. Note that the container will own a reference to widget, and that this may be the last reference held; so removing a widget from its container can destroy that widget. If you want to use widget again, you need to add a reference to it while it's not inside a container, using <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z72_0">G::Object::ref()</a>.     </td>
  </tr>
</table>
<a class="anchor" name="z461_10" doxytag="GFC::Gtk::Container::resize_children" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::resize_children           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Update the size and position of the child widgets. 
<p>
Only useful when writing a special custom widget. Called after a size request to the get the container to reallocate its size and position to reflect a change in the size and position of its children.     </td>
  </tr>
</table>
<a class="anchor" name="z461_4" doxytag="GFC::Gtk::Container::set_border_width" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_border_width           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>border_width</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the border width of the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>border_width</em>&nbsp;</td><td>Amount of blank space to leave outside the container. Valid values are in the range 0-65535 pixels.</td></tr>
  </table>
</dl>
<br>
The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is <a class="el" href="classGFC_1_1Gtk_1_1Window.html">Gtk::Window</a>; because toplevel windows can't leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, one approach is to create an <a class="el" href="classGFC_1_1Gtk_1_1Alignment.html">Alignment</a> widget, call <a class="el" href="classGFC_1_1Gtk_1_1Widget.html#z1053_56">Gtk::Widget::set_size_request()</a> to give it a size, and place it on the side of the container as a spacer.     </td>
  </tr>
</table>
<a class="anchor" name="z461_12" doxytag="GFC::Gtk::Container::set_focus_chain" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_focus_chain           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>focusable_widgets</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets a focus chain, overriding the one computed automatically by GTK+. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>focusable_widgets</em>&nbsp;</td><td>A vector of Widgets to set as the new focus chain.</td></tr>
  </table>
</dl>
<br>
In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it's allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn't always packed. The necessary checks are done when the focus chain is actually traversed.     </td>
  </tr>
</table>
<a class="anchor" name="z461_3" doxytag="GFC::Gtk::Container::set_focus_child" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_focus_child           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>widget</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the focus on a widget. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>widget</em>&nbsp;</td><td>The widget that is to receive the focus. Only useful when writing a special custom widget. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z461_9" doxytag="GFC::Gtk::Container::set_focus_hadjustment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_focus_hadjustment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>adjustment</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the horizontal focus adjustment for the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>adjustment</em>&nbsp;</td><td>The new horizontal focus adjustment, or null.</td></tr>
  </table>
</dl>
<br>
Updates the <a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> to reflect the horizontal position of the focused child, according to the width of the container.     </td>
  </tr>
</table>
<a class="anchor" name="z461_8" doxytag="GFC::Gtk::Container::set_focus_vadjustment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_focus_vadjustment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>adjustment</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the vertical focus adjustment for the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>adjustment</em>&nbsp;</td><td>The new vertical focus adjustment, or null.</td></tr>
  </table>
</dl>
<br>
Updates the <a class="el" href="classGFC_1_1Gtk_1_1Adjustment.html">Adjustment</a> to reflect the vertical position of the focused child, according to the height of the container.     </td>
  </tr>
</table>
<a class="anchor" name="z461_7" doxytag="GFC::Gtk::Container::set_reallocate_redraws" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_reallocate_redraws           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>needs_redraws</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Containers requesting reallocation redraws get automatically redrawn if any of their children change their allocation. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>needs_redraws</em>&nbsp;</td><td>The new value for the container's reallocate_redraws flag. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z461_5" doxytag="GFC::Gtk::Container::set_resize_mode" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Container::set_resize_mode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceGFC_1_1Gtk.html#a334">ResizeMode</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>resize_mode</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the resize mode for the container. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>resize_mode</em>&nbsp;</td><td>The new resize mode.</td></tr>
  </table>
</dl>
<br>
The resize mode of a container determines whether a resize request will be passed to the container's parent, queued for later execution or executed immediately.     </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="z458_8" doxytag="GFC::Gtk::Container::add_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">AddSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_8">GFC::Gtk::Container::add_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Add signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_0">sig_add()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function(Gtk::Widget&amp; widget);
             <span class="comment">// widget: The widget added to the container</span>
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="z458_10" doxytag="GFC::Gtk::Container::check_resize_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">CheckResizeSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_10">GFC::Gtk::Container::check_resize_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Check resize signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_2">sig_check_resize()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function();
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="z458_9" doxytag="GFC::Gtk::Container::remove_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">RemoveSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_9">GFC::Gtk::Container::remove_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Remove signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_1">sig_remove()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function(Gtk::Widget&amp; widget);
             <span class="comment">// widget: The widget removed from the container</span>
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="z458_11" doxytag="GFC::Gtk::Container::set_focus_child_signal" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Signal.html">SetFocusChildSignalType</a> <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z458_11">GFC::Gtk::Container::set_focus_child_signal</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set focus child signal (see <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z462_3">sig_set_focus_child()</a>). 
<p>
Calls a slot with the signature: <div class="fragment"><pre>             <span class="keywordtype">void</span> function(Gtk::Widget *widget);
             <span class="comment">// widget: The widget that receives the focus.</span>
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="container_8hh-source.html">container.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:38 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>