~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_1TearoffMenuItem.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::TearoffMenuItem 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_1TearoffMenuItem.html">TearoffMenuItem</a> </li>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#pub-methods">Public Member Functions</a> &#124;
 
50
<a href="#related">Related Functions</a> </div>
 
51
  <div class="headertitle">
 
52
<h1>Gtk::TearoffMenuItem Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a> &#124; <a class="el" href="group__Menus.html">Menu classes</a></div></h1> </div>
 
53
</div>
 
54
<div class="contents">
 
55
<!-- doxytag: class="Gtk::TearoffMenuItem" --><!-- doxytag: inherits="Gtk::MenuItem" -->
 
56
<p>A special <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> which is used to tear off and reattach its menu. <a href="#_details">More...</a></p>
 
57
<div class="dynheader">
 
58
Inheritance diagram for Gtk::TearoffMenuItem:</div>
 
59
<div class="dyncontent">
 
60
<div class="center"><img src="classGtk_1_1TearoffMenuItem__inherit__graph.png" border="0" usemap="#Gtk_1_1TearoffMenuItem_inherit__map" alt="Inheritance graph"/></div>
 
61
<map name="Gtk_1_1TearoffMenuItem_inherit__map" id="Gtk_1_1TearoffMenuItem_inherit__map">
 
62
<area shape="rect" id="node2" href="classGtk_1_1MenuItem.html" title="Child item for menus." alt="" coords="75,646,184,677"/><area shape="rect" id="node4" href="classGtk_1_1Item.html" title="This class should be considered as a virtual base class." alt="" coords="91,566,168,597"/><area shape="rect" id="node6" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="95,486,164,517"/><area shape="rect" id="node8" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="76,406,183,437"/><area shape="rect" id="node10" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="84,326,175,357"/><area shape="rect" id="node12" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="21,246,109,277"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node16" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node18" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/><area shape="rect" id="node20" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="133,246,256,277"/></map>
 
63
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
64
<div class="dynheader">
 
65
Collaboration diagram for Gtk::TearoffMenuItem:</div>
 
66
<div class="dyncontent">
 
67
<div class="center"><img src="classGtk_1_1TearoffMenuItem__coll__graph.png" border="0" usemap="#Gtk_1_1TearoffMenuItem_coll__map" alt="Collaboration graph"/></div>
 
68
<map name="Gtk_1_1TearoffMenuItem_coll__map" id="Gtk_1_1TearoffMenuItem_coll__map">
 
69
<area shape="rect" id="node2" href="classGtk_1_1MenuItem.html" title="Child item for menus." alt="" coords="173,699,283,730"/><area shape="rect" id="node4" href="classGtk_1_1Item.html" title="This class should be considered as a virtual base class." alt="" coords="123,601,200,631"/><area shape="rect" id="node6" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="127,502,196,533"/><area shape="rect" id="node8" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="108,419,215,450"/><area shape="rect" id="node10" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="116,337,207,367"/><area shape="rect" id="node12" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="21,254,109,285"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,171,111,202"/><area shape="rect" id="node16" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,89,125,119"/><area shape="rect" id="node18" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/><area shape="rect" id="node20" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="133,254,256,285"/><area shape="rect" id="node22" href="classGtk_1_1AccelKey.html" title="Defines accelerator key combinations." alt="" coords="224,601,331,631"/><area shape="rect" id="node24" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html" title="Glib::ustring" alt="" coords="232,502,323,533"/></map>
 
70
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
71
 
 
72
<p><a href="classGtk_1_1TearoffMenuItem-members.html">List of all members.</a></p>
 
73
<table class="memberdecls">
 
74
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
75
Public Member Functions</h2></td></tr>
 
76
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#aa193ac31c506f46c34ea6917076fed16">~TearoffMenuItem</a> ()</td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top">GtkTearoffMenuItem*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#a1a6a4a8e3edf692daf0a41d608f37e18">gobj</a> ()</td></tr>
 
78
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a1a6a4a8e3edf692daf0a41d608f37e18"></a><br/></td></tr>
 
79
<tr><td class="memItemLeft" align="right" valign="top">const GtkTearoffMenuItem*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#a5186f69334727dfefd6344e1a21aa145">gobj</a> () const </td></tr>
 
80
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a5186f69334727dfefd6344e1a21aa145"></a><br/></td></tr>
 
81
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#abe0e00badae8147cdba18c42a4a767b3">TearoffMenuItem</a> ()</td></tr>
 
82
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#aa459bb3df8f5b4504f27b61c76450620">is_torn_off</a> () const </td></tr>
 
83
<tr><td colspan="2"><h2><a name="related"></a>
 
84
Related Functions</h2></td></tr>
 
85
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
 
86
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TearoffMenuItem.html">Gtk::TearoffMenuItem</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1TearoffMenuItem.html#a7de5b977b3824793a756fbf1646a1a31">wrap</a> (GtkTearoffMenuItem* object, bool take_copy=false)</td></tr>
 
87
<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="#a7de5b977b3824793a756fbf1646a1a31"></a><br/></td></tr>
 
88
</table>
 
89
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
90
<div class="textblock"><p>A special <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">Gtk::MenuItem</a> which is used to tear off and reattach its menu. </p>
 
91
<p>When its menu is shown normally, the <a class="el" href="classGtk_1_1TearoffMenuItem.html" title="A special Gtk::MenuItem which is used to tear off and reattach its menu.">Gtk::TearoffMenuItem</a> is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window. When its menu is shown as a tearoff menu, the <a class="el" href="classGtk_1_1TearoffMenuItem.html" title="A special Gtk::MenuItem which is used to tear off and reattach its menu.">Gtk::TearoffMenuItem</a> is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window. </p>
 
92
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
93
<a class="anchor" id="aa193ac31c506f46c34ea6917076fed16"></a><!-- doxytag: member="Gtk::TearoffMenuItem::~TearoffMenuItem" ref="aa193ac31c506f46c34ea6917076fed16" args="()" -->
 
94
<div class="memitem">
 
95
<div class="memproto">
 
96
      <table class="memname">
 
97
        <tr>
 
98
          <td class="memname">virtual Gtk::TearoffMenuItem::~TearoffMenuItem </td>
 
99
          <td>(</td>
 
100
          <td class="paramname"></td><td>)</td>
 
101
          <td><code> [virtual]</code></td>
 
102
        </tr>
 
103
      </table>
 
104
</div>
 
105
<div class="memdoc">
 
106
 
 
107
</div>
 
108
</div>
 
109
<a class="anchor" id="abe0e00badae8147cdba18c42a4a767b3"></a><!-- doxytag: member="Gtk::TearoffMenuItem::TearoffMenuItem" ref="abe0e00badae8147cdba18c42a4a767b3" args="()" -->
 
110
<div class="memitem">
 
111
<div class="memproto">
 
112
      <table class="memname">
 
113
        <tr>
 
114
          <td class="memname">Gtk::TearoffMenuItem::TearoffMenuItem </td>
 
115
          <td>(</td>
 
116
          <td class="paramname"></td><td>)</td>
 
117
          <td></td>
 
118
        </tr>
 
119
      </table>
 
120
</div>
 
121
<div class="memdoc">
 
122
 
 
123
</div>
 
124
</div>
 
125
<hr/><h2>Member Function Documentation</h2>
 
126
<a class="anchor" id="a1a6a4a8e3edf692daf0a41d608f37e18"></a><!-- doxytag: member="Gtk::TearoffMenuItem::gobj" ref="a1a6a4a8e3edf692daf0a41d608f37e18" args="()" -->
 
127
<div class="memitem">
 
128
<div class="memproto">
 
129
      <table class="memname">
 
130
        <tr>
 
131
          <td class="memname">GtkTearoffMenuItem* Gtk::TearoffMenuItem::gobj </td>
 
132
          <td>(</td>
 
133
          <td class="paramname"></td><td>)</td>
 
134
          <td><code> [inline]</code></td>
 
135
        </tr>
 
136
      </table>
 
137
</div>
 
138
<div class="memdoc">
 
139
 
 
140
<p>Provides access to the underlying C GtkObject. </p>
 
141
 
 
142
<p>Reimplemented from <a class="el" href="classGtk_1_1MenuItem.html#aa83fe08a8b6c5e36a7c464c5f2faf946">Gtk::MenuItem</a>.</p>
 
143
 
 
144
</div>
 
145
</div>
 
146
<a class="anchor" id="a5186f69334727dfefd6344e1a21aa145"></a><!-- doxytag: member="Gtk::TearoffMenuItem::gobj" ref="a5186f69334727dfefd6344e1a21aa145" args="() const " -->
 
147
<div class="memitem">
 
148
<div class="memproto">
 
149
      <table class="memname">
 
150
        <tr>
 
151
          <td class="memname">const GtkTearoffMenuItem* Gtk::TearoffMenuItem::gobj </td>
 
152
          <td>(</td>
 
153
          <td class="paramname"></td><td>)</td>
 
154
          <td> const<code> [inline]</code></td>
 
155
        </tr>
 
156
      </table>
 
157
</div>
 
158
<div class="memdoc">
 
159
 
 
160
<p>Provides access to the underlying C GtkObject. </p>
 
161
 
 
162
<p>Reimplemented from <a class="el" href="classGtk_1_1MenuItem.html#a0a65458b00dcc51d4c70402aa3fb0d75">Gtk::MenuItem</a>.</p>
 
163
 
 
164
</div>
 
165
</div>
 
166
<a class="anchor" id="aa459bb3df8f5b4504f27b61c76450620"></a><!-- doxytag: member="Gtk::TearoffMenuItem::is_torn_off" ref="aa459bb3df8f5b4504f27b61c76450620" args="() const " -->
 
167
<div class="memitem">
 
168
<div class="memproto">
 
169
      <table class="memname">
 
170
        <tr>
 
171
          <td class="memname">bool Gtk::TearoffMenuItem::is_torn_off </td>
 
172
          <td>(</td>
 
173
          <td class="paramname"></td><td>)</td>
 
174
          <td> const</td>
 
175
        </tr>
 
176
      </table>
 
177
</div>
 
178
<div class="memdoc">
 
179
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000100">Deprecated:</a></b></dt><dd>This method was apparently not useful and will be removed in a later gtkmm version, due to changes in GTK+.</dd></dl>
 
180
 
 
181
</div>
 
182
</div>
 
183
<hr/><h2>Friends And Related Function Documentation</h2>
 
184
<a class="anchor" id="a7de5b977b3824793a756fbf1646a1a31"></a><!-- doxytag: member="Gtk::TearoffMenuItem::wrap" ref="a7de5b977b3824793a756fbf1646a1a31" args="(GtkTearoffMenuItem *object, bool take_copy=false)" -->
 
185
<div class="memitem">
 
186
<div class="memproto">
 
187
      <table class="memname">
 
188
        <tr>
 
189
          <td class="memname"><a class="el" href="classGtk_1_1TearoffMenuItem.html">Gtk::TearoffMenuItem</a>* wrap </td>
 
190
          <td>(</td>
 
191
          <td class="paramtype">GtkTearoffMenuItem *&#160;</td>
 
192
          <td class="paramname"><em>object</em>, </td>
 
193
        </tr>
 
194
        <tr>
 
195
          <td class="paramkey"></td>
 
196
          <td></td>
 
197
          <td class="paramtype">bool&#160;</td>
 
198
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
 
199
        </tr>
 
200
        <tr>
 
201
          <td></td>
 
202
          <td>)</td>
 
203
          <td></td><td><code> [related]</code></td>
 
204
        </tr>
 
205
      </table>
 
206
</div>
 
207
<div class="memdoc">
 
208
 
 
209
<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
 
210
<dl><dt><b>Parameters:</b></dt><dd>
 
211
  <table class="params">
 
212
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
 
213
    <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>
 
214
  </table>
 
215
  </dd>
 
216
</dl>
 
217
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
 
218
 
 
219
</div>
 
220
</div>
 
221
<hr/>The documentation for this class was generated from the following file:<ul>
 
222
<li>gtkmm/tearoffmenuitem.h</li>
 
223
</ul>
 
224
</div>
 
225
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:47 for gtkmm by&#160;
 
226
<a href="http://www.doxygen.org/index.html">
 
227
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
228
</body>
 
229
</html>