29
32
<div class="contents">
30
<h1>Gtk::Builder Class Reference</h1><!-- doxytag: class="Gtk::Builder" --><!-- doxytag: inherits="Glib::Object" -->Build an interface from a UI definition description. <a href="#_details">More...</a>
32
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>.
33
<h1>Gtk::Builder Class Reference</h1><!-- doxytag: class="Gtk::Builder" --><!-- doxytag: inherits="Glib::Object" -->
34
<p>Build an interface from a UI definition description. <a href="#_details">More...</a></p>
36
<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>
34
37
<div class="dynheader">
35
38
Collaboration diagram for Gtk::Builder:</div>
36
39
<div class="dynsection">
37
<p><center><img src="classGtk_1_1Builder__coll__graph.png" border="0" usemap="#Gtk_1_1Builder__coll__map" alt="Collaboration graph"></center>
38
<map name="Gtk_1_1Builder__coll__map">
39
<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,155,111,181"><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,80,125,107"><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,32"></map>
40
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
43
<a href="classGtk_1_1Builder-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
45
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ff47bcf93d49acef9de2c697774cd53b">~Builder</a> ()</td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#16ab17cd36e636c3f1495ca2ef2a4f49">gobj</a> ()</td></tr>
50
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#16ab17cd36e636c3f1495ca2ef2a4f49"></a><br></td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#0d39f2751484ec95216add8f6629cc7d">gobj</a> () const </td></tr>
53
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#0d39f2751484ec95216add8f6629cc7d"></a><br></td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#43185cdda8ad880fab2b3a9a2c1332d6">gobj_copy</a> ()</td></tr>
56
<tr><td class="mdescLeft"> </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="#43185cdda8ad880fab2b3a9a2c1332d6"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a3f4af4e7eaf7861c8283dc0dbd5254c">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr>
59
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> and merges it with the current contents of <em>builder</em>. <a href="#a3f4af4e7eaf7861c8283dc0dbd5254c"></a><br></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#80771efbfbe5bbc053e8deee93e1e118">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr>
62
<tr><td class="mdescLeft"> </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="#80771efbfbe5bbc053e8deee93e1e118"></a><br></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#1f9c1e96d66b561bf63df23a32561f9f">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_id)</td></tr>
65
<tr><td class="mdescLeft"> </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="#1f9c1e96d66b561bf63df23a32561f9f"></a><br></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ec111515605a74e40b0eb380043a31f6">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_ids)</td></tr>
68
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> building only the requested objects and merges them with the current contents of <em>builder</em>. <a href="#ec111515605a74e40b0eb380043a31f6"></a><br></td></tr>
69
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#e3520ee31a98ac30b728f93522de8df5">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>& buffer)</td></tr>
71
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition and merges it with the current contents of the builder. <a href="#e3520ee31a98ac30b728f93522de8df5"></a><br></td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ac7d6c42f7a53f8be084841948b157d0">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>& buffer, const char* object_id)</td></tr>
74
<tr><td class="mdescLeft"> </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="#ac7d6c42f7a53f8be084841948b157d0"></a><br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#4fa5d22555a5e0f6e532685fde688734">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>& 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>& object_id)</td></tr>
77
<tr><td class="mdescLeft"> </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="#4fa5d22555a5e0f6e532685fde688734"></a><br></td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#7951e1af21938530adccc92a0d00b453">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>& 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>& object_ids)</td></tr>
80
<tr><td class="mdescLeft"> </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="#7951e1af21938530adccc92a0d00b453"></a><br></td></tr>
81
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#b8c6679c1296d6c4d8590ef907de4d5a">add_from_string</a> (const char* buffer, gsize length)</td></tr>
83
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> and merges it with the current contents of <em>builder</em>. <a href="#b8c6679c1296d6c4d8590ef907de4d5a"></a><br></td></tr>
84
<tr><td class="memItemLeft" nowrap 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>< <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> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#2e2dfd63721cf7dd648e262ed6630f0c">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>& name)</td></tr>
86
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the object named <em>name</em>. <a href="#2e2dfd63721cf7dd648e262ed6630f0c"></a><br></td></tr>
87
<tr><td class="memTemplParams" nowrap colspan="2">template<class T_Widget > </td></tr>
88
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#6604abee829e66e0d5d97072227e7cd3">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>& name, T_Widget*& widget)</td></tr>
90
<tr><td class="mdescLeft"> </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="#6604abee829e66e0d5d97072227e7cd3"></a><br></td></tr>
91
<tr><td class="memTemplParams" nowrap colspan="2">template<class T_Widget > </td></tr>
92
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#945dbd52e16b13a3c46809572e5a2877">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>& name, T_Widget*& widget)</td></tr>
94
<tr><td class="mdescLeft"> </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="#945dbd52e16b13a3c46809572e5a2877"></a><br></td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#9f696bcf8d214f38d61d0d558d641245">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>& domain)</td></tr>
97
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation domain of <em>builder</em>. <a href="#9f696bcf8d214f38d61d0d558d641245"></a><br></td></tr>
98
<tr><td class="memItemLeft" nowrap 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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#15fbbeccac6df2f40343a688a3ab7257">get_translation_domain</a> () const </td></tr>
100
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the translation domain of <em>builder</em>. <a href="#15fbbeccac6df2f40343a688a3ab7257"></a><br></td></tr>
101
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
102
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#3e7bd7f95c1ea1f06b4c2c16458403ce">create</a> ()</td></tr>
104
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new builder object. <a href="#3e7bd7f95c1ea1f06b4c2c16458403ce"></a><br></td></tr>
105
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#6c5ea61bdb933606650e7f437d544edd">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr>
107
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition. <a href="#6c5ea61bdb933606650e7f437d544edd"></a><br></td></tr>
108
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#e851b019aeb1b8c0891be99ece184146">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_id)</td></tr>
110
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#e851b019aeb1b8c0891be99ece184146"></a><br></td></tr>
111
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#85a5dbb75e4d2fbdcfee52870eb582f0">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr>
113
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#85a5dbb75e4d2fbdcfee52870eb582f0"></a><br></td></tr>
114
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#1e6af5278b9f522c28c341bea9fc277d">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/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_ids)</td></tr>
116
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested objects. <a href="#1e6af5278b9f522c28c341bea9fc277d"></a><br></td></tr>
117
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#05f80c899de87e17683af6e5efcb4b41">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>& buffer)</td></tr>
119
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition. <a href="#05f80c899de87e17683af6e5efcb4b41"></a><br></td></tr>
120
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#bba4d2c8c9eca2663137611854423f3f">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>& buffer, const char* object_id)</td></tr>
122
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#bba4d2c8c9eca2663137611854423f3f"></a><br></td></tr>
123
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#500d841b1e8c9b25034ed24625076227">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>& 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>& object_id)</td></tr>
125
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#500d841b1e8c9b25034ed24625076227"></a><br></td></tr>
126
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#8b54b4062bc296969c08a859155f35e4">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>& 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>& object_ids)</td></tr>
128
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested objects. <a href="#8b54b4062bc296969c08a859155f35e4"></a><br></td></tr>
129
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
130
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#0ba100f27aca463391d4399f6f1880ab">Builder</a> ()</td></tr>
132
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ff746219ab6618caab01984c57ee0161">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>& name, GType type)</td></tr>
134
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkWidget* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#94c23a6163a95da0cb5184dcf2544d4a">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>& name)</td></tr>
136
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
137
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
138
<tr><td class="memItemLeft" nowrap 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>< <a class="el" href="classGtk_1_1Builder.html">Gtk::Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#0eed615bfe0b8ce06257406172956946">wrap</a> (GtkBuilder* object, bool take_copy=false)</td></tr>
140
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#0eed615bfe0b8ce06257406172956946"></a><br></td></tr>
40
<div class="center"><img src="classGtk_1_1Builder__coll__graph.png" border="0" usemap="#Gtk_1_1Builder_coll__map" alt="Collaboration graph"/></div>
41
<map name="Gtk_1_1Builder_coll__map" id="Gtk_1_1Builder_coll__map">
42
<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,155,111,181"/><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,80,125,107"/><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,32"/></map>
43
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
45
<p><a href="classGtk_1_1Builder-members.html">List of all members.</a></p>
46
<table border="0" cellpadding="0" cellspacing="0">
47
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#aff47bcf93d49acef9de2c697774cd53b">~Builder</a> ()</td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a16ab17cd36e636c3f1495ca2ef2a4f49">gobj</a> ()</td></tr>
50
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a16ab17cd36e636c3f1495ca2ef2a4f49"></a><br/></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">const GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a0d39f2751484ec95216add8f6629cc7d">gobj</a> () const </td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0d39f2751484ec95216add8f6629cc7d"></a><br/></td></tr>
53
<tr><td class="memItemLeft" align="right" valign="top">GtkBuilder* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a43185cdda8ad880fab2b3a9a2c1332d6">gobj_copy</a> ()</td></tr>
54
<tr><td class="mdescLeft"> </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>
55
<tr><td class="memItemLeft" align="right" valign="top">bool </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> and merges it with the current contents of <em>builder</em>. <a href="#aa3f4af4e7eaf7861c8283dc0dbd5254c"></a><br/></td></tr>
57
<tr><td class="memItemLeft" align="right" valign="top">bool </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr>
58
<tr><td class="mdescLeft"> </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>
59
<tr><td class="memItemLeft" align="right" valign="top">bool </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_id)</td></tr>
60
<tr><td class="mdescLeft"> </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>
61
<tr><td class="memItemLeft" align="right" valign="top">bool </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_ids)</td></tr>
62
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> building only the requested objects and merges them with the current contents of <em>builder</em>. <a href="#aec111515605a74e40b0eb380043a31f6"></a><br/></td></tr>
63
<tr><td class="memItemLeft" align="right" valign="top">bool </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>& buffer)</td></tr>
64
<tr><td class="mdescLeft"> </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>
65
<tr><td class="memItemLeft" align="right" valign="top">bool </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>& buffer, const char* object_id)</td></tr>
66
<tr><td class="mdescLeft"> </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>
67
<tr><td class="memItemLeft" align="right" valign="top">bool </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>& 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>& object_id)</td></tr>
68
<tr><td class="mdescLeft"> </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>
69
<tr><td class="memItemLeft" align="right" valign="top">bool </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>& 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>& object_ids)</td></tr>
70
<tr><td class="mdescLeft"> </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>
71
<tr><td class="memItemLeft" align="right" valign="top">bool </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>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a <link linkend="BUILDER-UI">GtkBuilder UI definition</link> and merges it with the current contents of <em>builder</em>. <a href="#ab8c6679c1296d6c4d8590ef907de4d5a"></a><br/></td></tr>
73
<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>< <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> > </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>& name)</td></tr>
74
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the object named <em>name</em>. <a href="#a2e2dfd63721cf7dd648e262ed6630f0c"></a><br/></td></tr>
75
<tr><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr>
76
<tr><td class="memTemplItemLeft" align="right" valign="top">void </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>& name, T_Widget*& widget)</td></tr>
77
<tr><td class="mdescLeft"> </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>
78
<tr><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr>
79
<tr><td class="memTemplItemLeft" align="right" valign="top">void </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>& name, T_Widget*& widget)</td></tr>
80
<tr><td class="mdescLeft"> </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>
81
<tr><td class="memItemLeft" align="right" valign="top">void </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>& domain)</td></tr>
82
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation domain of <em>builder</em>. <a href="#a9f696bcf8d214f38d61d0d558d641245"></a><br/></td></tr>
83
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a15fbbeccac6df2f40343a688a3ab7257">get_translation_domain</a> () const </td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the translation domain of <em>builder</em>. <a href="#a15fbbeccac6df2f40343a688a3ab7257"></a><br/></td></tr>
85
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
86
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a3e7bd7f95c1ea1f06b4c2c16458403ce">create</a> ()</td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new builder object. <a href="#a3e7bd7f95c1ea1f06b4c2c16458403ce"></a><br/></td></tr>
88
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr>
89
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition. <a href="#a6c5ea61bdb933606650e7f437d544edd"></a><br/></td></tr>
90
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_id)</td></tr>
91
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#ae851b019aeb1b8c0891be99ece184146"></a><br/></td></tr>
92
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#a85a5dbb75e4d2fbdcfee52870eb582f0"></a><br/></td></tr>
94
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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/a00971.html#a32db3d9898c44d3b3a578b560f7758cc">std::string</a>& 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>& object_ids)</td></tr>
95
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested objects. <a href="#a1e6af5278b9f522c28c341bea9fc277d"></a><br/></td></tr>
96
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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>& buffer)</td></tr>
97
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition. <a href="#a05f80c899de87e17683af6e5efcb4b41"></a><br/></td></tr>
98
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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>& buffer, const char* object_id)</td></tr>
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#abba4d2c8c9eca2663137611854423f3f"></a><br/></td></tr>
100
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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>& 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>& object_id)</td></tr>
101
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#a500d841b1e8c9b25034ed24625076227"></a><br/></td></tr>
102
<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>< <a class="el" href="classGtk_1_1Builder.html">Builder</a> > </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>& 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>& object_ids)</td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested objects. <a href="#a8b54b4062bc296969c08a859155f35e4"></a><br/></td></tr>
104
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
105
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a0ba100f27aca463391d4399f6f1880ab">Builder</a> ()</td></tr>
106
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Gtk::Widget</a>* </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>& name, GType type)</td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top">GtkWidget* </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>& name)</td></tr>
108
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
109
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
111
<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>< <a class="el" href="classGtk_1_1Builder.html">Gtk::Builder</a> > </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>
112
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a0eed615bfe0b8ce06257406172956946"></a><br/></td></tr>
142
<hr><a name="_details"></a><h2>Detailed Description</h2>
143
Build an interface from a UI definition description. <p>
144
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>
145
<dl compact><dt><b><a class="el" href="since_2_12.html#_since_2_12000020">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
146
<hr><h2>Constructor & Destructor Documentation</h2>
147
<a class="anchor" name="ff47bcf93d49acef9de2c697774cd53b"></a><!-- doxytag: member="Gtk::Builder::~Builder" ref="ff47bcf93d49acef9de2c697774cd53b" args="()" -->
114
<hr/><a name="_details"></a><h2>Detailed Description</h2>
115
<p>Build an interface from a UI definition description. </p>
116
<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>
117
<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>
118
<hr/><h2>Constructor & Destructor Documentation</h2>
119
<a class="anchor" id="aff47bcf93d49acef9de2c697774cd53b"></a><!-- doxytag: member="Gtk::Builder::~Builder" ref="aff47bcf93d49acef9de2c697774cd53b" args="()" -->
148
120
<div class="memitem">
149
121
<div class="memproto">
150
122
<table class="memname">
152
124
<td class="memname">virtual Gtk::Builder::~Builder </td>
154
<td class="paramname"> </td>
126
<td class="paramname"></td>
155
127
<td> ) </td>
156
128
<td><code> [virtual]</code></td>