~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/doc/gtkmm-2.4/reference/html/classGtk_1_1UIManager.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: Gtk::UIManager Class Reference</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
  <div id="navrow2" class="tabs2">
 
33
    <ul class="tablist">
 
34
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
35
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
36
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
 
37
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
38
    </ul>
 
39
  </div>
 
40
  <div id="nav-path" class="navpath">
 
41
    <ul>
 
42
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
 
43
      <li class="navelem"><a class="el" href="classGtk_1_1UIManager.html">UIManager</a> </li>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#pub-types">Public Types</a> &#124;
 
50
<a href="#pub-methods">Public Member Functions</a> &#124;
 
51
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
 
52
<a href="#pro-methods">Protected Member Functions</a> &#124;
 
53
<a href="#related">Related Functions</a> </div>
 
54
  <div class="headertitle">
 
55
<h1>Gtk::UIManager Class Reference</h1> </div>
 
56
</div>
 
57
<div class="contents">
 
58
<!-- doxytag: class="Gtk::UIManager" --><!-- doxytag: inherits="Glib::Object" -->
 
59
<p>Constructing menus and toolbars from an XML description. <a href="#_details">More...</a></p>
 
60
<div class="dynheader">
 
61
Inheritance diagram for Gtk::UIManager:</div>
 
62
<div class="dyncontent">
 
63
<div class="center"><img src="classGtk_1_1UIManager__inherit__graph.png" border="0" usemap="#Gtk_1_1UIManager_inherit__map" alt="Inheritance graph"/></div>
 
64
<map name="Gtk_1_1UIManager_inherit__map" id="Gtk_1_1UIManager_inherit__map">
 
65
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
 
66
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
67
<div class="dynheader">
 
68
Collaboration diagram for Gtk::UIManager:</div>
 
69
<div class="dyncontent">
 
70
<div class="center"><img src="classGtk_1_1UIManager__coll__graph.png" border="0" usemap="#Gtk_1_1UIManager_coll__map" alt="Collaboration graph"/></div>
 
71
<map name="Gtk_1_1UIManager_coll__map" id="Gtk_1_1UIManager_coll__map">
 
72
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
 
73
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
74
 
 
75
<p><a href="classGtk_1_1UIManager-members.html">List of all members.</a></p>
 
76
<table class="memberdecls">
 
77
<tr><td colspan="2"><h2><a name="pub-types"></a>
 
78
Public Types</h2></td></tr>
 
79
<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>
 
80
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
81
Public Member Functions</h2></td></tr>
 
82
<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>
 
83
<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>
 
84
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#adcbc82741d92ed865d1d63eddabb7d99"></a><br/></td></tr>
 
85
<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>
 
86
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aae9a90e30c01a024da550dddd9d86363"></a><br/></td></tr>
 
87
<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>
 
88
<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>
 
89
<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>
 
90
<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>
 
91
<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>
 
92
<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>
 
93
<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>
 
94
<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>
 
95
<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>
 
96
<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>
 
97
<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"/>
 
98
&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>
 
99
<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>
 
100
<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"/>
 
101
&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>
 
102
<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>
 
103
<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>
 
104
<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 to a toplevel Gtk::...">Gtk::AccelGroup</a> associated with <em>self</em>. <a href="#a56f55fb4e8428dbc65c49cf1229775c4"></a><br/></td></tr>
 
105
<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>
 
106
<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 to a toplevel Gtk::...">Gtk::AccelGroup</a> associated with <em>self</em>. <a href="#a42211d42cb736b8f2b5b0d0d20f85e05"></a><br/></td></tr>
 
107
<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>
 
108
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up a widget by following a path. <a href="#a93357a4791e1740610fadb0ba088cbf3"></a><br/></td></tr>
 
109
<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>
 
110
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up a widget by following a path. <a href="#a38de43f04c160b1ddf238da0f0309cc0"></a><br/></td></tr>
 
111
<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>
 
112
<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>
 
113
<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>
 
114
<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>
 
115
<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>
 
116
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up an action by following a path. <a href="#a5486fde7529fd2f6e0cfbea2780e5d32"></a><br/></td></tr>
 
117
<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>
 
118
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up an action by following a path. <a href="#ab4b3f27d94dc1363ec10915cffa7f3a7"></a><br/></td></tr>
 
119
<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>
 
120
<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>
 
121
<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>
 
122
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses a file containing a and merges it with the current contents of <em>self</em>. <a href="#ad1377c506a357a7587d5e2bb5377881c"></a><br/></td></tr>
 
123
<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> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01565.html#ga79d96b6335c46a5a2a7386970a91cd9b">type</a>=Gtk::UI_MANAGER_AUTO, bool top=true)</td></tr>
 
124
<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>
 
125
<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> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01565.html#ga79d96b6335c46a5a2a7386970a91cd9b">type</a>=Gtk::UI_MANAGER_AUTO, bool top=true)</td></tr>
 
126
<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>
 
127
<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>
 
128
<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>
 
129
<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>
 
130
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a of the merged UI. <a href="#ad85b3e2cb26b4535d71a57ac81f61918"></a><br/></td></tr>
 
131
<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>
 
132
<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>
 
133
<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>
 
134
<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>
 
135
<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"/>
 
136
<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>
 
137
<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>
 
138
<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>
 
139
<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>
 
140
<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"/>
 
141
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"/>
 
142
&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>
 
143
<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>
 
144
<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"/>
 
145
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"/>
 
146
&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>
 
147
<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>
 
148
<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"/>
 
149
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>
 
150
<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>
 
151
<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"/>
 
152
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>
 
153
<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>
 
154
<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>
 
155
<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>
 
156
<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"/>
 
157
&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>
 
158
<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>
 
159
<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"/>
 
160
&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>
 
161
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An XML string describing the merged UI. <a href="#aba5843176409db66c211911cce9d6eb8"></a><br/></td></tr>
 
162
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
 
163
Static Public Member Functions</h2></td></tr>
 
164
<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>
 
165
<tr><td colspan="2"><h2><a name="pro-methods"></a>
 
166
Protected Member Functions</h2></td></tr>
 
167
<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>
 
168
<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>
 
169
<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>
 
170
<tr><td colspan="2"><h2><a name="related"></a>
 
171
Related Functions</h2></td></tr>
 
172
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
 
173
<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>
 
174
<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>
 
175
</table>
 
176
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
177
<div class="textblock"><p>Constructing menus and toolbars from an XML description. </p>
 
178
<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>
 
179
<dl class="user"><dt><b>UI Definitions</b></dt><dd></dd></dl>
 
180
<p>The UI definitions are specified in an XML format which can be roughly described by the following DTD. </p>
 
181
<div class="fragment"><pre class="fragment"> &lt;!ELEMENT ui (menubar|toolbar|popup|accelerator)* &gt;
 
182
 &lt;!ELEMENT menubar (menuitem|separator|placeholder|menu)* &gt;
 
183
 &lt;!ELEMENT menu (menuitem|separator|placeholder|menu)* &gt;
 
184
 &lt;!ELEMENT popup (menuitem|separator|placeholder|menu)* &gt;
 
185
 &lt;!ELEMENT toolbar (toolitem|separator|placeholder)* &gt;
 
186
 &lt;!ELEMENT placeholder (menuitem|toolitem|separator|placeholder|menu)* &gt;
 
187
 &lt;!ELEMENT menuitem EMPTY &gt;
 
188
 &lt;!ELEMENT toolitem (menu?) &gt;
 
189
 &lt;!ELEMENT separator EMPTY &gt;
 
190
 &lt;!ELEMENT accelerator EMPTY &gt;
 
191
 &lt;!ATTLIST menubar name #IMPLIED                       action #IMPLIED &gt;
 
192
 &lt;!ATTLIST toolbar name #IMPLIED                       action #IMPLIED &gt;
 
193
 &lt;!ATTLIST popup name #IMPLIED                       action #IMPLIED &gt;
 
194
 &lt;!ATTLIST placeholder name #IMPLIED
 
195
                       action #IMPLIED &gt;
 
196
 &lt;!ATTLIST separator name #IMPLIED
 
197
                       action #IMPLIED
 
198
                       expand (<span class="keyword">true</span>|<span class="keyword">false</span>) <span class="preprocessor">#IMPLIED &gt;</span>
 
199
<span class="preprocessor"></span> &lt;!ATTLIST menu name #IMPLIED
 
200
                       action #REQUIRED
 
201
                       position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
 
202
<span class="preprocessor"></span> &lt;!ATTLIST menuitem name #IMPLIED
 
203
                      action #REQUIRED
 
204
                      position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
 
205
<span class="preprocessor"></span> &lt;!ATTLIST toolitem name #IMPLIED
 
206
                      action #REQUIRED
 
207
                      position (top|bot) <span class="preprocessor">#IMPLIED &gt;</span>
 
208
<span class="preprocessor"></span> &lt;!ATTLIST accelerator name #IMPLIED
 
209
                       action #REQUIRED &gt;
 
210
</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>
 
211
<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>
 
212
<dl class="user"><dt><b>Example: UI Definition</b></dt><dd><div class="fragment"><pre class="fragment"> &lt;ui&gt;
 
213
 &lt;menubar&gt;
 
214
   &lt;menu name=<span class="stringliteral">&quot;FileMenu&quot;</span> action=<span class="stringliteral">&quot;FileMenuAction&quot;</span>&gt;
 
215
     &lt;menuitem name=<span class="stringliteral">&quot;New&quot;</span> action=<span class="stringliteral">&quot;New2Action&quot;</span> /&gt;
 
216
     &lt;placeholder name=<span class="stringliteral">&quot;FileMenuAdditions&quot;</span> /&gt;
 
217
   &lt;/menu&gt;
 
218
   &lt;menu name=<span class="stringliteral">&quot;JustifyMenu&quot;</span> action=<span class="stringliteral">&quot;JustifyMenuAction&quot;</span>&gt;
 
219
     &lt;menuitem name=<span class="stringliteral">&quot;Left&quot;</span> action=<span class="stringliteral">&quot;justify-left&quot;</span>/&gt;
 
220
     &lt;menuitem name=<span class="stringliteral">&quot;Centre&quot;</span> action=<span class="stringliteral">&quot;justify-center&quot;</span>/&gt;
 
221
     &lt;menuitem name=<span class="stringliteral">&quot;Right&quot;</span> action=<span class="stringliteral">&quot;justify-right&quot;</span>/&gt;
 
222
     &lt;menuitem name=<span class="stringliteral">&quot;Fill&quot;</span> action=<span class="stringliteral">&quot;justify-fill&quot;</span>/&gt;
 
223
   &lt;/menu&gt;
 
224
 &lt;/menubar&gt;
 
225
 &lt;toolbar action=<span class="stringliteral">&quot;toolbar1&quot;</span>&gt;
 
226
   &lt;placeholder name=<span class="stringliteral">&quot;JustifyToolItems&quot;</span>&gt;
 
227
     &lt;separator/&gt;
 
228
     &lt;toolitem name=<span class="stringliteral">&quot;Left&quot;</span> action=<span class="stringliteral">&quot;justify-left&quot;</span>/&gt;
 
229
     &lt;toolitem name=<span class="stringliteral">&quot;Centre&quot;</span> action=<span class="stringliteral">&quot;justify-center&quot;</span>/&gt;
 
230
     &lt;toolitem name=<span class="stringliteral">&quot;Right&quot;</span> action=<span class="stringliteral">&quot;justify-right&quot;</span>/&gt;
 
231
     &lt;toolitem name=<span class="stringliteral">&quot;Fill&quot;</span> action=<span class="stringliteral">&quot;justify-fill&quot;</span>/&gt;
 
232
     &lt;separator/&gt;
 
233
   &lt;/placeholder&gt;
 
234
 &lt;/toolbar&gt;
 
235
 &lt;/ui&gt;
 
236
</pre></div></dd></dl>
 
237
<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>
 
238
<ul>
 
239
<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>
 
240
<li>toolbar a <a class="el" href="classGtk_1_1Toolbar.html" title="Bars of buttons and other widgets.">Gtk::Toolbar</a></li>
 
241
<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 by the user...">Gtk::Menu</a></li>
 
242
<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 by the user...">Gtk::Menu</a> attached to a menuitem</li>
 
243
<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>
 
244
<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>
 
245
<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>
 
246
<li>accelerator a keyboard accelerator</li>
 
247
</ul>
 
248
<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>
 
249
<dl class="user"><dt><b>UI Merging</b></dt><dd></dd></dl>
 
250
<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>
 
251
<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>
 
252
<dl class="user"><dt><b>Accelerators</b></dt><dd></dd></dl>
 
253
<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>
 
254
<dl class="user"><dt><b>Smart Separators</b></dt><dd></dd></dl>
 
255
<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>
 
256
<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>
 
257
<dl class="user"><dt><b>Empty Menus</b></dt><dd></dd></dl>
 
258
<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>
 
259
<ul>
 
260
<li>make them disappear by hiding the menu item they're attached to</li>
 
261
<li>add an insensitive "Empty" item</li>
 
262
</ul>
 
263
<p>The behaviour is chosen based on the "hide_if_empty" property of the action to which the submenu is associated.</p>
 
264
<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>
 
265
</div><hr/><h2>Member Typedef Documentation</h2>
 
266
<a class="anchor" id="a0682fad15edb0f4418487e555aa6805d"></a><!-- doxytag: member="Gtk::UIManager::ui_merge_id" ref="a0682fad15edb0f4418487e555aa6805d" args="" -->
 
267
<div class="memitem">
 
268
<div class="memproto">
 
269
      <table class="memname">
 
270
        <tr>
 
271
          <td class="memname">typedef guint <a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">Gtk::UIManager::ui_merge_id</a></td>
 
272
        </tr>
 
273
      </table>
 
274
</div>
 
275
<div class="memdoc">
 
276
 
 
277
</div>
 
278
</div>
 
279
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
280
<a class="anchor" id="a3193cf4841782d2efb3836ad87f2bbb8"></a><!-- doxytag: member="Gtk::UIManager::~UIManager" ref="a3193cf4841782d2efb3836ad87f2bbb8" args="()" -->
 
281
<div class="memitem">
 
282
<div class="memproto">
 
283
      <table class="memname">
 
284
        <tr>
 
285
          <td class="memname">virtual Gtk::UIManager::~UIManager </td>
 
286
          <td>(</td>
 
287
          <td class="paramname"></td><td>)</td>
 
288
          <td><code> [virtual]</code></td>
 
289
        </tr>
 
290
      </table>
 
291
</div>
 
292
<div class="memdoc">
 
293
 
 
294
</div>
 
295
</div>
 
296
<a class="anchor" id="a2e1be63e14b8cd4b5b0dbb1e74757b3f"></a><!-- doxytag: member="Gtk::UIManager::UIManager" ref="a2e1be63e14b8cd4b5b0dbb1e74757b3f" args="()" -->
 
297
<div class="memitem">
 
298
<div class="memproto">
 
299
      <table class="memname">
 
300
        <tr>
 
301
          <td class="memname">Gtk::UIManager::UIManager </td>
 
302
          <td>(</td>
 
303
          <td class="paramname"></td><td>)</td>
 
304
          <td><code> [protected]</code></td>
 
305
        </tr>
 
306
      </table>
 
307
</div>
 
308
<div class="memdoc">
 
309
 
 
310
</div>
 
311
</div>
 
312
<hr/><h2>Member Function Documentation</h2>
 
313
<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)" -->
 
314
<div class="memitem">
 
315
<div class="memproto">
 
316
      <table class="memname">
 
317
        <tr>
 
318
          <td class="memname">void Gtk::UIManager::add_ui </td>
 
319
          <td>(</td>
 
320
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
 
321
          <td class="paramname"><em>merge_id</em>, </td>
 
322
        </tr>
 
323
        <tr>
 
324
          <td class="paramkey"></td>
 
325
          <td></td>
 
326
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
327
          <td class="paramname"><em>path</em>, </td>
 
328
        </tr>
 
329
        <tr>
 
330
          <td class="paramkey"></td>
 
331
          <td></td>
 
332
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
333
          <td class="paramname"><em>name</em>, </td>
 
334
        </tr>
 
335
        <tr>
 
336
          <td class="paramkey"></td>
 
337
          <td></td>
 
338
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
339
          <td class="paramname"><em>action</em>, </td>
 
340
        </tr>
 
341
        <tr>
 
342
          <td class="paramkey"></td>
 
343
          <td></td>
 
344
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
 
345
          <td class="paramname"><em>type</em> = <code>Gtk::UI_MANAGER_AUTO</code>, </td>
 
346
        </tr>
 
347
        <tr>
 
348
          <td class="paramkey"></td>
 
349
          <td></td>
 
350
          <td class="paramtype">bool&#160;</td>
 
351
          <td class="paramname"><em>top</em> = <code>true</code>&#160;</td>
 
352
        </tr>
 
353
        <tr>
 
354
          <td></td>
 
355
          <td>)</td>
 
356
          <td></td><td></td>
 
357
        </tr>
 
358
      </table>
 
359
</div>
 
360
<div class="memdoc">
 
361
 
 
362
<p>Adds a UI element to the current contents of <em>self</em>. </p>
 
363
<p>If <em>type</em> is Gtk::UI_MANAGER_AUTO, 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>
 
364
<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>
 
365
<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>
 
366
<dl><dt><b>Parameters:</b></dt><dd>
 
367
  <table class="params">
 
368
    <tr><td class="paramname">merge_id</td><td>The merge id for the merged UI, see gtk_ui_manager_new_merge_id(). </td></tr>
 
369
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
370
    <tr><td class="paramname">name</td><td>The name for the added UI element. </td></tr>
 
371
    <tr><td class="paramname">action</td><td>The name of the action to be proxied, if this is not a separator. </td></tr>
 
372
    <tr><td class="paramname">type</td><td>The type of UI element to add. </td></tr>
 
373
    <tr><td class="paramname">top</td><td>If <code>true</code>, the UI element is added before its siblings, otherwise it is added after its siblings. </td></tr>
 
374
  </table>
 
375
  </dd>
 
376
</dl>
 
377
 
 
378
</div>
 
379
</div>
 
380
<a class="anchor" id="ad1377c506a357a7587d5e2bb5377881c"></a><!-- doxytag: member="Gtk::UIManager::add_ui_from_file" ref="ad1377c506a357a7587d5e2bb5377881c" args="(const Glib::ustring &amp;filename)" -->
 
381
<div class="memitem">
 
382
<div class="memproto">
 
383
      <table class="memname">
 
384
        <tr>
 
385
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::add_ui_from_file </td>
 
386
          <td>(</td>
 
387
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
388
          <td class="paramname"><em>filename</em></td><td>)</td>
 
389
          <td></td>
 
390
        </tr>
 
391
      </table>
 
392
</div>
 
393
<div class="memdoc">
 
394
 
 
395
<p>Parses a file containing a and merges it with the current contents of <em>self</em>. </p>
 
396
<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>
 
397
<dl><dt><b>Parameters:</b></dt><dd>
 
398
  <table class="params">
 
399
    <tr><td class="paramname">filename</td><td>The name of the file to parse. </td></tr>
 
400
  </table>
 
401
  </dd>
 
402
</dl>
 
403
<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>
 
404
 
 
405
</div>
 
406
</div>
 
407
<a class="anchor" id="a403582b15c37408abaa868692d6a7abd"></a><!-- doxytag: member="Gtk::UIManager::add_ui_from_string" ref="a403582b15c37408abaa868692d6a7abd" args="(const Glib::ustring &amp;buffer)" -->
 
408
<div class="memitem">
 
409
<div class="memproto">
 
410
      <table class="memname">
 
411
        <tr>
 
412
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::add_ui_from_string </td>
 
413
          <td>(</td>
 
414
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
415
          <td class="paramname"><em>buffer</em></td><td>)</td>
 
416
          <td></td>
 
417
        </tr>
 
418
      </table>
 
419
</div>
 
420
<div class="memdoc">
 
421
 
 
422
<p>Parses a string containing a UI definition and merges it with the current contents. </p>
 
423
<p>An enclosing &lt;ui&gt; element is added if it is missing.</p>
 
424
<dl><dt><b>Parameters:</b></dt><dd>
 
425
  <table class="params">
 
426
    <tr><td class="paramname">buffer</td><td>the string to parse </td></tr>
 
427
  </table>
 
428
  </dd>
 
429
</dl>
 
430
<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>
 
431
<dl><dt><b>Exceptions:</b></dt><dd>
 
432
  <table class="exception">
 
433
    <tr><td class="paramname">exception</td><td></td></tr>
 
434
  </table>
 
435
  </dd>
 
436
</dl>
 
437
<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>
 
438
 
 
439
</div>
 
440
</div>
 
441
<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)" -->
 
442
<div class="memitem">
 
443
<div class="memproto">
 
444
      <table class="memname">
 
445
        <tr>
 
446
          <td class="memname">void Gtk::UIManager::add_ui_separator </td>
 
447
          <td>(</td>
 
448
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
 
449
          <td class="paramname"><em>merge_id</em>, </td>
 
450
        </tr>
 
451
        <tr>
 
452
          <td class="paramkey"></td>
 
453
          <td></td>
 
454
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
455
          <td class="paramname"><em>path</em>, </td>
 
456
        </tr>
 
457
        <tr>
 
458
          <td class="paramkey"></td>
 
459
          <td></td>
 
460
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
461
          <td class="paramname"><em>name</em> = <code>&quot;&quot;</code>, </td>
 
462
        </tr>
 
463
        <tr>
 
464
          <td class="paramkey"></td>
 
465
          <td></td>
 
466
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
 
467
          <td class="paramname"><em>type</em> = <code>Gtk::UI_MANAGER_AUTO</code>, </td>
 
468
        </tr>
 
469
        <tr>
 
470
          <td class="paramkey"></td>
 
471
          <td></td>
 
472
          <td class="paramtype">bool&#160;</td>
 
473
          <td class="paramname"><em>top</em> = <code>true</code>&#160;</td>
 
474
        </tr>
 
475
        <tr>
 
476
          <td></td>
 
477
          <td>)</td>
 
478
          <td></td><td></td>
 
479
        </tr>
 
480
      </table>
 
481
</div>
 
482
<div class="memdoc">
 
483
 
 
484
<p>Adds a separator UI element to the current contents. </p>
 
485
<p>If <em>type</em> is Gtk::UI_MANAGER_AUTO, 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>
 
486
<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>
 
487
<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>
 
488
<dl><dt><b>Parameters:</b></dt><dd>
 
489
  <table class="params">
 
490
    <tr><td class="paramname">merge_id</td><td>The merge id for the merged UI, see gtk_ui_manager_new_merge_id(). </td></tr>
 
491
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
492
    <tr><td class="paramname">name</td><td>The name for the added UI element. </td></tr>
 
493
    <tr><td class="paramname">type</td><td>The type of UI element to add. </td></tr>
 
494
    <tr><td class="paramname">top</td><td>If <code>true</code>, the UI element is added before its siblings, otherwise it is added after its siblings. </td></tr>
 
495
  </table>
 
496
  </dd>
 
497
</dl>
 
498
 
 
499
</div>
 
500
</div>
 
501
<a class="anchor" id="af2a1f8d72acc2070660cf6d37dfb37a5"></a><!-- doxytag: member="Gtk::UIManager::create" ref="af2a1f8d72acc2070660cf6d37dfb37a5" args="()" -->
 
502
<div class="memitem">
 
503
<div class="memproto">
 
504
      <table class="memname">
 
505
        <tr>
 
506
          <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>
 
507
          <td>(</td>
 
508
          <td class="paramname"></td><td>)</td>
 
509
          <td><code> [static]</code></td>
 
510
        </tr>
 
511
      </table>
 
512
</div>
 
513
<div class="memdoc">
 
514
 
 
515
</div>
 
516
</div>
 
517
<a class="anchor" id="aa3a3f4e8bdd7488eab875e9bbfd2ae15"></a><!-- doxytag: member="Gtk::UIManager::ensure_update" ref="aa3a3f4e8bdd7488eab875e9bbfd2ae15" args="()" -->
 
518
<div class="memitem">
 
519
<div class="memproto">
 
520
      <table class="memname">
 
521
        <tr>
 
522
          <td class="memname">void Gtk::UIManager::ensure_update </td>
 
523
          <td>(</td>
 
524
          <td class="paramname"></td><td>)</td>
 
525
          <td></td>
 
526
        </tr>
 
527
      </table>
 
528
</div>
 
529
<div class="memdoc">
 
530
 
 
531
<p>Makes sure that all pending updates to the UI have been completed. </p>
 
532
<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>
 
533
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000328">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
 
534
 
 
535
</div>
 
536
</div>
 
537
<a class="anchor" id="a56f55fb4e8428dbc65c49cf1229775c4"></a><!-- doxytag: member="Gtk::UIManager::get_accel_group" ref="a56f55fb4e8428dbc65c49cf1229775c4" args="()" -->
 
538
<div class="memitem">
 
539
<div class="memproto">
 
540
      <table class="memname">
 
541
        <tr>
 
542
          <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>
 
543
          <td>(</td>
 
544
          <td class="paramname"></td><td>)</td>
 
545
          <td></td>
 
546
        </tr>
 
547
      </table>
 
548
</div>
 
549
<div class="memdoc">
 
550
 
 
551
<p>Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> associated with <em>self</em>. </p>
 
552
<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>
 
553
<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 to a toplevel Gtk::...">Gtk::AccelGroup</a>. </dd></dl>
 
554
 
 
555
</div>
 
556
</div>
 
557
<a class="anchor" id="a42211d42cb736b8f2b5b0d0d20f85e05"></a><!-- doxytag: member="Gtk::UIManager::get_accel_group" ref="a42211d42cb736b8f2b5b0d0d20f85e05" args="() const " -->
 
558
<div class="memitem">
 
559
<div class="memproto">
 
560
      <table class="memname">
 
561
        <tr>
 
562
          <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>
 
563
          <td>(</td>
 
564
          <td class="paramname"></td><td>)</td>
 
565
          <td> const</td>
 
566
        </tr>
 
567
      </table>
 
568
</div>
 
569
<div class="memdoc">
 
570
 
 
571
<p>Returns the <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> associated with <em>self</em>. </p>
 
572
<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>
 
573
<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 to a toplevel Gtk::...">Gtk::AccelGroup</a>. </dd></dl>
 
574
 
 
575
</div>
 
576
</div>
 
577
<a class="anchor" id="a5486fde7529fd2f6e0cfbea2780e5d32"></a><!-- doxytag: member="Gtk::UIManager::get_action" ref="a5486fde7529fd2f6e0cfbea2780e5d32" args="(const Glib::ustring &amp;path)" -->
 
578
<div class="memitem">
 
579
<div class="memproto">
 
580
      <table class="memname">
 
581
        <tr>
 
582
          <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>
 
583
          <td>(</td>
 
584
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
585
          <td class="paramname"><em>path</em></td><td>)</td>
 
586
          <td></td>
 
587
        </tr>
 
588
      </table>
 
589
</div>
 
590
<div class="memdoc">
 
591
 
 
592
<p>Looks up an action by following a path. </p>
 
593
<p>See gtk_ui_manager_get_widget() for more information about paths.</p>
 
594
<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>
 
595
<dl><dt><b>Parameters:</b></dt><dd>
 
596
  <table class="params">
 
597
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
598
  </table>
 
599
  </dd>
 
600
</dl>
 
601
<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>
 
602
 
 
603
</div>
 
604
</div>
 
605
<a class="anchor" id="ab4b3f27d94dc1363ec10915cffa7f3a7"></a><!-- doxytag: member="Gtk::UIManager::get_action" ref="ab4b3f27d94dc1363ec10915cffa7f3a7" args="(const Glib::ustring &amp;path) const " -->
 
606
<div class="memitem">
 
607
<div class="memproto">
 
608
      <table class="memname">
 
609
        <tr>
 
610
          <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>
 
611
          <td>(</td>
 
612
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
613
          <td class="paramname"><em>path</em></td><td>)</td>
 
614
          <td> const</td>
 
615
        </tr>
 
616
      </table>
 
617
</div>
 
618
<div class="memdoc">
 
619
 
 
620
<p>Looks up an action by following a path. </p>
 
621
<p>See gtk_ui_manager_get_widget() for more information about paths.</p>
 
622
<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>
 
623
<dl><dt><b>Parameters:</b></dt><dd>
 
624
  <table class="params">
 
625
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
626
  </table>
 
627
  </dd>
 
628
</dl>
 
629
<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>
 
630
 
 
631
</div>
 
632
</div>
 
633
<a class="anchor" id="ab0fcfc16bf3763645b083848d5f5f33b"></a><!-- doxytag: member="Gtk::UIManager::get_action_groups" ref="ab0fcfc16bf3763645b083848d5f5f33b" args="()" -->
 
634
<div class="memitem">
 
635
<div class="memproto">
 
636
      <table class="memname">
 
637
        <tr>
 
638
          <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>
 
639
          <td>(</td>
 
640
          <td class="paramname"></td><td>)</td>
 
641
          <td></td>
 
642
        </tr>
 
643
      </table>
 
644
</div>
 
645
<div class="memdoc">
 
646
 
 
647
<p>Returns the list of action groups associated with <em>self</em>. </p>
 
648
<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>
 
649
<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>
 
650
 
 
651
</div>
 
652
</div>
 
653
<a class="anchor" id="a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4"></a><!-- doxytag: member="Gtk::UIManager::get_action_groups" ref="a6d8e6a1ac268dbbd7fd28d9fbe1c5aa4" args="() const " -->
 
654
<div class="memitem">
 
655
<div class="memproto">
 
656
      <table class="memname">
 
657
        <tr>
 
658
          <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>
 
659
          <td>(</td>
 
660
          <td class="paramname"></td><td>)</td>
 
661
          <td> const</td>
 
662
        </tr>
 
663
      </table>
 
664
</div>
 
665
<div class="memdoc">
 
666
 
 
667
<p>Returns the list of action groups associated with <em>self</em>. </p>
 
668
<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>
 
669
<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>
 
670
 
 
671
</div>
 
672
</div>
 
673
<a class="anchor" id="a199dfed5c1bdae63887ee2bed7c559fd"></a><!-- doxytag: member="Gtk::UIManager::get_add_tearoffs" ref="a199dfed5c1bdae63887ee2bed7c559fd" args="() const " -->
 
674
<div class="memitem">
 
675
<div class="memproto">
 
676
      <table class="memname">
 
677
        <tr>
 
678
          <td class="memname">bool Gtk::UIManager::get_add_tearoffs </td>
 
679
          <td>(</td>
 
680
          <td class="paramname"></td><td>)</td>
 
681
          <td> const</td>
 
682
        </tr>
 
683
      </table>
 
684
</div>
 
685
<div class="memdoc">
 
686
 
 
687
<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>
 
688
<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>
 
689
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether tearoff menu items are added. </dd></dl>
 
690
 
 
691
</div>
 
692
</div>
 
693
<a class="anchor" id="a5e340833b5766122d0901dc98e42bc0b"></a><!-- doxytag: member="Gtk::UIManager::get_toplevels" ref="a5e340833b5766122d0901dc98e42bc0b" args="(UIManagerItemType types) const " -->
 
694
<div class="memitem">
 
695
<div class="memproto">
 
696
      <table class="memname">
 
697
        <tr>
 
698
          <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>
 
699
          <td>(</td>
 
700
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
 
701
          <td class="paramname"><em>types</em></td><td>)</td>
 
702
          <td> const</td>
 
703
        </tr>
 
704
      </table>
 
705
</div>
 
706
<div class="memdoc">
 
707
 
 
708
<p>Obtains a list of all toplevel widgets of the requested types. </p>
 
709
<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>
 
710
<dl><dt><b>Parameters:</b></dt><dd>
 
711
  <table class="params">
 
712
    <tr><td class="paramname">types</td><td>Specifies the types of toplevel widgets to include. Allowed types are Gtk::UI_MANAGER_MENUBAR, Gtk::UI_MANAGER_TOOLBAR and Gtk::UI_MANAGER_POPUP. </td></tr>
 
713
  </table>
 
714
  </dd>
 
715
</dl>
 
716
<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>
 
717
 
 
718
</div>
 
719
</div>
 
720
<a class="anchor" id="aaf34fa7155944190cf80432e7bccbd52"></a><!-- doxytag: member="Gtk::UIManager::get_toplevels" ref="aaf34fa7155944190cf80432e7bccbd52" args="(UIManagerItemType types)" -->
 
721
<div class="memitem">
 
722
<div class="memproto">
 
723
      <table class="memname">
 
724
        <tr>
 
725
          <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>
 
726
          <td>(</td>
 
727
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga91226ea137a67080d9b487225aa41d7b">UIManagerItemType</a>&#160;</td>
 
728
          <td class="paramname"><em>types</em></td><td>)</td>
 
729
          <td></td>
 
730
        </tr>
 
731
      </table>
 
732
</div>
 
733
<div class="memdoc">
 
734
 
 
735
<p>Obtains a list of all toplevel widgets of the requested types. </p>
 
736
<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>
 
737
<dl><dt><b>Parameters:</b></dt><dd>
 
738
  <table class="params">
 
739
    <tr><td class="paramname">types</td><td>Specifies the types of toplevel widgets to include. Allowed types are Gtk::UI_MANAGER_MENUBAR, Gtk::UI_MANAGER_TOOLBAR and Gtk::UI_MANAGER_POPUP. </td></tr>
 
740
  </table>
 
741
  </dd>
 
742
</dl>
 
743
<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>
 
744
 
 
745
</div>
 
746
</div>
 
747
<a class="anchor" id="ad85b3e2cb26b4535d71a57ac81f61918"></a><!-- doxytag: member="Gtk::UIManager::get_ui" ref="ad85b3e2cb26b4535d71a57ac81f61918" args="() const " -->
 
748
<div class="memitem">
 
749
<div class="memproto">
 
750
      <table class="memname">
 
751
        <tr>
 
752
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::UIManager::get_ui </td>
 
753
          <td>(</td>
 
754
          <td class="paramname"></td><td>)</td>
 
755
          <td> const</td>
 
756
        </tr>
 
757
      </table>
 
758
</div>
 
759
<div class="memdoc">
 
760
 
 
761
<p>Creates a of the merged UI. </p>
 
762
<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>
 
763
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly allocated string containing an XML representation of the merged UI. </dd></dl>
 
764
 
 
765
</div>
 
766
</div>
 
767
<a class="anchor" id="a93357a4791e1740610fadb0ba088cbf3"></a><!-- doxytag: member="Gtk::UIManager::get_widget" ref="a93357a4791e1740610fadb0ba088cbf3" args="(const Glib::ustring &amp;path)" -->
 
768
<div class="memitem">
 
769
<div class="memproto">
 
770
      <table class="memname">
 
771
        <tr>
 
772
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::UIManager::get_widget </td>
 
773
          <td>(</td>
 
774
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
775
          <td class="paramname"><em>path</em></td><td>)</td>
 
776
          <td></td>
 
777
        </tr>
 
778
      </table>
 
779
</div>
 
780
<div class="memdoc">
 
781
 
 
782
<p>Looks up a widget by following a path. </p>
 
783
<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>
 
784
<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>
 
785
<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>
 
786
<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>
 
787
<dl><dt><b>Parameters:</b></dt><dd>
 
788
  <table class="params">
 
789
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
790
  </table>
 
791
  </dd>
 
792
</dl>
 
793
<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>
 
794
 
 
795
</div>
 
796
</div>
 
797
<a class="anchor" id="a38de43f04c160b1ddf238da0f0309cc0"></a><!-- doxytag: member="Gtk::UIManager::get_widget" ref="a38de43f04c160b1ddf238da0f0309cc0" args="(const Glib::ustring &amp;path) const " -->
 
798
<div class="memitem">
 
799
<div class="memproto">
 
800
      <table class="memname">
 
801
        <tr>
 
802
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::UIManager::get_widget </td>
 
803
          <td>(</td>
 
804
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
805
          <td class="paramname"><em>path</em></td><td>)</td>
 
806
          <td> const</td>
 
807
        </tr>
 
808
      </table>
 
809
</div>
 
810
<div class="memdoc">
 
811
 
 
812
<p>Looks up a widget by following a path. </p>
 
813
<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>
 
814
<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>
 
815
<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>
 
816
<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>
 
817
<dl><dt><b>Parameters:</b></dt><dd>
 
818
  <table class="params">
 
819
    <tr><td class="paramname">path</td><td>A path. </td></tr>
 
820
  </table>
 
821
  </dd>
 
822
</dl>
 
823
<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>
 
824
 
 
825
</div>
 
826
</div>
 
827
<a class="anchor" id="adcbc82741d92ed865d1d63eddabb7d99"></a><!-- doxytag: member="Gtk::UIManager::gobj" ref="adcbc82741d92ed865d1d63eddabb7d99" args="()" -->
 
828
<div class="memitem">
 
829
<div class="memproto">
 
830
      <table class="memname">
 
831
        <tr>
 
832
          <td class="memname">GtkUIManager* Gtk::UIManager::gobj </td>
 
833
          <td>(</td>
 
834
          <td class="paramname"></td><td>)</td>
 
835
          <td><code> [inline]</code></td>
 
836
        </tr>
 
837
      </table>
 
838
</div>
 
839
<div class="memdoc">
 
840
 
 
841
<p>Provides access to the underlying C GObject. </p>
 
842
 
 
843
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>
 
844
 
 
845
</div>
 
846
</div>
 
847
<a class="anchor" id="aae9a90e30c01a024da550dddd9d86363"></a><!-- doxytag: member="Gtk::UIManager::gobj" ref="aae9a90e30c01a024da550dddd9d86363" args="() const " -->
 
848
<div class="memitem">
 
849
<div class="memproto">
 
850
      <table class="memname">
 
851
        <tr>
 
852
          <td class="memname">const GtkUIManager* Gtk::UIManager::gobj </td>
 
853
          <td>(</td>
 
854
          <td class="paramname"></td><td>)</td>
 
855
          <td> const<code> [inline]</code></td>
 
856
        </tr>
 
857
      </table>
 
858
</div>
 
859
<div class="memdoc">
 
860
 
 
861
<p>Provides access to the underlying C GObject. </p>
 
862
 
 
863
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>
 
864
 
 
865
</div>
 
866
</div>
 
867
<a class="anchor" id="a49c2a2f2d2b9c7db91cfce222c6d9139"></a><!-- doxytag: member="Gtk::UIManager::gobj_copy" ref="a49c2a2f2d2b9c7db91cfce222c6d9139" args="()" -->
 
868
<div class="memitem">
 
869
<div class="memproto">
 
870
      <table class="memname">
 
871
        <tr>
 
872
          <td class="memname">GtkUIManager* Gtk::UIManager::gobj_copy </td>
 
873
          <td>(</td>
 
874
          <td class="paramname"></td><td>)</td>
 
875
          <td></td>
 
876
        </tr>
 
877
      </table>
 
878
</div>
 
879
<div class="memdoc">
 
880
 
 
881
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
 
882
 
 
883
</div>
 
884
</div>
 
885
<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)" -->
 
886
<div class="memitem">
 
887
<div class="memproto">
 
888
      <table class="memname">
 
889
        <tr>
 
890
          <td class="memname">void Gtk::UIManager::insert_action_group </td>
 
891
          <td>(</td>
 
892
          <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>
 
893
          <td class="paramname"><em>action_group</em>, </td>
 
894
        </tr>
 
895
        <tr>
 
896
          <td class="paramkey"></td>
 
897
          <td></td>
 
898
          <td class="paramtype">int&#160;</td>
 
899
          <td class="paramname"><em>pos</em> = <code>0</code>&#160;</td>
 
900
        </tr>
 
901
        <tr>
 
902
          <td></td>
 
903
          <td>)</td>
 
904
          <td></td><td></td>
 
905
        </tr>
 
906
      </table>
 
907
</div>
 
908
<div class="memdoc">
 
909
 
 
910
<p>Inserts an action group into the list of action groups associated with <em>self</em>. </p>
 
911
<p>Actions in earlier groups hide actions with the same name in later groups.</p>
 
912
<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>
 
913
<dl><dt><b>Parameters:</b></dt><dd>
 
914
  <table class="params">
 
915
    <tr><td class="paramname">action_group</td><td>The action group to be inserted. </td></tr>
 
916
    <tr><td class="paramname">pos</td><td>The position at which the group will be inserted. </td></tr>
 
917
  </table>
 
918
  </dd>
 
919
</dl>
 
920
 
 
921
</div>
 
922
</div>
 
923
<a class="anchor" id="ac5cb767d3ba718492972e7f9c5f02fb7"></a><!-- doxytag: member="Gtk::UIManager::new_merge_id" ref="ac5cb767d3ba718492972e7f9c5f02fb7" args="()" -->
 
924
<div class="memitem">
 
925
<div class="memproto">
 
926
      <table class="memname">
 
927
        <tr>
 
928
          <td class="memname"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a> Gtk::UIManager::new_merge_id </td>
 
929
          <td>(</td>
 
930
          <td class="paramname"></td><td>)</td>
 
931
          <td></td>
 
932
        </tr>
 
933
      </table>
 
934
</div>
 
935
<div class="memdoc">
 
936
 
 
937
<p>Returns an unused merge id, suitable for use with gtk_ui_manager_add_ui(). </p>
 
938
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000329">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
 
939
<dl class="return"><dt><b>Returns:</b></dt><dd>An unused merge id. </dd></dl>
 
940
 
 
941
</div>
 
942
</div>
 
943
<a class="anchor" id="a79662f2d8e965519097b791f2af96ce3"></a><!-- doxytag: member="Gtk::UIManager::on_actions_changed" ref="a79662f2d8e965519097b791f2af96ce3" args="()" -->
 
944
<div class="memitem">
 
945
<div class="memproto">
 
946
      <table class="memname">
 
947
        <tr>
 
948
          <td class="memname">virtual void Gtk::UIManager::on_actions_changed </td>
 
949
          <td>(</td>
 
950
          <td class="paramname"></td><td>)</td>
 
951
          <td><code> [protected, virtual]</code></td>
 
952
        </tr>
 
953
      </table>
 
954
</div>
 
955
<div class="memdoc">
 
956
 
 
957
</div>
 
958
</div>
 
959
<a class="anchor" id="a543fc31062484f6f230320f3d6f939e8"></a><!-- doxytag: member="Gtk::UIManager::on_add_widget" ref="a543fc31062484f6f230320f3d6f939e8" args="(Widget *widget)" -->
 
960
<div class="memitem">
 
961
<div class="memproto">
 
962
      <table class="memname">
 
963
        <tr>
 
964
          <td class="memname">virtual void Gtk::UIManager::on_add_widget </td>
 
965
          <td>(</td>
 
966
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td>
 
967
          <td class="paramname"><em>widget</em></td><td>)</td>
 
968
          <td><code> [protected, virtual]</code></td>
 
969
        </tr>
 
970
      </table>
 
971
</div>
 
972
<div class="memdoc">
 
973
 
 
974
</div>
 
975
</div>
 
976
<a class="anchor" id="abaecd90445fa40cf1b7923845d03f70a"></a><!-- doxytag: member="Gtk::UIManager::property_add_tearoffs" ref="abaecd90445fa40cf1b7923845d03f70a" args="()" -->
 
977
<div class="memitem">
 
978
<div class="memproto">
 
979
      <table class="memname">
 
980
        <tr>
 
981
          <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>
 
982
          <td>(</td>
 
983
          <td class="paramname"></td><td>)</td>
 
984
          <td></td>
 
985
        </tr>
 
986
      </table>
 
987
</div>
 
988
<div class="memdoc">
 
989
 
 
990
<p>Whether tearoff menu items should be added to menus. </p>
 
991
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
992
<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>
 
993
 
 
994
</div>
 
995
</div>
 
996
<a class="anchor" id="abac08a288b27cc0f284aedfbc7289d98"></a><!-- doxytag: member="Gtk::UIManager::property_add_tearoffs" ref="abac08a288b27cc0f284aedfbc7289d98" args="() const " -->
 
997
<div class="memitem">
 
998
<div class="memproto">
 
999
      <table class="memname">
 
1000
        <tr>
 
1001
          <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>
 
1002
          <td>(</td>
 
1003
          <td class="paramname"></td><td>)</td>
 
1004
          <td> const</td>
 
1005
        </tr>
 
1006
      </table>
 
1007
</div>
 
1008
<div class="memdoc">
 
1009
 
 
1010
<p>Whether tearoff menu items should be added to menus. </p>
 
1011
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
1012
<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>
 
1013
 
 
1014
</div>
 
1015
</div>
 
1016
<a class="anchor" id="aba5843176409db66c211911cce9d6eb8"></a><!-- doxytag: member="Gtk::UIManager::property_ui" ref="aba5843176409db66c211911cce9d6eb8" args="() const " -->
 
1017
<div class="memitem">
 
1018
<div class="memproto">
 
1019
      <table class="memname">
 
1020
        <tr>
 
1021
          <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>
 
1022
          <td>(</td>
 
1023
          <td class="paramname"></td><td>)</td>
 
1024
          <td> const</td>
 
1025
        </tr>
 
1026
      </table>
 
1027
</div>
 
1028
<div class="memdoc">
 
1029
 
 
1030
<p>An XML string describing the merged UI. </p>
 
1031
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
1032
<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>
 
1033
 
 
1034
</div>
 
1035
</div>
 
1036
<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)" -->
 
1037
<div class="memitem">
 
1038
<div class="memproto">
 
1039
      <table class="memname">
 
1040
        <tr>
 
1041
          <td class="memname">void Gtk::UIManager::remove_action_group </td>
 
1042
          <td>(</td>
 
1043
          <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>
 
1044
          <td class="paramname"><em>action_group</em></td><td>)</td>
 
1045
          <td></td>
 
1046
        </tr>
 
1047
      </table>
 
1048
</div>
 
1049
<div class="memdoc">
 
1050
 
 
1051
<p>Removes an action group from the list of action groups associated with <em>self</em>. </p>
 
1052
<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>
 
1053
<dl><dt><b>Parameters:</b></dt><dd>
 
1054
  <table class="params">
 
1055
    <tr><td class="paramname">action_group</td><td>The action group to be removed. </td></tr>
 
1056
  </table>
 
1057
  </dd>
 
1058
</dl>
 
1059
 
 
1060
</div>
 
1061
</div>
 
1062
<a class="anchor" id="a0611594aa9d4df6febe90dbb9fe2fd21"></a><!-- doxytag: member="Gtk::UIManager::remove_ui" ref="a0611594aa9d4df6febe90dbb9fe2fd21" args="(ui_merge_id merge_id)" -->
 
1063
<div class="memitem">
 
1064
<div class="memproto">
 
1065
      <table class="memname">
 
1066
        <tr>
 
1067
          <td class="memname">void Gtk::UIManager::remove_ui </td>
 
1068
          <td>(</td>
 
1069
          <td class="paramtype"><a class="el" href="classGtk_1_1UIManager.html#a0682fad15edb0f4418487e555aa6805d">ui_merge_id</a>&#160;</td>
 
1070
          <td class="paramname"><em>merge_id</em></td><td>)</td>
 
1071
          <td></td>
 
1072
        </tr>
 
1073
      </table>
 
1074
</div>
 
1075
<div class="memdoc">
 
1076
 
 
1077
<p>Unmerges the part of <em>selfs</em> content identified by <em>merge_id</em>. </p>
 
1078
<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>
 
1079
<dl><dt><b>Parameters:</b></dt><dd>
 
1080
  <table class="params">
 
1081
    <tr><td class="paramname">merge_id</td><td>A merge id as returned by gtk_ui_manager_add_ui_from_string(). </td></tr>
 
1082
  </table>
 
1083
  </dd>
 
1084
</dl>
 
1085
 
 
1086
</div>
 
1087
</div>
 
1088
<a class="anchor" id="aaaa2dd331a1a300e21e8b61b1e9f6c46"></a><!-- doxytag: member="Gtk::UIManager::set_add_tearoffs" ref="aaaa2dd331a1a300e21e8b61b1e9f6c46" args="(bool add_tearoffs=true)" -->
 
1089
<div class="memitem">
 
1090
<div class="memproto">
 
1091
      <table class="memname">
 
1092
        <tr>
 
1093
          <td class="memname">void Gtk::UIManager::set_add_tearoffs </td>
 
1094
          <td>(</td>
 
1095
          <td class="paramtype">bool&#160;</td>
 
1096
          <td class="paramname"><em>add_tearoffs</em> = <code>true</code></td><td>)</td>
 
1097
          <td></td>
 
1098
        </tr>
 
1099
      </table>
 
1100
</div>
 
1101
<div class="memdoc">
 
1102
 
 
1103
<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>
 
1104
<p>Note that this only affects regular menus. Generated popup menus never have tearoff menu items.</p>
 
1105
<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>
 
1106
<dl><dt><b>Parameters:</b></dt><dd>
 
1107
  <table class="params">
 
1108
    <tr><td class="paramname">add_tearoffs</td><td>Whether tearoff menu items are added. </td></tr>
 
1109
  </table>
 
1110
  </dd>
 
1111
</dl>
 
1112
 
 
1113
</div>
 
1114
</div>
 
1115
<a class="anchor" id="ab670a3d562a988c0ed866faaae5e4223"></a><!-- doxytag: member="Gtk::UIManager::signal_actions_changed" ref="ab670a3d562a988c0ed866faaae5e4223" args="()" -->
 
1116
<div class="memitem">
 
1117
<div class="memproto">
 
1118
      <table class="memname">
 
1119
        <tr>
 
1120
          <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>
 
1121
          <td>(</td>
 
1122
          <td class="paramname"></td><td>)</td>
 
1123
          <td></td>
 
1124
        </tr>
 
1125
      </table>
 
1126
</div>
 
1127
<div class="memdoc">
 
1128
 
 
1129
<p>The "actions-changed" signal is emitted whenever the set of actions changes. </p>
 
1130
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_actions_changed()</code> </dd></dl>
 
1131
 
 
1132
</div>
 
1133
</div>
 
1134
<a class="anchor" id="a92f803fbd7048cdfeb94d0b395435292"></a><!-- doxytag: member="Gtk::UIManager::signal_add_widget" ref="a92f803fbd7048cdfeb94d0b395435292" args="()" -->
 
1135
<div class="memitem">
 
1136
<div class="memproto">
 
1137
      <table class="memname">
 
1138
        <tr>
 
1139
          <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>
 
1140
          <td>(</td>
 
1141
          <td class="paramname"></td><td>)</td>
 
1142
          <td></td>
 
1143
        </tr>
 
1144
      </table>
 
1145
</div>
 
1146
<div class="memdoc">
 
1147
 
 
1148
<p>The add_widget signal is emitted for each generated menubar and toolbar. </p>
 
1149
<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>
 
1150
<dl><dt><b>Parameters:</b></dt><dd>
 
1151
  <table class="params">
 
1152
    <tr><td class="paramname">widget</td><td>the added widget</td></tr>
 
1153
  </table>
 
1154
  </dd>
 
1155
</dl>
 
1156
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_add_widget(Widget* widget)</code> </dd></dl>
 
1157
 
 
1158
</div>
 
1159
</div>
 
1160
<a class="anchor" id="a0fd9d67e67983ee5dd914812a7153e95"></a><!-- doxytag: member="Gtk::UIManager::signal_connect_proxy" ref="a0fd9d67e67983ee5dd914812a7153e95" args="()" -->
 
1161
<div class="memitem">
 
1162
<div class="memproto">
 
1163
      <table class="memname">
 
1164
        <tr>
 
1165
          <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>
 
1166
          <td>(</td>
 
1167
          <td class="paramname"></td><td>)</td>
 
1168
          <td></td>
 
1169
        </tr>
 
1170
      </table>
 
1171
</div>
 
1172
<div class="memdoc">
 
1173
 
 
1174
<p>The connect_proxy signal is emitted after connecting a proxy to an action in the group. </p>
 
1175
<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>
 
1176
<dl><dt><b>Parameters:</b></dt><dd>
 
1177
  <table class="params">
 
1178
    <tr><td class="paramname">action</td><td>the action </td></tr>
 
1179
    <tr><td class="paramname">widget</td><td>the proxy</td></tr>
 
1180
  </table>
 
1181
  </dd>
 
1182
</dl>
 
1183
<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>
 
1184
 
 
1185
</div>
 
1186
</div>
 
1187
<a class="anchor" id="aa133acc14dd552ad2df62b21ea7e4ebb"></a><!-- doxytag: member="Gtk::UIManager::signal_disconnect_proxy" ref="aa133acc14dd552ad2df62b21ea7e4ebb" args="()" -->
 
1188
<div class="memitem">
 
1189
<div class="memproto">
 
1190
      <table class="memname">
 
1191
        <tr>
 
1192
          <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>
 
1193
          <td>(</td>
 
1194
          <td class="paramname"></td><td>)</td>
 
1195
          <td></td>
 
1196
        </tr>
 
1197
      </table>
 
1198
</div>
 
1199
<div class="memdoc">
 
1200
 
 
1201
<p>The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. </p>
 
1202
<dl><dt><b>Parameters:</b></dt><dd>
 
1203
  <table class="params">
 
1204
    <tr><td class="paramname">action</td><td>the action </td></tr>
 
1205
    <tr><td class="paramname">widget</td><td>the proxy</td></tr>
 
1206
  </table>
 
1207
  </dd>
 
1208
</dl>
 
1209
<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>
 
1210
 
 
1211
</div>
 
1212
</div>
 
1213
<a class="anchor" id="a0243e755d2a8da7d658000c1b20f221d"></a><!-- doxytag: member="Gtk::UIManager::signal_post_activate" ref="a0243e755d2a8da7d658000c1b20f221d" args="()" -->
 
1214
<div class="memitem">
 
1215
<div class="memproto">
 
1216
      <table class="memname">
 
1217
        <tr>
 
1218
          <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>
 
1219
          <td>(</td>
 
1220
          <td class="paramname"></td><td>)</td>
 
1221
          <td></td>
 
1222
        </tr>
 
1223
      </table>
 
1224
</div>
 
1225
<div class="memdoc">
 
1226
 
 
1227
<p>The post_activate signal is emitted just after the <em>action</em> is activated. </p>
 
1228
<p>This is intended for applications to get notification just after any action is activated.</p>
 
1229
<dl><dt><b>Parameters:</b></dt><dd>
 
1230
  <table class="params">
 
1231
    <tr><td class="paramname">action</td><td>the action</td></tr>
 
1232
  </table>
 
1233
  </dd>
 
1234
</dl>
 
1235
<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>
 
1236
 
 
1237
</div>
 
1238
</div>
 
1239
<a class="anchor" id="a13c399f0521ccc99a09611879038cee9"></a><!-- doxytag: member="Gtk::UIManager::signal_pre_activate" ref="a13c399f0521ccc99a09611879038cee9" args="()" -->
 
1240
<div class="memitem">
 
1241
<div class="memproto">
 
1242
      <table class="memname">
 
1243
        <tr>
 
1244
          <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>
 
1245
          <td>(</td>
 
1246
          <td class="paramname"></td><td>)</td>
 
1247
          <td></td>
 
1248
        </tr>
 
1249
      </table>
 
1250
</div>
 
1251
<div class="memdoc">
 
1252
 
 
1253
<p>The pre_activate signal is emitted just before the <em>action</em> is activated. </p>
 
1254
<p>This is intended for applications to get notification just before any action is activated.</p>
 
1255
<dl><dt><b>Parameters:</b></dt><dd>
 
1256
  <table class="params">
 
1257
    <tr><td class="paramname">action</td><td>the action</td></tr>
 
1258
  </table>
 
1259
  </dd>
 
1260
</dl>
 
1261
<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>
 
1262
 
 
1263
</div>
 
1264
</div>
 
1265
<hr/><h2>Friends And Related Function Documentation</h2>
 
1266
<a class="anchor" id="ad36176bdb92cd8f85fc7c0fcd5868e9a"></a><!-- doxytag: member="Gtk::UIManager::wrap" ref="ad36176bdb92cd8f85fc7c0fcd5868e9a" args="(GtkUIManager *object, bool take_copy=false)" -->
 
1267
<div class="memitem">
 
1268
<div class="memproto">
 
1269
      <table class="memname">
 
1270
        <tr>
 
1271
          <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>
 
1272
          <td>(</td>
 
1273
          <td class="paramtype">GtkUIManager *&#160;</td>
 
1274
          <td class="paramname"><em>object</em>, </td>
 
1275
        </tr>
 
1276
        <tr>
 
1277
          <td class="paramkey"></td>
 
1278
          <td></td>
 
1279
          <td class="paramtype">bool&#160;</td>
 
1280
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
 
1281
        </tr>
 
1282
        <tr>
 
1283
          <td></td>
 
1284
          <td>)</td>
 
1285
          <td></td><td><code> [related]</code></td>
 
1286
        </tr>
 
1287
      </table>
 
1288
</div>
 
1289
<div class="memdoc">
 
1290
 
 
1291
<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
 
1292
<dl><dt><b>Parameters:</b></dt><dd>
 
1293
  <table class="params">
 
1294
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
 
1295
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
 
1296
  </table>
 
1297
  </dd>
 
1298
</dl>
 
1299
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
 
1300
 
 
1301
</div>
 
1302
</div>
 
1303
<hr/>The documentation for this class was generated from the following file:<ul>
 
1304
<li>gtkmm/uimanager.h</li>
 
1305
</ul>
 
1306
</div>
 
1307
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:48 for gtkmm by&#160;
 
1308
<a href="http://www.doxygen.org/index.html">
 
1309
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
1310
</body>
 
1311
</html>