Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 813

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::UIManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1UIManager.html">UIManager</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::UIManager Class Reference</h1><!-- doxytag: class="Gtk::UIManager" --><!-- doxytag: inherits="Glib::Object" -->
<p>Constructing menus and toolbars from an XML description. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::UIManager:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1UIManager__coll__graph.png" border="0" usemap="#Gtk_1_1UIManager_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1UIManager_coll__map" id="Gtk_1_1UIManager_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1UIManager-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a3193cf4841782d2efb3836ad87f2bbb8">~UIManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkUIManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#adcbc82741d92ed865d1d63eddabb7d99">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#adcbc82741d92ed865d1d63eddabb7d99"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkUIManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aae9a90e30c01a024da550dddd9d86363">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aae9a90e30c01a024da550dddd9d86363"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkUIManager*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a49c2a2f2d2b9c7db91cfce222c6d9139">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a49c2a2f2d2b9c7db91cfce222c6d9139"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aaaa2dd331a1a300e21e8b61b1e9f6c46">set_add_tearoffs</a> (bool add_tearoffs=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the "add_tearoffs" property, which controls whether menus generated by this <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> will have tearoff menu items. <a href="#aaaa2dd331a1a300e21e8b61b1e9f6c46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a199dfed5c1bdae63887ee2bed7c559fd">get_add_tearoffs</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether menus generated by this <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> will have tearoff menu items. <a href="#a199dfed5c1bdae63887ee2bed7c559fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a50cc8ee94cb48ddef6516883a0dd9047">insert_action_group</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt;&amp; action_group, int pos=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an action group into the list of action groups associated with <em>self</em>. <a href="#a50cc8ee94cb48ddef6516883a0dd9047"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a13551c32d6aa054c8c6771086727c576">remove_action_group</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt;&amp; action_group)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an action group from the list of action groups associated with <em>self</em>. <a href="#a13551c32d6aa054c8c6771086727c576"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ab0fcfc16bf3763645b083848d5f5f33b">get_action_groups</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of action groups associated with <em>self</em>. <a href="#ab0fcfc16bf3763645b083848d5f5f33b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; const <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4">get_action_groups</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of action groups associated with <em>self</em>. <a href="#a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a56f55fb4e8428dbc65c49cf1229775c4">get_accel_group</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> associated with <em>self</em>. <a href="#a56f55fb4e8428dbc65c49cf1229775c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a42211d42cb736b8f2b5b0d0d20f85e05">get_accel_group</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> associated with <em>self</em>. <a href="#a42211d42cb736b8f2b5b0d0d20f85e05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a93357a4791e1740610fadb0ba088cbf3">get_widget</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up a widget by following a path. <a href="#a93357a4791e1740610fadb0ba088cbf3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a38de43f04c160b1ddf238da0f0309cc0">get_widget</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up a widget by following a path. <a href="#a38de43f04c160b1ddf238da0f0309cc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt; <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aaf34fa7155944190cf80432e7bccbd52">get_toplevels</a> (<a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a> types)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains a list of all toplevel widgets of the requested types. <a href="#aaf34fa7155944190cf80432e7bccbd52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt; const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a5e340833b5766122d0901dc98e42bc0b">get_toplevels</a> (<a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a> types) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains a list of all toplevel widgets of the requested types. <a href="#a5e340833b5766122d0901dc98e42bc0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a5486fde7529fd2f6e0cfbea2780e5d32">get_action</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up an action by following a path. <a href="#a5486fde7529fd2f6e0cfbea2780e5d32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ab4b3f27d94dc1363ec10915cffa7f3a7">get_action</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up an action by following a path. <a href="#ab4b3f27d94dc1363ec10915cffa7f3a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a403582b15c37408abaa868692d6a7abd">add_ui_from_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; buffer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a string containing a UI definition and merges it with the current contents. <a href="#a403582b15c37408abaa868692d6a7abd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ad1377c506a357a7587d5e2bb5377881c">add_ui_from_file</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; filename)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a &lt;link linkend="XML-UI"&gt;UI definition&lt;/link&gt; and merges it with the current contents of <em>self</em>. <a href="#ad1377c506a357a7587d5e2bb5377881c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a0a23ac89ab23915b675446cc1c10db1f">add_ui</a> (<a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> merge_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; action, <a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a> type=Gtk::UI_MANAGER_AUTO, bool top=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a UI element to the current contents of <em>self</em>. <a href="#a0a23ac89ab23915b675446cc1c10db1f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a19b05ae50b353b39b60f467008c0c827">add_ui_separator</a> (<a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> merge_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; path, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name=&quot;&quot;, <a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a> type=Gtk::UI_MANAGER_AUTO, bool top=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a separator UI element to the current contents. <a href="#a19b05ae50b353b39b60f467008c0c827"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a0611594aa9d4df6febe90dbb9fe2fd21">remove_ui</a> (<a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> merge_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unmerges the part of <em>selfs</em> content identified by <em>merge_id</em>. <a href="#a0611594aa9d4df6febe90dbb9fe2fd21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ad85b3e2cb26b4535d71a57ac81f61918">get_ui</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a &lt;link linkend="XML-UI"&gt;UI definition&lt;/link&gt; of the merged UI. <a href="#ad85b3e2cb26b4535d71a57ac81f61918"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aa3a3f4e8bdd7488eab875e9bbfd2ae15">ensure_update</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes sure that all pending updates to the UI have been completed. <a href="#aa3a3f4e8bdd7488eab875e9bbfd2ae15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ac5cb767d3ba718492972e7f9c5f02fb7">new_merge_id</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an unused merge id, suitable for use with gtk_ui_manager_add_ui(). <a href="#ac5cb767d3ba718492972e7f9c5f02fb7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <br class="typebreak"/>
<a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a92f803fbd7048cdfeb94d0b395435292">signal_add_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The add_widget signal is emitted for each generated menubar and toolbar. <a href="#a92f803fbd7048cdfeb94d0b395435292"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ab670a3d562a988c0ed866faaae5e4223">signal_actions_changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The "actions-changed" signal is emitted whenever the set of actions changes. <a href="#ab670a3d562a988c0ed866faaae5e4223"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;<br class="typebreak"/>
&amp;, <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a0fd9d67e67983ee5dd914812a7153e95">signal_connect_proxy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The connect_proxy signal is emitted after connecting a proxy to an action in the group. <a href="#a0fd9d67e67983ee5dd914812a7153e95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;<br class="typebreak"/>
&amp;, <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aa133acc14dd552ad2df62b21ea7e4ebb">signal_disconnect_proxy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. <a href="#aa133acc14dd552ad2df62b21ea7e4ebb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a13c399f0521ccc99a09611879038cee9">signal_pre_activate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The pre_activate signal is emitted just before the <em>action</em> is activated. <a href="#a13c399f0521ccc99a09611879038cee9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a0243e755d2a8da7d658000c1b20f221d">signal_post_activate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The post_activate signal is emitted just after the <em>action</em> is activated. <a href="#a0243e755d2a8da7d658000c1b20f221d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#abaecd90445fa40cf1b7923845d03f70a">property_add_tearoffs</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether tearoff menu items should be added to menus. <a href="#abaecd90445fa40cf1b7923845d03f70a"></a><br/></td></tr>
<tr><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"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#abac08a288b27cc0f284aedfbc7289d98">property_add_tearoffs</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether tearoff menu items should be added to menus. <a href="#abac08a288b27cc0f284aedfbc7289d98"></a><br/></td></tr>
<tr><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"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#aba5843176409db66c211911cce9d6eb8">property_ui</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An XML string describing the merged UI. <a href="#aba5843176409db66c211911cce9d6eb8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1UIManager.html">UIManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#af2a1f8d72acc2070660cf6d37dfb37a5">create</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a2e1be63e14b8cd4b5b0dbb1e74757b3f">UIManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a543fc31062484f6f230320f3d6f939e8">on_add_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>* widget)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#a79662f2d8e965519097b791f2af96ce3">on_actions_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1UIManager.html">Gtk::UIManager</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1UIManager.html#ad36176bdb92cd8f85fc7c0fcd5868e9a">wrap</a> (GtkUIManager* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</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="#ad36176bdb92cd8f85fc7c0fcd5868e9a"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Constructing menus and toolbars from an XML description. </p>
<p>A <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups.</p>
<dl class="user"><dt><b>UI Definitions</b></dt><dd></dd></dl>
<p>The UI definitions are specified in an XML format which can be roughly described by the following DTD. </p>
<div class="fragment"><pre class="fragment"> &lt;!ELEMENT ui (menubar|toolbar|popup|accelerator)* &gt;
 &lt;!ELEMENT menubar (menuitem|separator|placeholder|menu)* &gt;
 &lt;!ELEMENT menu (menuitem|separator|placeholder|menu)* &gt;
 &lt;!ELEMENT popup (menuitem|separator|placeholder|menu)* &gt;
 &lt;!ELEMENT toolbar (toolitem|separator|placeholder)* &gt;
 &lt;!ELEMENT placeholder (menuitem|toolitem|separator|placeholder|menu)* &gt;
 &lt;!ELEMENT menuitem EMPTY &gt;
 &lt;!ELEMENT toolitem (menu?) &gt;
 &lt;!ELEMENT separator EMPTY &gt;
 &lt;!ELEMENT accelerator EMPTY &gt;
 &lt;!ATTLIST menubar name #IMPLIED                       action #IMPLIED &gt;
 &lt;!ATTLIST toolbar name #IMPLIED                       action #IMPLIED &gt;
 &lt;!ATTLIST popup name #IMPLIED                       action #IMPLIED &gt;
 &lt;!ATTLIST placeholder name #IMPLIED
                       action #IMPLIED &gt;
 &lt;!ATTLIST separator name #IMPLIED
                       action #IMPLIED
                       expand (<span class="keyword">true</span>|<span class="keyword">false</span>) <span class="preprocessor">#IMPLIED &gt;</span>
<span class="preprocessor"></span> &lt;!ATTLIST menu name #IMPLIED
                       action #REQUIRED
                       position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
<span class="preprocessor"></span> &lt;!ATTLIST menuitem name #IMPLIED
                      action #REQUIRED
                      position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
<span class="preprocessor"></span> &lt;!ATTLIST toolitem name #IMPLIED
                      action #REQUIRED
                      position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
<span class="preprocessor"></span> &lt;!ATTLIST accelerator name #IMPLIED
                       action #REQUIRED &gt;
</pre></div><p>There are some additional restrictions beyond those specified in the DTD, e.g. every toolitem must have a toolbar in its anchestry and every menuitem must have a + menubar or popup in its anchestry. Since a GMarkup parser is used to parse the UI description, it must not only be valid XML, but valid GMarkup.</p>
<p>If a name is not specified, it defaults to the action. If an action is not specified either, the element name is used. The name and action attributes must not contain '/' characters after parsing (since that would mess up path lookup) and must be usable as XML attributes when enclosed in doublequotes, thus they must not '' characters or references to the " entity.</p>
<dl class="user"><dt><b>Example: UI Definition</b></dt><dd><div class="fragment"><pre class="fragment"> &lt;ui&gt;
 &lt;menubar&gt;
   &lt;menu name=<span class="stringliteral">&quot;FileMenu&quot;</span> action=<span class="stringliteral">&quot;FileMenuAction&quot;</span>&gt;
     &lt;menuitem name=<span class="stringliteral">&quot;New&quot;</span> action=<span class="stringliteral">&quot;New2Action&quot;</span> /&gt;
     &lt;placeholder name=<span class="stringliteral">&quot;FileMenuAdditions&quot;</span> /&gt;
   &lt;/menu&gt;
   &lt;menu name=<span class="stringliteral">&quot;JustifyMenu&quot;</span> action=<span class="stringliteral">&quot;JustifyMenuAction&quot;</span>&gt;
     &lt;menuitem name=<span class="stringliteral">&quot;Left&quot;</span> action=<span class="stringliteral">&quot;justify-left&quot;</span>/&gt;
     &lt;menuitem name=<span class="stringliteral">&quot;Centre&quot;</span> action=<span class="stringliteral">&quot;justify-center&quot;</span>/&gt;
     &lt;menuitem name=<span class="stringliteral">&quot;Right&quot;</span> action=<span class="stringliteral">&quot;justify-right&quot;</span>/&gt;
     &lt;menuitem name=<span class="stringliteral">&quot;Fill&quot;</span> action=<span class="stringliteral">&quot;justify-fill&quot;</span>/&gt;
   &lt;/menu&gt;
 &lt;/menubar&gt;
 &lt;toolbar action=<span class="stringliteral">&quot;toolbar1&quot;</span>&gt;
   &lt;placeholder name=<span class="stringliteral">&quot;JustifyToolItems&quot;</span>&gt;
     &lt;separator/&gt;
     &lt;toolitem name=<span class="stringliteral">&quot;Left&quot;</span> action=<span class="stringliteral">&quot;justify-left&quot;</span>/&gt;
     &lt;toolitem name=<span class="stringliteral">&quot;Centre&quot;</span> action=<span class="stringliteral">&quot;justify-center&quot;</span>/&gt;
     &lt;toolitem name=<span class="stringliteral">&quot;Right&quot;</span> action=<span class="stringliteral">&quot;justify-right&quot;</span>/&gt;
     &lt;toolitem name=<span class="stringliteral">&quot;Fill&quot;</span> action=<span class="stringliteral">&quot;justify-fill&quot;</span>/&gt;
     &lt;separator/&gt;
   &lt;/placeholder&gt;
 &lt;/toolbar&gt;
 &lt;/ui&gt;
</pre></div></dd></dl>
<p>The constructed widget hierarchy is very similar to the element tree of the XML, with the exception that placeholders are merged into their parents. The correspondence of XML elements to widgets should be almost obvious:</p>
<ul>
<li>menubar a <a class="el" href="classGtk_1_1MenuBar.html" title="A standard menu bar which usually holds Gtk::Menu submenu items.">Gtk::MenuBar</a></li>
<li>toolbar a <a class="el" href="classGtk_1_1Toolbar.html" title="Bars of buttons and other widgets.">Gtk::Toolbar</a></li>
<li>popup a toplevel <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated...">Gtk::Menu</a></li>
<li>menu a <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated...">Gtk::Menu</a> attached to a menuitem</li>
<li>menuitem a <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> subclass, the exact type depends on the action</li>
<li>toolitem a <a class="el" href="classGtk_1_1ToolItem.html">Gtk::ToolItem</a> subclass, the exact type depends on the action. Note that toolitem elements may contain a menu element, but only if their associated action specifies a <a class="el" href="classGtk_1_1MenuToolButton.html" title="A Gtk::ToolItem containing a toggle button.">Gtk::MenuToolButton</a> as proxy.</li>
<li>separator a <a class="el" href="classGtk_1_1SeparatorMenuItem.html" title="A separator used to group items within a menu.">Gtk::SeparatorMenuItem</a> or <a class="el" href="classGtk_1_1SeparatorToolItem.html" title="A toolbar item that separates groups of other toolbar items.">Gtk::SeparatorToolItem</a></li>
<li>accelerator a keyboard accelerator</li>
</ul>
<p>The "position" attribute determines where a constructed widget is positioned wrt. to its siblings in the partially constructed tree. If it is "top", the widget is prepended, otherwise it is appended.</p>
<dl class="user"><dt><b>UI Merging</b></dt><dd></dd></dl>
<p>The most remarkable feature of <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> is that it can overlay a set of menuitems and toolitems over another one, and demerge them later.</p>
<p>Merging is done based on the names of the XML elements. Each element is identified by a path which consists of the names of its anchestors, separated by slashes. For example, the menuitem named "Left" in the example above has the path /ui/menubar/JustifyMenu/Left and the toolitem with the same name has path /ui/toolbar1/JustifyToolItems/Left.</p>
<dl class="user"><dt><b>Accelerators</b></dt><dd></dd></dl>
<p>Every action has an accelerator path. Accelerators are installed together with menuitem proxies, but they can also be explicitly added with &lt;accelerator&gt; elements in the UI definition. This makes it possible to have accelerators for actions even if they have no visible proxies.</p>
<dl class="user"><dt><b>Smart Separators</b></dt><dd></dd></dl>
<p>The separators created by <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> are "smart", i.e. they do not show up in the UI unless they end up between two visible menu or tool items. Separators which are located at the very beginning or end of the menu or toolbar containing them, or multiple separators next to each other, are hidden. This is a useful feature, since the merging of UI elements from multiple sources can make it hard or impossible to determine in advance whether a separator will end up in such an unfortunate position.</p>
<p>For separators in toolbars, you can set expand="true" to turn them from a small, visible separator to an expanding, invisible one. Toolitems following an expanding separator are effectively right-aligned.</p>
<dl class="user"><dt><b>Empty Menus</b></dt><dd></dd></dl>
<p>Submenus pose similar problems to separators inconnection with merging. It is impossible to know in advance whether they will end up empty after merging. <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> offers two ways to treat empty submenus:</p>
<ul>
<li>make them disappear by hiding the menu item they're attached to</li>
<li>add an insensitive "Empty" item</li>
</ul>
<p>The behaviour is chosen based on the "hide_if_empty" property of the action to which the submenu is associated.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000305">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a0682fad15edb0f4418487e555aa6805d"></a><!-- doxytag: member="Gtk::UIManager::ui_merge_id" ref="a0682fad15edb0f4418487e555aa6805d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef guint <a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">Gtk::UIManager::ui_merge_id</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3193cf4841782d2efb3836ad87f2bbb8"></a><!-- doxytag: member="Gtk::UIManager::~UIManager" ref="a3193cf4841782d2efb3836ad87f2bbb8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::UIManager::~UIManager </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0a23ac89ab23915b675446cc1c10db1f"></a><!-- doxytag: member="Gtk::UIManager::add_ui" ref="a0a23ac89ab23915b675446cc1c10db1f" args="(ui_merge_id merge_id, const Glib::ustring &amp;path, const Glib::ustring &amp;name, const Glib::ustring &amp;action, UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::add_ui </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
          <td class="paramname"> <em>merge_id</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> &amp;&#160;</td>
          <td class="paramname"> <em>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> &amp;&#160;</td>
          <td class="paramname"> <em>name</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> &amp;&#160;</td>
          <td class="paramname"> <em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
          <td class="paramname"> <em>type</em> = <code>Gtk::UI_MANAGER_AUTO</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>top</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a UI element to the current contents of <em>self</em>. </p>
<p>If <em>type</em> is <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba267054a838b50ec380b59488209ec1dc">Gtk::UI_MANAGER_AUTO</a>, GTK+ inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by <em>path</em>. Otherwise <em>type</em> must indicate an element that can be inserted at the place determined by <em>path</em>.</p>
<p><em>see</em> <a class="el" href="classGtk_1_1UIManager.html#a19b05ae50b353b39b60f467008c0c827" title="Adds a separator UI element to the current contents.">add_ui_separator()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000322">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>merge_id</em>&#160;</td><td>The merge id for the merged UI, see gtk_ui_manager_new_merge_id(). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name for the added UI element. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>action</em>&#160;</td><td>The name of the action to be proxied, if this is not a separator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of UI element to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>top</em>&#160;</td><td>If <code>true</code>, the UI element is added before its siblings, otherwise it is added after its siblings. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad1377c506a357a7587d5e2bb5377881c"></a><!-- doxytag: member="Gtk::UIManager::add_ui_from_file" ref="ad1377c506a357a7587d5e2bb5377881c" args="(const Glib::ustring &amp;filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::add_ui_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a file containing a &lt;link linkend="XML-UI"&gt;UI definition&lt;/link&gt; and merges it with the current contents of <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000321">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&#160;</td><td>The name of the file to parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The merge id for the merged UI. The merge id can be used to unmerge the UI with gtk_ui_manager_remove_ui(). If an error occurred, the return value is 0. </dd></dl>

</div>
</div>
<a class="anchor" id="a403582b15c37408abaa868692d6a7abd"></a><!-- doxytag: member="Gtk::UIManager::add_ui_from_string" ref="a403582b15c37408abaa868692d6a7abd" args="(const Glib::ustring &amp;buffer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::add_ui_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> &amp;&#160;</td>
          <td class="paramname"> <em>buffer</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses a string containing a UI definition and merges it with the current contents. </p>
<p>An enclosing &lt;ui&gt; element is added if it is missing.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&#160;</td><td>the string to parse </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The merge id for the merged UI. The merge id can be used to unmerge the UI with <a class="el" href="classGtk_1_1UIManager.html#a0611594aa9d4df6febe90dbb9fe2fd21" title="Unmerges the part of selfs content identified by merge_id.">remove_ui()</a>. If an error occurred, the return value is 0. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>exception</em>&#160;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000320">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a19b05ae50b353b39b60f467008c0c827"></a><!-- doxytag: member="Gtk::UIManager::add_ui_separator" ref="a19b05ae50b353b39b60f467008c0c827" args="(ui_merge_id merge_id, const Glib::ustring &amp;path, const Glib::ustring &amp;name=&quot;&quot;, UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::add_ui_separator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
          <td class="paramname"> <em>merge_id</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> &amp;&#160;</td>
          <td class="paramname"> <em>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> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
          <td class="paramname"> <em>type</em> = <code>Gtk::UI_MANAGER_AUTO</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>top</em> = <code>true</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a separator UI element to the current contents. </p>
<p>If <em>type</em> is <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba267054a838b50ec380b59488209ec1dc">Gtk::UI_MANAGER_AUTO</a>, GTK+ inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by <em>path</em> . Otherwise <em>type</em> must indicate an element that can be inserted at the place determined by <em>path</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1UIManager.html#a0a23ac89ab23915b675446cc1c10db1f" title="Adds a UI element to the current contents of self.">add_ui()</a>.</dd></dl>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000323">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>merge_id</em>&#160;</td><td>The merge id for the merged UI, see gtk_ui_manager_new_merge_id(). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name for the added UI element. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of UI element to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>top</em>&#160;</td><td>If <code>true</code>, the UI element is added before its siblings, otherwise it is added after its siblings. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af2a1f8d72acc2070660cf6d37dfb37a5"></a><!-- doxytag: member="Gtk::UIManager::create" ref="af2a1f8d72acc2070660cf6d37dfb37a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1UIManager.html">UIManager</a>&gt; Gtk::UIManager::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa3a3f4e8bdd7488eab875e9bbfd2ae15"></a><!-- doxytag: member="Gtk::UIManager::ensure_update" ref="aa3a3f4e8bdd7488eab875e9bbfd2ae15" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::ensure_update </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Makes sure that all pending updates to the UI have been completed. </p>
<p>This may occasionally be necessary, since <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> updates the UI in an idle function. A typical example where this function is useful is to enforce that the menubar and toolbar have been added to the main window before showing it: |[ gtk_container_add (GTK_CONTAINER (window), vbox); g_signal_connect (merge, "add-widget", G_CALLBACK (add_widget), vbox); gtk_ui_manager_add_ui_from_file (merge, "my-menus"); gtk_ui_manager_add_ui_from_file (merge, "my-toolbars"); gtk_ui_manager_ensure_update (merge); gtk_widget_show (window); ]|</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000326">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a42211d42cb736b8f2b5b0d0d20f85e05"></a><!-- doxytag: member="Gtk::UIManager::get_accel_group" ref="a42211d42cb736b8f2b5b0d0d20f85e05" args="() const " -->
<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>&lt;const <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::UIManager::get_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> associated with <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000313">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a56f55fb4e8428dbc65c49cf1229775c4"></a><!-- doxytag: member="Gtk::UIManager::get_accel_group" ref="a56f55fb4e8428dbc65c49cf1229775c4" args="()" -->
<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>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::UIManager::get_accel_group </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> associated with <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000312">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ab4b3f27d94dc1363ec10915cffa7f3a7"></a><!-- doxytag: member="Gtk::UIManager::get_action" ref="ab4b3f27d94dc1363ec10915cffa7f3a7" args="(const Glib::ustring &amp;path) const " -->
<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>&lt;const <a class="el" href="classGtk_1_1Action.html">Action</a>&gt; Gtk::UIManager::get_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Looks up an action by following a path. </p>
<p>See gtk_ui_manager_get_widget() for more information about paths.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000319">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The action whose proxy widget is found by following the path, or <code>0</code> if no widget was found. </dd></dl>

</div>
</div>
<a class="anchor" id="a5486fde7529fd2f6e0cfbea2780e5d32"></a><!-- doxytag: member="Gtk::UIManager::get_action" ref="a5486fde7529fd2f6e0cfbea2780e5d32" args="(const Glib::ustring &amp;path)" -->
<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>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt; Gtk::UIManager::get_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Looks up an action by following a path. </p>
<p>See gtk_ui_manager_get_widget() for more information about paths.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000318">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The action whose proxy widget is found by following the path, or <code>0</code> if no widget was found. </dd></dl>

</div>
</div>
<a class="anchor" id="a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4"></a><!-- doxytag: member="Gtk::UIManager::get_action_groups" ref="a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a>&gt; &gt; Gtk::UIManager::get_action_groups </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the list of action groups associated with <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000311">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A List of action groups. The list is owned by GTK+ and should not be modified. </dd></dl>

</div>
</div>
<a class="anchor" id="ab0fcfc16bf3763645b083848d5f5f33b"></a><!-- doxytag: member="Gtk::UIManager::get_action_groups" ref="ab0fcfc16bf3763645b083848d5f5f33b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a>&gt; &gt; Gtk::UIManager::get_action_groups </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the list of action groups associated with <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000310">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A List of action groups. The list is owned by GTK+ and should not be modified. </dd></dl>

</div>
</div>
<a class="anchor" id="a199dfed5c1bdae63887ee2bed7c559fd"></a><!-- doxytag: member="Gtk::UIManager::get_add_tearoffs" ref="a199dfed5c1bdae63887ee2bed7c559fd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::UIManager::get_add_tearoffs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether menus generated by this <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> will have tearoff menu items. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000307">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether tearoff menu items are added. </dd></dl>

</div>
</div>
<a class="anchor" id="a5e340833b5766122d0901dc98e42bc0b"></a><!-- doxytag: member="Gtk::UIManager::get_toplevels" ref="a5e340833b5766122d0901dc98e42bc0b" args="(UIManagerItemType types) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt;const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::UIManager::get_toplevels </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
          <td class="paramname"> <em>types</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains a list of all toplevel widgets of the requested types. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000317">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>types</em>&#160;</td><td>Specifies the types of toplevel widgets to include. Allowed types are <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba7b6cfe3efc1ca9f1ad356e12f65acb2c">Gtk::UI_MANAGER_MENUBAR</a>, <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba33a764d3cd892157f541bc7a0bf83f7e">Gtk::UI_MANAGER_TOOLBAR</a> and <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7babc41def3158e549113d2690bcbe79667">Gtk::UI_MANAGER_POPUP</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated SList of all toplevel widgets of the requested types. Free the returned list with Glib::slist_free(). </dd></dl>

</div>
</div>
<a class="anchor" id="aaf34fa7155944190cf80432e7bccbd52"></a><!-- doxytag: member="Gtk::UIManager::get_toplevels" ref="aaf34fa7155944190cf80432e7bccbd52" args="(UIManagerItemType types)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt;<a class="el" href="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::UIManager::get_toplevels </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
          <td class="paramname"> <em>types</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains a list of all toplevel widgets of the requested types. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000316">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>types</em>&#160;</td><td>Specifies the types of toplevel widgets to include. Allowed types are <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba7b6cfe3efc1ca9f1ad356e12f65acb2c">Gtk::UI_MANAGER_MENUBAR</a>, <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7ba33a764d3cd892157f541bc7a0bf83f7e">Gtk::UI_MANAGER_TOOLBAR</a> and <a class="el" href="group__gtkmmEnums.html#gga91226ea137a67080d9b487225aa41d7babc41def3158e549113d2690bcbe79667">Gtk::UI_MANAGER_POPUP</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated SList of all toplevel widgets of the requested types. Free the returned list with Glib::slist_free(). </dd></dl>

</div>
</div>
<a class="anchor" id="ad85b3e2cb26b4535d71a57ac81f61918"></a><!-- doxytag: member="Gtk::UIManager::get_ui" ref="ad85b3e2cb26b4535d71a57ac81f61918" args="() const " -->
<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::UIManager::get_ui </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a &lt;link linkend="XML-UI"&gt;UI definition&lt;/link&gt; of the merged UI. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000325">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated string containing an XML representation of the merged UI. </dd></dl>

</div>
</div>
<a class="anchor" id="a38de43f04c160b1ddf238da0f0309cc0"></a><!-- doxytag: member="Gtk::UIManager::get_widget" ref="a38de43f04c160b1ddf238da0f0309cc0" args="(const Glib::ustring &amp;path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::UIManager::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> &amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Looks up a widget by following a path. </p>
<p>The path consists of the names specified in the XML description of the UI. separated by '/'. Elements which don't have a name or action attribute in the XML (e.g. &lt;popup&gt;) can be addressed by their XML element name (e.g. "popup"). The root element ("/ui") can be omitted in the path.</p>
<p>Note that the widget found by following a path that ends in a &lt;menu&gt; element is the menuitem to which the menu is attached, not the menu itself.</p>
<p>Also note that the widgets constructed by a ui manager are not tied to the lifecycle of the ui manager. If you add the widgets returned by this function to some container or explicitly ref them, they will survive the destruction of the ui manager.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000315">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget found by following the path, or <code>0</code> if no widget was found. </dd></dl>

</div>
</div>
<a class="anchor" id="a93357a4791e1740610fadb0ba088cbf3"></a><!-- doxytag: member="Gtk::UIManager::get_widget" ref="a93357a4791e1740610fadb0ba088cbf3" args="(const Glib::ustring &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::UIManager::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> &amp;&#160;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Looks up a widget by following a path. </p>
<p>The path consists of the names specified in the XML description of the UI. separated by '/'. Elements which don't have a name or action attribute in the XML (e.g. &lt;popup&gt;) can be addressed by their XML element name (e.g. "popup"). The root element ("/ui") can be omitted in the path.</p>
<p>Note that the widget found by following a path that ends in a &lt;menu&gt; element is the menuitem to which the menu is attached, not the menu itself.</p>
<p>Also note that the widgets constructed by a ui manager are not tied to the lifecycle of the ui manager. If you add the widgets returned by this function to some container or explicitly ref them, they will survive the destruction of the ui manager.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000314">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&#160;</td><td>A path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The widget found by following the path, or <code>0</code> if no widget was found. </dd></dl>

</div>
</div>
<a class="anchor" id="aae9a90e30c01a024da550dddd9d86363"></a><!-- doxytag: member="Gtk::UIManager::gobj" ref="aae9a90e30c01a024da550dddd9d86363" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkUIManager* Gtk::UIManager::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="adcbc82741d92ed865d1d63eddabb7d99"></a><!-- doxytag: member="Gtk::UIManager::gobj" ref="adcbc82741d92ed865d1d63eddabb7d99" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkUIManager* Gtk::UIManager::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a49c2a2f2d2b9c7db91cfce222c6d9139"></a><!-- doxytag: member="Gtk::UIManager::gobj_copy" ref="a49c2a2f2d2b9c7db91cfce222c6d9139" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkUIManager* Gtk::UIManager::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a50cc8ee94cb48ddef6516883a0dd9047"></a><!-- doxytag: member="Gtk::UIManager::insert_action_group" ref="a50cc8ee94cb48ddef6516883a0dd9047" args="(const Glib::RefPtr&lt; ActionGroup &gt; &amp;action_group, int pos=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::insert_action_group </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>action_group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>pos</em> = <code>0</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts an action group into the list of action groups associated with <em>self</em>. </p>
<p>Actions in earlier groups hide actions with the same name in later groups.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000308">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action_group</em>&#160;</td><td>The action group to be inserted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&#160;</td><td>The position at which the group will be inserted. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac5cb767d3ba718492972e7f9c5f02fb7"></a><!-- doxytag: member="Gtk::UIManager::new_merge_id" ref="ac5cb767d3ba718492972e7f9c5f02fb7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::new_merge_id </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an unused merge id, suitable for use with gtk_ui_manager_add_ui(). </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000327">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An unused merge id. </dd></dl>

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

</div>
</div>
<a class="anchor" id="a543fc31062484f6f230320f3d6f939e8"></a><!-- doxytag: member="Gtk::UIManager::on_add_widget" ref="a543fc31062484f6f230320f3d6f939e8" args="(Widget *widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::UIManager::on_add_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td>
          <td class="paramname"> <em>widget</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abac08a288b27cc0f284aedfbc7289d98"></a><!-- doxytag: member="Gtk::UIManager::property_add_tearoffs" ref="abac08a288b27cc0f284aedfbc7289d98" args="() const " -->
<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>&lt;bool&gt; Gtk::UIManager::property_add_tearoffs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether tearoff menu items should be added to menus. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="abaecd90445fa40cf1b7923845d03f70a"></a><!-- doxytag: member="Gtk::UIManager::property_add_tearoffs" ref="abaecd90445fa40cf1b7923845d03f70a" args="()" -->
<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>&lt;bool&gt; Gtk::UIManager::property_add_tearoffs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether tearoff menu items should be added to menus. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aba5843176409db66c211911cce9d6eb8"></a><!-- doxytag: member="Gtk::UIManager::property_ui" ref="aba5843176409db66c211911cce9d6eb8" args="() const " -->
<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>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::UIManager::property_ui </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An XML string describing the merged UI. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a13551c32d6aa054c8c6771086727c576"></a><!-- doxytag: member="Gtk::UIManager::remove_action_group" ref="a13551c32d6aa054c8c6771086727c576" args="(const Glib::RefPtr&lt; ActionGroup &gt; &amp;action_group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::remove_action_group </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ActionGroup.html">ActionGroup</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>action_group</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes an action group from the list of action groups associated with <em>self</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000309">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action_group</em>&#160;</td><td>The action group to be removed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0611594aa9d4df6febe90dbb9fe2fd21"></a><!-- doxytag: member="Gtk::UIManager::remove_ui" ref="a0611594aa9d4df6febe90dbb9fe2fd21" args="(ui_merge_id merge_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::UIManager::remove_ui </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
          <td class="paramname"> <em>merge_id</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unmerges the part of <em>selfs</em> content identified by <em>merge_id</em>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000324">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>merge_id</em>&#160;</td><td>A merge id as returned by gtk_ui_manager_add_ui_from_string(). </td></tr>
  </table>
  </dd>
</dl>

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

<p>Sets the "add_tearoffs" property, which controls whether menus generated by this <a class="el" href="classGtk_1_1UIManager.html" title="Constructing menus and toolbars from an XML description.">Gtk::UIManager</a> will have tearoff menu items. </p>
<p>Note that this only affects regular menus. Generated popup menus never have tearoff menu items.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000306">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>add_tearoffs</em>&#160;</td><td>Whether tearoff menu items are added. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab670a3d562a988c0ed866faaae5e4223"></a><!-- doxytag: member="Gtk::UIManager::signal_actions_changed" ref="ab670a3d562a988c0ed866faaae5e4223" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::UIManager::signal_actions_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The "actions-changed" signal is emitted whenever the set of actions changes. </p>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_actions_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a92f803fbd7048cdfeb94d0b395435292"></a><!-- doxytag: member="Gtk::UIManager::signal_add_widget" ref="a92f803fbd7048cdfeb94d0b395435292" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,<a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt; Gtk::UIManager::signal_add_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The add_widget signal is emitted for each generated menubar and toolbar. </p>
<p>It is not emitted for generated popup menus, which can be obtained by <a class="el" href="classGtk_1_1UIManager.html#a93357a4791e1740610fadb0ba088cbf3" title="Looks up a widget by following a path.">get_widget()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td>the added widget</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_add_widget(Widget* widget)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a0fd9d67e67983ee5dd914812a7153e95"></a><!-- doxytag: member="Gtk::UIManager::signal_connect_proxy" ref="a0fd9d67e67983ee5dd914812a7153e95" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt;&amp;,<a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt; Gtk::UIManager::signal_connect_proxy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The connect_proxy signal is emitted after connecting a proxy to an action in the group. </p>
<p>This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action</em>&#160;</td><td>the action </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td>the proxy</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_connect_proxy(const Glib::RefPtr&lt;Action&gt;&amp; action, Widget* widget)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aa133acc14dd552ad2df62b21ea7e4ebb"></a><!-- doxytag: member="Gtk::UIManager::signal_disconnect_proxy" ref="aa133acc14dd552ad2df62b21ea7e4ebb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt;&amp;,<a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt; Gtk::UIManager::signal_disconnect_proxy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action</em>&#160;</td><td>the action </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&#160;</td><td>the proxy</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_disconnect_proxy(const Glib::RefPtr&lt;Action&gt;&amp; action, Widget* widget)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a0243e755d2a8da7d658000c1b20f221d"></a><!-- doxytag: member="Gtk::UIManager::signal_post_activate" ref="a0243e755d2a8da7d658000c1b20f221d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt;&amp; &gt; Gtk::UIManager::signal_post_activate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The post_activate signal is emitted just after the <em>action</em> is activated. </p>
<p>This is intended for applications to get notification just after any action is activated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action</em>&#160;</td><td>the action</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_post_activate(const Glib::RefPtr&lt;Action&gt;&amp; action)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a13c399f0521ccc99a09611879038cee9"></a><!-- doxytag: member="Gtk::UIManager::signal_pre_activate" ref="a13c399f0521ccc99a09611879038cee9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt;&amp; &gt; Gtk::UIManager::signal_pre_activate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The pre_activate signal is emitted just before the <em>action</em> is activated. </p>
<p>This is intended for applications to get notification just before any action is activated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>action</em>&#160;</td><td>the action</td></tr>
  </table>
  </dd>
</dl>
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_pre_activate(const Glib::RefPtr&lt;Action&gt;&amp; action)</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ad36176bdb92cd8f85fc7c0fcd5868e9a"></a><!-- doxytag: member="Gtk::UIManager::wrap" ref="ad36176bdb92cd8f85fc7c0fcd5868e9a" args="(GtkUIManager *object, bool take_copy=false)" -->
<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>&lt; <a class="el" href="classGtk_1_1UIManager.html">Gtk::UIManager</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkUIManager *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/uimanager.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:07 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>