<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>gtkmm: Gtk::Builder Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.10.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1Builder.html">Builder</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtk_1_1Builder-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::Builder Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Build an interface from a UI definition description. <a href="classGtk_1_1Builder.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::Builder:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Builder__inherit__graph.png" border="0" usemap="#Gtk_1_1Builder_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Builder_inherit__map" id="Gtk_1_1Builder_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aff47bcf93d49acef9de2c697774cd53b"><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> <tr class="separator:aff47bcf93d49acef9de2c697774cd53b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a16ab17cd36e636c3f1495ca2ef2a4f49"><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> <tr class="memdesc:a16ab17cd36e636c3f1495ca2ef2a4f49"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a16ab17cd36e636c3f1495ca2ef2a4f49">More...</a><br/></td></tr> <tr class="separator:a16ab17cd36e636c3f1495ca2ef2a4f49"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0d39f2751484ec95216add8f6629cc7d"><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> <tr class="memdesc:a0d39f2751484ec95216add8f6629cc7d"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0d39f2751484ec95216add8f6629cc7d">More...</a><br/></td></tr> <tr class="separator:a0d39f2751484ec95216add8f6629cc7d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43185cdda8ad880fab2b3a9a2c1332d6"><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> <tr class="memdesc:a43185cdda8ad880fab2b3a9a2c1332d6"><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">More...</a><br/></td></tr> <tr class="separator:a43185cdda8ad880fab2b3a9a2c1332d6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa3f4af4e7eaf7861c8283dc0dbd5254c"><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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr> <tr class="memdesc:aa3f4af4e7eaf7861c8283dc0dbd5254c"><td class="mdescLeft"> </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">More...</a><br/></td></tr> <tr class="separator:aa3f4af4e7eaf7861c8283dc0dbd5254c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80771efbfbe5bbc053e8deee93e1e118"><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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr> <tr class="memdesc:a80771efbfbe5bbc053e8deee93e1e118"><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">More...</a><br/></td></tr> <tr class="separator:a80771efbfbe5bbc053e8deee93e1e118"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f9c1e96d66b561bf63df23a32561f9f"><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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:a1f9c1e96d66b561bf63df23a32561f9f"><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">More...</a><br/></td></tr> <tr class="separator:a1f9c1e96d66b561bf63df23a32561f9f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a91e457709626ac8e94172cee0ec7173a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a91e457709626ac8e94172cee0ec7173a">add_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:a91e457709626ac8e94172cee0ec7173a"><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of <em>builder</em>. <a href="#a91e457709626ac8e94172cee0ec7173a">More...</a><br/></td></tr> <tr class="separator:a91e457709626ac8e94172cee0ec7173a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d8d4cd407615fef3b71da364c1720a0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a8d8d4cd407615fef3b71da364c1720a0">add_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path)</td></tr> <tr class="memdesc:a8d8d4cd407615fef3b71da364c1720a0"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, and merges it with the current contents of the builder. <a href="#a8d8d4cd407615fef3b71da364c1720a0">More...</a><br/></td></tr> <tr class="separator:a8d8d4cd407615fef3b71da364c1720a0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6f80afb3deb00ab1ca7416d7f5e7c6b8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a6f80afb3deb00ab1ca7416d7f5e7c6b8">add_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const char* object_id)</td></tr> <tr class="memdesc:a6f80afb3deb00ab1ca7416d7f5e7c6b8"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#a6f80afb3deb00ab1ca7416d7f5e7c6b8">More...</a><br/></td></tr> <tr class="separator:a6f80afb3deb00ab1ca7416d7f5e7c6b8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a25d428b4bff9b39d91c6887524483bd5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a25d428b4bff9b39d91c6887524483bd5">add_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:a25d428b4bff9b39d91c6887524483bd5"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, building only the requested object, and merges it with the current contents of the builder. <a href="#a25d428b4bff9b39d91c6887524483bd5">More...</a><br/></td></tr> <tr class="separator:a25d428b4bff9b39d91c6887524483bd5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a516f4c7802dde8bdc6e022ecec20140d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a516f4c7802dde8bdc6e022ecec20140d">add_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:a516f4c7802dde8bdc6e022ecec20140d"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition building only the requested objects and merges them with the current contents of <em>builder</em>. <a href="#a516f4c7802dde8bdc6e022ecec20140d">More...</a><br/></td></tr> <tr class="separator:a516f4c7802dde8bdc6e022ecec20140d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae3520ee31a98ac30b728f93522de8df5"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer)</td></tr> <tr class="memdesc:ae3520ee31a98ac30b728f93522de8df5"><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">More...</a><br/></td></tr> <tr class="separator:ae3520ee31a98ac30b728f93522de8df5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac7d6c42f7a53f8be084841948b157d0"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const char* object_id)</td></tr> <tr class="memdesc:aac7d6c42f7a53f8be084841948b157d0"><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">More...</a><br/></td></tr> <tr class="separator:aac7d6c42f7a53f8be084841948b157d0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4fa5d22555a5e0f6e532685fde688734"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:a4fa5d22555a5e0f6e532685fde688734"><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">More...</a><br/></td></tr> <tr class="separator:a4fa5d22555a5e0f6e532685fde688734"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a994c45b0c9649b1cd48bb1f5cd545735"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a994c45b0c9649b1cd48bb1f5cd545735">add_from_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:a994c45b0c9649b1cd48bb1f5cd545735"><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="#a994c45b0c9649b1cd48bb1f5cd545735">More...</a><br/></td></tr> <tr class="separator:a994c45b0c9649b1cd48bb1f5cd545735"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8c6679c1296d6c4d8590ef907de4d5a"><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> <tr class="memdesc:ab8c6679c1296d6c4d8590ef907de4d5a"><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="#ab8c6679c1296d6c4d8590ef907de4d5a">More...</a><br/></td></tr> <tr class="separator:ab8c6679c1296d6c4d8590ef907de4d5a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e2dfd63721cf7dd648e262ed6630f0c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name)</td></tr> <tr class="memdesc:a2e2dfd63721cf7dd648e262ed6630f0c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the object named <em>name</em>. <a href="#a2e2dfd63721cf7dd648e262ed6630f0c">More...</a><br/></td></tr> <tr class="separator:a2e2dfd63721cf7dd648e262ed6630f0c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4bfea876f92fcf4b50642d50257350ca"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a4bfea876f92fcf4b50642d50257350ca">get_object</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name) const </td></tr> <tr class="memdesc:a4bfea876f92fcf4b50642d50257350ca"><td class="mdescLeft"> </td><td class="mdescRight">Gets the object named <em>name</em>. <a href="#a4bfea876f92fcf4b50642d50257350ca">More...</a><br/></td></tr> <tr class="separator:a4bfea876f92fcf4b50642d50257350ca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae525dfa187377dcdc1179a52df3d160a"><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr> <tr class="memitem:ae525dfa187377dcdc1179a52df3d160a"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ae525dfa187377dcdc1179a52df3d160a">get_widget</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, T_Widget*& widget)</td></tr> <tr class="memdesc:ae525dfa187377dcdc1179a52df3d160a"><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="#ae525dfa187377dcdc1179a52df3d160a">More...</a><br/></td></tr> <tr class="separator:ae525dfa187377dcdc1179a52df3d160a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa3fec8b2dc543cf85495e619b3dfd9fd"><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr> <tr class="memitem:aa3fec8b2dc543cf85495e619b3dfd9fd"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#aa3fec8b2dc543cf85495e619b3dfd9fd">get_widget</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, const T_Widget*& widget) const </td></tr> <tr class="memdesc:aa3fec8b2dc543cf85495e619b3dfd9fd"><td class="mdescLeft"> </td><td class="mdescRight">See the non-const version. <a href="#aa3fec8b2dc543cf85495e619b3dfd9fd">More...</a><br/></td></tr> <tr class="separator:aa3fec8b2dc543cf85495e619b3dfd9fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a943a0ee93a933e4b538d544461922ae9"><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr> <tr class="memitem:a943a0ee93a933e4b538d544461922ae9"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a943a0ee93a933e4b538d544461922ae9">get_widget_derived</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, T_Widget*& widget)</td></tr> <tr class="memdesc:a943a0ee93a933e4b538d544461922ae9"><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="#a943a0ee93a933e4b538d544461922ae9">More...</a><br/></td></tr> <tr class="separator:a943a0ee93a933e4b538d544461922ae9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a57166ba38c0919abc343c8f670bc3ca1"><td class="memTemplParams" colspan="2">template<class T_Widget > </td></tr> <tr class="memitem:a57166ba38c0919abc343c8f670bc3ca1"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a57166ba38c0919abc343c8f670bc3ca1">get_widget_derived</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, const T_Widget*& widget) const </td></tr> <tr class="memdesc:a57166ba38c0919abc343c8f670bc3ca1"><td class="mdescLeft"> </td><td class="mdescRight">See the non-const version. <a href="#a57166ba38c0919abc343c8f670bc3ca1">More...</a><br/></td></tr> <tr class="separator:a57166ba38c0919abc343c8f670bc3ca1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad66ffbd57ad7db95963daddfedec920e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ad66ffbd57ad7db95963daddfedec920e">get_objects</a> ()</td></tr> <tr class="memdesc:ad66ffbd57ad7db95963daddfedec920e"><td class="mdescLeft"> </td><td class="mdescRight">Gets all objects that have been constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a>. <a href="#ad66ffbd57ad7db95963daddfedec920e">More...</a><br/></td></tr> <tr class="separator:ad66ffbd57ad7db95963daddfedec920e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85ede3fdc79dbab53c424f5a2c7e5c04"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a85ede3fdc79dbab53c424f5a2c7e5c04">get_objects</a> () const </td></tr> <tr class="memdesc:a85ede3fdc79dbab53c424f5a2c7e5c04"><td class="mdescLeft"> </td><td class="mdescRight">Gets all objects that have been constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a>. <a href="#a85ede3fdc79dbab53c424f5a2c7e5c04">More...</a><br/></td></tr> <tr class="separator:a85ede3fdc79dbab53c424f5a2c7e5c04"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9f696bcf8d214f38d61d0d558d641245"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& domain)</td></tr> <tr class="memdesc:a9f696bcf8d214f38d61d0d558d641245"><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation domain of <em>builder</em>. <a href="#a9f696bcf8d214f38d61d0d558d641245">More...</a><br/></td></tr> <tr class="separator:a9f696bcf8d214f38d61d0d558d641245"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a15fbbeccac6df2f40343a688a3ab7257"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/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> <tr class="memdesc:a15fbbeccac6df2f40343a688a3ab7257"><td class="mdescLeft"> </td><td class="mdescRight">Gets the translation domain of <em>builder</em>. <a href="#a15fbbeccac6df2f40343a688a3ab7257">More...</a><br/></td></tr> <tr class="separator:a15fbbeccac6df2f40343a688a3ab7257"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85a82715ada487e10d4f26de1a578f18"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a85a82715ada487e10d4f26de1a578f18">property_translation_domain</a> ()</td></tr> <tr class="memdesc:a85a82715ada487e10d4f26de1a578f18"><td class="mdescLeft"> </td><td class="mdescRight">The translation domain used by gettext. <a href="#a85a82715ada487e10d4f26de1a578f18">More...</a><br/></td></tr> <tr class="separator:a85a82715ada487e10d4f26de1a578f18"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7a428c017b439a7720bafccbab7c9f6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#ab7a428c017b439a7720bafccbab7c9f6">property_translation_domain</a> () const </td></tr> <tr class="memdesc:ab7a428c017b439a7720bafccbab7c9f6"><td class="mdescLeft"> </td><td class="mdescRight">The translation domain used by gettext. <a href="#ab7a428c017b439a7720bafccbab7c9f6">More...</a><br/></td></tr> <tr class="separator:ab7a428c017b439a7720bafccbab7c9f6"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a6064c85a8a8f5be8edaaa182d30ac7fa"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Builder.html#a6064c85a8a8f5be8edaaa182d30ac7fa">get_type</a> ()</td></tr> <tr class="memdesc:a6064c85a8a8f5be8edaaa182d30ac7fa"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a6064c85a8a8f5be8edaaa182d30ac7fa">More...</a><br/></td></tr> <tr class="separator:a6064c85a8a8f5be8edaaa182d30ac7fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3e7bd7f95c1ea1f06b4c2c16458403ce"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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> <tr class="memdesc:a3e7bd7f95c1ea1f06b4c2c16458403ce"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new builder object. <a href="#a3e7bd7f95c1ea1f06b4c2c16458403ce">More...</a><br/></td></tr> <tr class="separator:a3e7bd7f95c1ea1f06b4c2c16458403ce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c5ea61bdb933606650e7f437d544edd"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr> <tr class="memdesc:a6c5ea61bdb933606650e7f437d544edd"><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition. <a href="#a6c5ea61bdb933606650e7f437d544edd">More...</a><br/></td></tr> <tr class="separator:a6c5ea61bdb933606650e7f437d544edd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae851b019aeb1b8c0891be99ece184146"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:ae851b019aeb1b8c0891be99ece184146"><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#ae851b019aeb1b8c0891be99ece184146">More...</a><br/></td></tr> <tr class="separator:ae851b019aeb1b8c0891be99ece184146"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85a5dbb75e4d2fbdcfee52870eb582f0"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const char* object_id)</td></tr> <tr class="memdesc:a85a5dbb75e4d2fbdcfee52870eb582f0"><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested object. <a href="#a85a5dbb75e4d2fbdcfee52870eb582f0">More...</a><br/></td></tr> <tr class="separator:a85a5dbb75e4d2fbdcfee52870eb582f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8dbdea67bb752eb66adec24451516df2"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#a8dbdea67bb752eb66adec24451516df2">create_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:a8dbdea67bb752eb66adec24451516df2"><td class="mdescLeft"> </td><td class="mdescRight">Parses a file containing a GtkBuilder UI definition, building only the requested objects. <a href="#a8dbdea67bb752eb66adec24451516df2">More...</a><br/></td></tr> <tr class="separator:a8dbdea67bb752eb66adec24451516df2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adfd8cc8a1e10e53c6db6acf46e1c43c9"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#adfd8cc8a1e10e53c6db6acf46e1c43c9">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path)</td></tr> <tr class="memdesc:adfd8cc8a1e10e53c6db6acf46e1c43c9"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition. <a href="#adfd8cc8a1e10e53c6db6acf46e1c43c9">More...</a><br/></td></tr> <tr class="separator:adfd8cc8a1e10e53c6db6acf46e1c43c9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0eccb3ffec9dc9eb10d8eff8c81c11ac"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#a0eccb3ffec9dc9eb10d8eff8c81c11ac">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:a0eccb3ffec9dc9eb10d8eff8c81c11ac"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, building only the requested object. <a href="#a0eccb3ffec9dc9eb10d8eff8c81c11ac">More...</a><br/></td></tr> <tr class="separator:a0eccb3ffec9dc9eb10d8eff8c81c11ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75140285cc33a3e61c333366224864a7"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#a75140285cc33a3e61c333366224864a7">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const char* object_id)</td></tr> <tr class="memdesc:a75140285cc33a3e61c333366224864a7"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, building only the requested object. <a href="#a75140285cc33a3e61c333366224864a7">More...</a><br/></td></tr> <tr class="separator:a75140285cc33a3e61c333366224864a7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acacd7a1a7cf55a17f0d4dd450c8fb4c6"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#acacd7a1a7cf55a17f0d4dd450c8fb4c6">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& resource_path, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:acacd7a1a7cf55a17f0d4dd450c8fb4c6"><td class="mdescLeft"> </td><td class="mdescRight">Parses a resource file containing a GtkBuilder UI definition, building only the requested objects. <a href="#acacd7a1a7cf55a17f0d4dd450c8fb4c6">More...</a><br/></td></tr> <tr class="separator:acacd7a1a7cf55a17f0d4dd450c8fb4c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05f80c899de87e17683af6e5efcb4b41"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer)</td></tr> <tr class="memdesc:a05f80c899de87e17683af6e5efcb4b41"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition. <a href="#a05f80c899de87e17683af6e5efcb4b41">More...</a><br/></td></tr> <tr class="separator:a05f80c899de87e17683af6e5efcb4b41"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abba4d2c8c9eca2663137611854423f3f"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const char* object_id)</td></tr> <tr class="memdesc:abba4d2c8c9eca2663137611854423f3f"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#abba4d2c8c9eca2663137611854423f3f">More...</a><br/></td></tr> <tr class="separator:abba4d2c8c9eca2663137611854423f3f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a500d841b1e8c9b25034ed24625076227"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& object_id)</td></tr> <tr class="memdesc:a500d841b1e8c9b25034ed24625076227"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested object. <a href="#a500d841b1e8c9b25034ed24625076227">More...</a><br/></td></tr> <tr class="separator:a500d841b1e8c9b25034ed24625076227"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adca4bd102fa23f4e5b824797699887da"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/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#adca4bd102fa23f4e5b824797699887da">create_from_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& buffer, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> >& object_ids)</td></tr> <tr class="memdesc:adca4bd102fa23f4e5b824797699887da"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string containing a GtkBuilder UI definition building only the requested objects. <a href="#adca4bd102fa23f4e5b824797699887da">More...</a><br/></td></tr> <tr class="separator:adca4bd102fa23f4e5b824797699887da"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a0ba100f27aca463391d4399f6f1880ab"><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> <tr class="separator:a0ba100f27aca463391d4399f6f1880ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aff746219ab6618caab01984c57ee0161"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name, GType type)</td></tr> <tr class="separator:aff746219ab6618caab01984c57ee0161"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94c23a6163a95da0cb5184dcf2544d4a"><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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name)</td></tr> <tr class="separator:a94c23a6163a95da0cb5184dcf2544d4a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a0eed615bfe0b8ce06257406172956946"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/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> <tr class="memdesc:a0eed615bfe0b8ce06257406172956946"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a0eed615bfe0b8ce06257406172956946">More...</a><br/></td></tr> <tr class="separator:a0eed615bfe0b8ce06257406172956946"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><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_12000014">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="aff47bcf93d49acef9de2c697774cd53b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Builder::~Builder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a0ba100f27aca463391d4399f6f1880ab"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gtk::Builder::Builder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aa3f4af4e7eaf7861c8283dc0dbd5254c"></a> <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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em></td><td>)</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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>The file to parse. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000036">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a80771efbfbe5bbc053e8deee93e1e118"></a> <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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>The file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></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="a1f9c1e96d66b561bf63df23a32561f9f"></a> <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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>The file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000037">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a91e457709626ac8e94172cee0ec7173a"></a> <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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <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 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><note> 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 to interact with it...">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>. </note></p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000038">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>The name of the file to parse. </td></tr> <tr><td class="paramname">object_ids</td><td>Nul-terminated array of objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A positive value on success, 0 if an error occurred. </dd></dl> </div> </div> <a class="anchor" id="a8d8d4cd407615fef3b71da364c1720a0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Builder::add_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource file containing a GtkBuilder UI definition, and merges it with the current contents of the builder. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000016">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a6f80afb3deb00ab1ca7416d7f5e7c6b8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Builder::add_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource 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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000017">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a25d428b4bff9b39d91c6887524483bd5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Builder::add_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource 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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000018">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a516f4c7802dde8bdc6e022ecec20140d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::Builder::add_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource file containing a GtkBuilder UI definition 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 RESOURCE_ERROR domain.</p> <p><note> 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 to interact with it...">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>. </note></p> <dl class="since_3_4"><dt><b><a class="el" href="since_3_4.html#_since_3_4000040">Since gtkmm 3.4:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_ids</td><td>Nul-terminated array of objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A positive value on success, 0 if an error occurred. </dd></dl> </div> </div> <a class="anchor" id="ae3520ee31a98ac30b728f93522de8df5"></a> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em></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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000017">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="aac7d6c42f7a53f8be084841948b157d0"></a> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></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="a4fa5d22555a5e0f6e532685fde688734"></a> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000039">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a994c45b0c9649b1cd48bb1f5cd545735"></a> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">object_ids</td><td>The objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000040">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ab8c6679c1296d6c4d8590ef907de4d5a"></a> <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 * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gsize </td> <td class="paramname"><em>length</em> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">length</td><td>The length of <em>buffer</em> (may be -1 if <em>buffer</em> is nul-terminated). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true on success or false if an error occurred. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000018">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a3e7bd7f95c1ea1f06b4c2c16458403ce"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Creates a new builder object. </p> </div> </div> <a class="anchor" id="a6c5ea61bdb933606650e7f437d544edd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a file containing a GtkBuilder UI definition. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>the name of the file to parse. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000015">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ae851b019aeb1b8c0891be99ece184146"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>the name of the file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1FileError.html">Glib::FileError</a></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="a85a5dbb75e4d2fbdcfee52870eb582f0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>the name of the file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000030">Since gtkmm 2.16:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a8dbdea67bb752eb66adec24451516df2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_file </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>the name of the file to parse. </td></tr> <tr><td class="paramname">object_ids</td><td>The objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr> </table> </dd> </dl> <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> </div> </div> <a class="anchor" id="adfd8cc8a1e10e53c6db6acf46e1c43c9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource file containing a GtkBuilder UI definition. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000012">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a0eccb3ffec9dc9eb10d8eff8c81c11ac"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource 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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000013">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a75140285cc33a3e61c333366224864a7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource 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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000014">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="acacd7a1a7cf55a17f0d4dd450c8fb4c6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_resource </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01682.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>resource_path</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a resource 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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">resource_path</td><td>The path of the resource file to parse. </td></tr> <tr><td class="paramname">object_ids</td><td>The objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGio_1_1ResourceError.html">Gio::ResourceError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000015">Since gtkmm 3.6:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a05f80c899de87e17683af6e5efcb4b41"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a string containing a GtkBuilder UI definition. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer,:</td><td>the string to parse </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></td><td></td></tr> </table> </dd> </dl> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000016">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="abba4d2c8c9eca2663137611854423f3f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a string containing a GtkBuilder UI definition building only the requested object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></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="a500d841b1e8c9b25034ed24625076227"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>object_id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses a string containing a GtkBuilder UI definition building only the requested object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>The string to parse. </td></tr> <tr><td class="paramname">object_id</td><td>The object to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></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="adca4bd102fa23f4e5b824797699887da"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1Builder.html">Builder</a>> Gtk::Builder::create_from_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > & </td> <td class="paramname"><em>object_ids</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>the string to parse </td></tr> <tr><td class="paramname">object_ids</td><td>The objects to build. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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 class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classGtk_1_1BuilderError.html" title="Exception class for Gdk::Builder errors.">BuilderError</a>,<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1MarkupError.html">Glib::MarkupError</a></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="a94c23a6163a95da0cb5184dcf2544d4a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkWidget* Gtk::Builder::get_cwidget </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a2e2dfd63721cf7dd648e262ed6630f0c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>> Gtk::Builder::get_object </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Gets the object named <em>name</em>. </p> <dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000019">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>Name of object to get. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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="a4bfea876f92fcf4b50642d50257350ca"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>> Gtk::Builder::get_object </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the object named <em>name</em>. </p> <dl class="since_3_8"><dt><b><a class="el" href="since_3_8.html#_since_3_8000008">Since gtkmm 3.8:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>Name of object to get. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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="ad66ffbd57ad7db95963daddfedec920e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>> > Gtk::Builder::get_objects </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Gets all objects that have been constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a>. </p> <dl class="since_3_8"><dt><b><a class="el" href="since_3_8.html#_since_3_8000011">Since gtkmm 3.8:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A vector containing all the objects constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a> instance. </dd></dl> </div> </div> <a class="anchor" id="a85ede3fdc79dbab53c424f5a2c7e5c04"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>> > Gtk::Builder::get_objects </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets all objects that have been constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a>. </p> <dl class="since_3_8"><dt><b><a class="el" href="since_3_8.html#_since_3_8000012">Since gtkmm 3.8:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A vector containing all the objects constructed by the <a class="el" href="classGtk_1_1Builder.html" title="Build an interface from a UI definition description.">Gtk::Builder</a> instance. </dd></dl> </div> </div> <a class="anchor" id="a15fbbeccac6df2f40343a688a3ab7257"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::Builder::get_translation_domain </td> <td>(</td> <td class="paramname"></td><td>)</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_12000021">Since gtkmm 2.12:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</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="a6064c85a8a8f5be8edaaa182d30ac7fa"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gtk::Builder::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="ae525dfa187377dcdc1179a52df3d160a"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_Widget > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void Gtk::Builder::get_widget </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T_Widget *& </td> <td class="paramname"><em>widget</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </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"><div class="line"><a class="code" href="classGtk_1_1Grid.html" title="A container which arranges its child widgets in rows and columns.">Gtk::Grid</a>* pGrid = 0;</div> <div class="line">refXml->get_widget(<span class="stringliteral">"mygrid"</span>, pGrid);</div> </div><!-- fragment --><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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the widget. </td></tr> </table> </dd> </dl> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">widget</td><td>A pointer to the widget, or <code>0</code> on failure. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="aa3fec8b2dc543cf85495e619b3dfd9fd"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_Widget > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void Gtk::Builder::get_widget </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T_Widget *& </td> <td class="paramname"><em>widget</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>See the non-const version. </p> <dl class="since_3_8"><dt><b><a class="el" href="since_3_8.html#_since_3_8000009">Since gtkmm 3.8:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="aff746219ab6618caab01984c57ee0161"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">GType </td> <td class="paramname"><em>type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a943a0ee93a933e4b538d544461922ae9"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_Widget > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void Gtk::Builder::get_widget_derived </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T_Widget *& </td> <td class="paramname"><em>widget</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </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"><div class="line">DerivedDialog::DerivedDialog(BaseObjectType* cobject, <span class="keyword">const</span> <a class="codeRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr<Gtk::Builder></a>& refBuilder)</div> <div class="line">: Gtk::Dialog(cobject) <span class="comment">//Calls the base class constructor</span></div> </div><!-- fragment --><p>For instance: </p> <div class="fragment"><div class="line">Gtk::DerivedBox* pBox = 0;</div> <div class="line">refXml->get_widget_derived(<span class="stringliteral">"mybox"</span>, pBox);</div> </div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The name of the widget. </td></tr> </table> </dd> </dl> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">widget</td><td>A pointer to the widget, or <code>0</code> on failure. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a57166ba38c0919abc343c8f670bc3ca1"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_Widget > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void Gtk::Builder::get_widget_derived </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T_Widget *& </td> <td class="paramname"><em>widget</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>See the non-const version. </p> <dl class="since_3_8"><dt><b><a class="el" href="since_3_8.html#_since_3_8000010">Since gtkmm 3.8:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a16ab17cd36e636c3f1495ca2ef2a4f49"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkBuilder* Gtk::Builder::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a0d39f2751484ec95216add8f6629cc7d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkBuilder* Gtk::Builder::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a43185cdda8ad880fab2b3a9a2c1332d6"></a> <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>)</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="a85a82715ada487e10d4f26de1a578f18"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Builder::property_translation_domain </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The translation domain used by gettext. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ab7a428c017b439a7720bafccbab7c9f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > Gtk::Builder::property_translation_domain </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>The translation domain used by gettext. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a9f696bcf8d214f38d61d0d558d641245"></a> <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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>domain</em></td><td>)</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#a85a82715ada487e10d4f26de1a578f18" title="The translation domain used by gettext.">Gtk::Builder::property_translation_domain()</a>.</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> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">domain</td><td>The translation domain or <code>0</code>. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a0eed615bfe0b8ce06257406172956946"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1Builder.html">Gtk::Builder</a> > wrap </td> <td>(</td> <td class="paramtype">GtkBuilder * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</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><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>