File: classGtk_1_1Builder.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (1212 lines) | stat: -rw-r--r-- 90,359 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
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
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
<!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::Builder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#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 class="tabs">
    <ul>
      <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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Builder.html">Builder</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Builder Class Reference</h1><!-- doxytag: class="Gtk::Builder" --><!-- doxytag: inherits="Glib::Object" -->
<p>Build an interface from a UI definition description. <a href="#_details">More...</a></p>

<p>Inherits <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_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Builder:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Builder__coll__graph.png" border="0" usemap="#Gtk_1_1Builder_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Builder_coll__map" id="Gtk_1_1Builder_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Builder-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#aff47bcf93d49acef9de2c697774cd53b">~Builder</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkBuilder*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a16ab17cd36e636c3f1495ca2ef2a4f49">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a16ab17cd36e636c3f1495ca2ef2a4f49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkBuilder*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a0d39f2751484ec95216add8f6629cc7d">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0d39f2751484ec95216add8f6629cc7d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkBuilder*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a43185cdda8ad880fab2b3a9a2c1332d6">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="#a43185cdda8ad880fab2b3a9a2c1332d6"></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_1Builder.html#aa3f4af4e7eaf7861c8283dc0dbd5254c">add_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, and merges it with the current contents of the builder. <a href="#aa3f4af4e7eaf7861c8283dc0dbd5254c"></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_1Builder.html#a80771efbfbe5bbc053e8deee93e1e118">add_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const char* object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#a80771efbfbe5bbc053e8deee93e1e118"></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_1Builder.html#a1f9c1e96d66b561bf63df23a32561f9f">add_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <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_1ustring.html">Glib::ustring</a>&amp; object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#a1f9c1e96d66b561bf63df23a32561f9f"></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_1Builder.html#aec111515605a74e40b0eb380043a31f6">add_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <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_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; object_ids)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a &lt;link linkend="BUILDER-UI"&gt;GtkBuilder UI definition&lt;/link&gt; building only the requested objects and merges them with the current contents of <em>builder</em>. <a href="#aec111515605a74e40b0eb380043a31f6"></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_1Builder.html#ae3520ee31a98ac30b728f93522de8df5">add_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the builder. <a href="#ae3520ee31a98ac30b728f93522de8df5"></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_1Builder.html#aac7d6c42f7a53f8be084841948b157d0">add_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const char* object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#aac7d6c42f7a53f8be084841948b157d0"></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_1Builder.html#a4fa5d22555a5e0f6e532685fde688734">add_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const <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_1ustring.html">Glib::ustring</a>&amp; object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#a4fa5d22555a5e0f6e532685fde688734"></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_1Builder.html#a7951e1af21938530adccc92a0d00b453">add_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const <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_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; object_ids)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition, building only the requested objects, and merges it with the current contents of the builder. <a href="#a7951e1af21938530adccc92a0d00b453"></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_1Builder.html#ab8c6679c1296d6c4d8590ef907de4d5a">add_from_string</a> (const char* buffer, gsize length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the builder. <a href="#ab8c6679c1296d6c4d8590ef907de4d5a"></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_1RefPtr.html">Glib::RefPtr</a>&lt; <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_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a2e2dfd63721cf7dd648e262ed6630f0c">get_object</a> (const <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_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the object named <em>name</em>. <a href="#a2e2dfd63721cf7dd648e262ed6630f0c"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T_Widget &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a6604abee829e66e0d5d97072227e7cd3">get_widget</a> (const <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_1ustring.html">Glib::ustring</a>&amp; name, T_Widget*&amp; widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a widget from the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> file. <a href="#a6604abee829e66e0d5d97072227e7cd3"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T_Widget &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a945dbd52e16b13a3c46809572e5a2877">get_widget_derived</a> (const <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_1ustring.html">Glib::ustring</a>&amp; name, T_Widget*&amp; widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This provides a pointer to a widget whose details are specified in the GtkBuilder file, but which is implemented by your own derived class. <a href="#a945dbd52e16b13a3c46809572e5a2877"></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_1Builder.html#a9f696bcf8d214f38d61d0d558d641245">set_translation_domain</a> (const <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_1ustring.html">Glib::ustring</a>&amp; domain)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the translation domain of <em>builder</em>. <a href="#a9f696bcf8d214f38d61d0d558d641245"></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_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a15fbbeccac6df2f40343a688a3ab7257">get_translation_domain</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the translation domain of <em>builder</em>. <a href="#a15fbbeccac6df2f40343a688a3ab7257"></a><br/></td></tr>
<tr><td colspan="2"><h2>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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a3e7bd7f95c1ea1f06b4c2c16458403ce">create</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new builder object. <a href="#a3e7bd7f95c1ea1f06b4c2c16458403ce"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a6c5ea61bdb933606650e7f437d544edd">create_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition. <a href="#a6c5ea61bdb933606650e7f437d544edd"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ae851b019aeb1b8c0891be99ece184146">create_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <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_1ustring.html">Glib::ustring</a>&amp; object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#ae851b019aeb1b8c0891be99ece184146"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a85a5dbb75e4d2fbdcfee52870eb582f0">create_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const char* object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#a85a5dbb75e4d2fbdcfee52870eb582f0"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a1e6af5278b9f522c28c341bea9fc277d">create_from_file</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <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_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; object_ids)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested objects. <a href="#a1e6af5278b9f522c28c341bea9fc277d"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a05f80c899de87e17683af6e5efcb4b41">create_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition. <a href="#a05f80c899de87e17683af6e5efcb4b41"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#abba4d2c8c9eca2663137611854423f3f">create_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const char* object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#abba4d2c8c9eca2663137611854423f3f"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a500d841b1e8c9b25034ed24625076227">create_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const <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_1ustring.html">Glib::ustring</a>&amp; object_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#a500d841b1e8c9b25034ed24625076227"></a><br/></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_1Builder.html">Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a8b54b4062bc296969c08a859155f35e4">create_from_string</a> (const <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_1ustring.html">Glib::ustring</a>&amp; buffer, const <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_1ArrayHandle.html">Glib::StringArrayHandle</a>&amp; object_ids)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested objects. <a href="#a8b54b4062bc296969c08a859155f35e4"></a><br/></td></tr>
<tr><td colspan="2"><h2>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_1Builder.html#a0ba100f27aca463391d4399f6f1880ab">Builder</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#aff746219ab6618caab01984c57ee0161">get_widget_checked</a> (const <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_1ustring.html">Glib::ustring</a>&amp; name, GType type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkWidget*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a94c23a6163a95da0cb5184dcf2544d4a">get_cwidget</a> (const <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_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="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_1Builder.html">Gtk::Builder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a0eed615bfe0b8ce06257406172956946">wrap</a> (GtkBuilder* 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="#a0eed615bfe0b8ce06257406172956946"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Build an interface from a UI definition description. </p>
<p>This object represents an `instantiation' of an UI definition description. When one of these objects is created, the XML file is read, and the interface is created. The <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a> object then provides an interface for accessing the widgets in the interface by the names assigned to them inside the UI description.</p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000020">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aff47bcf93d49acef9de2c697774cd53b"></a><!-- doxytag: member="Gtk::Builder::~Builder" ref="aff47bcf93d49acef9de2c697774cd53b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Builder::~Builder </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ba100f27aca463391d4399f6f1880ab"></a><!-- doxytag: member="Gtk::Builder::Builder" ref="a0ba100f27aca463391d4399f6f1880ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Builder::Builder </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aec111515605a74e40b0eb380043a31f6"></a><!-- doxytag: member="Gtk::Builder::add_from_file" ref="aec111515605a74e40b0eb380043a31f6" args="(const std::string &amp;filename, const Glib::StringArrayHandle &amp;object_ids)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_ids</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a &lt;link linkend="BUILDER-UI"&gt;GtkBuilder UI definition&lt;/link&gt; building only the requested objects and merges them with the current contents of <em>builder</em>. </p>
<p>Upon errors 0 will be returned and <em>error</em> will be assigned a Error from the Gtk::BUILDER_ERROR, MARKUP_ERROR or FILE_ERROR domain.</p>
<p>&lt;note&gt;</p>
<p>If you are adding an object that depends on an object that is not its child (for instance a <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a> that depends on its <a class="el" href="classGtk_1_1TreeModel.html" title="This class defines a generic tree interface for use by the Gtk::TreeView widget.">Gtk::TreeModel</a>), you have to explicitely list all of them in <em>object_ids</em>. </p>
<p>&lt;/note&gt;</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000033">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>The name of the file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_ids</em>&#160;</td><td>Nul-terminated array of objects to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A positive value on success, 0 if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a1f9c1e96d66b561bf63df23a32561f9f"></a><!-- doxytag: member="Gtk::Builder::add_from_file" ref="a1f9c1e96d66b561bf63df23a32561f9f" args="(const std::string &amp;filename, const Glib::ustring &amp;object_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>The</em>&#160;</td><td>object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000032">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a80771efbfbe5bbc053e8deee93e1e118"></a><!-- doxytag: member="Gtk::Builder::add_from_file" ref="a80771efbfbe5bbc053e8deee93e1e118" args="(const std::string &amp;filename, const char *object_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>The</em>&#160;</td><td>object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000033">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aa3f4af4e7eaf7861c8283dc0dbd5254c"></a><!-- doxytag: member="Gtk::Builder::add_from_file" ref="aa3f4af4e7eaf7861c8283dc0dbd5254c" args="(const std::string &amp;filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The file to parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000031">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ab8c6679c1296d6c4d8590ef907de4d5a"></a><!-- doxytag: member="Gtk::Builder::add_from_string" ref="ab8c6679c1296d6c4d8590ef907de4d5a" args="(const char *buffer, gsize length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_string </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"> <em>length</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>length</em>&#160;</td><td>The length of <em>buffer</em> (may be -1 if is nul-terminated). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000024">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a7951e1af21938530adccc92a0d00b453"></a><!-- doxytag: member="Gtk::Builder::add_from_string" ref="a7951e1af21938530adccc92a0d00b453" args="(const Glib::ustring &amp;buffer, const Glib::StringArrayHandle &amp;object_ids)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_ids</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition, building only the requested objects, and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>The</em>&#160;</td><td>objects to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000035">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a4fa5d22555a5e0f6e532685fde688734"></a><!-- doxytag: member="Gtk::Builder::add_from_string" ref="a4fa5d22555a5e0f6e532685fde688734" args="(const Glib::ustring &amp;buffer, const Glib::ustring &amp;object_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>The</em>&#160;</td><td>object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000034">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aac7d6c42f7a53f8be084841948b157d0"></a><!-- doxytag: member="Gtk::Builder::add_from_string" ref="aac7d6c42f7a53f8be084841948b157d0" args="(const Glib::ustring &amp;buffer, const char *object_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>The</em>&#160;</td><td>object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000034">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ae3520ee31a98ac30b728f93522de8df5"></a><!-- doxytag: member="Gtk::Builder::add_from_string" ref="ae3520ee31a98ac30b728f93522de8df5" args="(const Glib::ustring &amp;buffer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Builder::add_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the builder. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success or false if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000023">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a3e7bd7f95c1ea1f06b4c2c16458403ce"></a><!-- doxytag: member="Gtk::Builder::create" ref="a3e7bd7f95c1ea1f06b4c2c16458403ce" args="()" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new builder object. </p>

</div>
</div>
<a class="anchor" id="a1e6af5278b9f522c28c341bea9fc277d"></a><!-- doxytag: member="Gtk::Builder::create_from_file" ref="a1e6af5278b9f522c28c341bea9fc277d" args="(const std::string &amp;filename, const Glib::StringArrayHandle &amp;object_ids)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_ids</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, building only the requested objects. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>the name of the file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_ids</em>&#160;</td><td>The objects to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000028">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a85a5dbb75e4d2fbdcfee52870eb582f0"></a><!-- doxytag: member="Gtk::Builder::create_from_file" ref="a85a5dbb75e4d2fbdcfee52870eb582f0" args="(const std::string &amp;filename, const char *object_id)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, building only the requested object. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>the name of the file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_id</em>&#160;</td><td>The object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000031">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ae851b019aeb1b8c0891be99ece184146"></a><!-- doxytag: member="Gtk::Builder::create_from_file" ref="ae851b019aeb1b8c0891be99ece184146" args="(const std::string &amp;filename, const Glib::ustring &amp;object_id)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition, building only the requested object. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>the name of the file to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_id</em>&#160;</td><td>The object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000027">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a6c5ea61bdb933606650e7f437d544edd"></a><!-- doxytag: member="Gtk::Builder::create_from_file" ref="a6c5ea61bdb933606650e7f437d544edd" args="(const std::string &amp;filename)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01116.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a GtkBuilder UI definition. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>the name of the file to parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a>,<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_1FileError.html">Glib::FileError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000021">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a8b54b4062bc296969c08a859155f35e4"></a><!-- doxytag: member="Gtk::Builder::create_from_string" ref="a8b54b4062bc296969c08a859155f35e4" args="(const Glib::ustring &amp;buffer, const Glib::StringArrayHandle &amp;object_ids)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ArrayHandle.html">Glib::StringArrayHandle</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_ids</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition building only the requested objects. </p>
<p>If you are adding an object that depends on an object that is not its child (for instance a GtkTreeView that depends on its GtkTreeModel), you have to explicitely list all of them.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>the string to parse </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_ids</em>&#160;</td><td>The objects to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000030">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a500d841b1e8c9b25034ed24625076227"></a><!-- doxytag: member="Gtk::Builder::create_from_string" ref="a500d841b1e8c9b25034ed24625076227" args="(const Glib::ustring &amp;buffer, const Glib::ustring &amp;object_id)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition building only the requested object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_id</em>&#160;</td><td>The object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000029">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="abba4d2c8c9eca2663137611854423f3f"></a><!-- doxytag: member="Gtk::Builder::create_from_string" ref="abba4d2c8c9eca2663137611854423f3f" args="(const Glib::ustring &amp;buffer, const char *object_id)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>object_id</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition building only the requested object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>The string to parse. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>object_id</em>&#160;</td><td>The object to build. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000032">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a05f80c899de87e17683af6e5efcb4b41"></a><!-- doxytag: member="Gtk::Builder::create_from_string" ref="a05f80c899de87e17683af6e5efcb4b41" args="(const Glib::ustring &amp;buffer)" -->
<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_1Builder.html">Builder</a>&gt; Gtk::Builder::create_from_string </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a GtkBuilder UI definition. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer,:</em>&#160;</td><td>the string to parse </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object, or a null pointer if an error occurred. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<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_1MarkupError.html">Glib::MarkupError</a></em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000022">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a94c23a6163a95da0cb5184dcf2544d4a"></a><!-- doxytag: member="Gtk::Builder::get_cwidget" ref="a94c23a6163a95da0cb5184dcf2544d4a" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* Gtk::Builder::get_cwidget </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e2dfd63721cf7dd648e262ed6630f0c"></a><!-- doxytag: member="Gtk::Builder::get_object" ref="a2e2dfd63721cf7dd648e262ed6630f0c" args="(const Glib::ustring &amp;name)" -->
<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="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>&gt; Gtk::Builder::get_object </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the object named <em>name</em>. </p>
<p>Note that this function does not increment the reference count of the returned object.</p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000025">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>Name of object to get. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The object named <em>name</em> or <code>0</code> if it could not be found in the object tree. </dd></dl>

</div>
</div>
<a class="anchor" id="a15fbbeccac6df2f40343a688a3ab7257"></a><!-- doxytag: member="Gtk::Builder::get_translation_domain" ref="a15fbbeccac6df2f40343a688a3ab7257" 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_1ustring.html">Glib::ustring</a> Gtk::Builder::get_translation_domain </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the translation domain of <em>builder</em>. </p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000027">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The translation domain. This string is owned by the builder object and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a6604abee829e66e0d5d97072227e7cd3"></a><!-- doxytag: member="Gtk::Builder::get_widget" ref="a6604abee829e66e0d5d97072227e7cd3" args="(const Glib::ustring &amp;name, T_Widget *&amp;widget)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_Widget &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Builder::get_widget </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T_Widget *&amp;&#160;</td>
          <td class="paramname"> <em>widget</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a widget from the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> file. </p>
<p>For instance: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Gtk::Table</a>* pTable = 0;
 refXml-&gt;get_widget(<span class="stringliteral">&quot;mytable&quot;</span>, pTable);
</pre></div><p> This method prints a warning message to the console if the widget doesn't exist or has the wrong type, so you don't need to check that manually.</p>
<p>Note that you are responsible for deleting top-level widgets (windows and dialogs) instantiated by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Builder</a> object. Other widgets are instantiated as managed so they will be deleted automatically if you add them to a container widget.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name of the widget. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td>A pointer to the widget, or <code>0</code> on failure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aff746219ab6618caab01984c57ee0161"></a><!-- doxytag: member="Gtk::Builder::get_widget_checked" ref="aff746219ab6618caab01984c57ee0161" args="(const Glib::ustring &amp;name, GType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* Gtk::Builder::get_widget_checked </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a945dbd52e16b13a3c46809572e5a2877"></a><!-- doxytag: member="Gtk::Builder::get_widget_derived" ref="a945dbd52e16b13a3c46809572e5a2877" args="(const Glib::ustring &amp;name, T_Widget *&amp;widget)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_Widget &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Builder::get_widget_derived </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T_Widget *&amp;&#160;</td>
          <td class="paramname"> <em>widget</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This provides a pointer to a widget whose details are specified in the GtkBuilder file, but which is implemented by your own derived class. </p>
<p>Your class must have a constructor like so: </p>
<div class="fragment"><pre class="fragment"> DerivedDialog::DerivedDialog(BaseObjectType* cobject, <span class="keyword">const</span> <a class="codeRef" 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&lt;Gtk::Builder&gt;</a>&amp; refBuilder)
 : Gtk::Dialog(cobject) <span class="comment">//Calls the base class constructor</span>
</pre></div><p>For instance: </p>
<div class="fragment"><pre class="fragment"> Gtk::DerivedBox* pBox = 0;
 refXml-&gt;get_widget_derived(<span class="stringliteral">&quot;mybox&quot;</span>, pBox);
</pre></div><dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name of the widget. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td>A pointer to the widget, or <code>0</code> on failure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0d39f2751484ec95216add8f6629cc7d"></a><!-- doxytag: member="Gtk::Builder::gobj" ref="a0d39f2751484ec95216add8f6629cc7d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkBuilder* Gtk::Builder::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="a16ab17cd36e636c3f1495ca2ef2a4f49"></a><!-- doxytag: member="Gtk::Builder::gobj" ref="a16ab17cd36e636c3f1495ca2ef2a4f49" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkBuilder* Gtk::Builder::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="a43185cdda8ad880fab2b3a9a2c1332d6"></a><!-- doxytag: member="Gtk::Builder::gobj_copy" ref="a43185cdda8ad880fab2b3a9a2c1332d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkBuilder* Gtk::Builder::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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="a9f696bcf8d214f38d61d0d558d641245"></a><!-- doxytag: member="Gtk::Builder::set_translation_domain" ref="a9f696bcf8d214f38d61d0d558d641245" args="(const Glib::ustring &amp;domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Builder::set_translation_domain </td>
          <td>(</td>
          <td class="paramtype">const <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_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>domain</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the translation domain of <em>builder</em>. </p>
<p>See <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a>:translation-domain.</p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000026">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>domain</em>&#160;</td><td>The translation domain or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a0eed615bfe0b8ce06257406172956946"></a><!-- doxytag: member="Gtk::Builder::wrap" ref="a0eed615bfe0b8ce06257406172956946" args="(GtkBuilder *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_1Builder.html">Gtk::Builder</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkBuilder *&#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></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/builder.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:47 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>