File: classGtk_1_1Menu__Helpers_1_1CheckMenuElem.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (158 lines) | stat: -rw-r--r-- 12,698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::Menu_Helpers::CheckMenuElem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="namespaceGtk_1_1Menu__Helpers.html">Menu_Helpers</a>::<a class="el" href="classGtk_1_1Menu__Helpers_1_1CheckMenuElem.html">CheckMenuElem</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Menu_Helpers::CheckMenuElem Class Reference</h1><!-- doxytag: class="Gtk::Menu_Helpers::CheckMenuElem" --><!-- doxytag: inherits="Gtk::Menu_Helpers::Element" -->
<p>Inherits <a class="el" href="classGtk_1_1Menu__Helpers_1_1Element.html">Gtk::Menu_Helpers::Element</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Menu_Helpers::CheckMenuElem:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Menu__Helpers_1_1CheckMenuElem__coll__graph.png" border="0" usemap="#Gtk_1_1Menu__Helpers_1_1CheckMenuElem_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Menu__Helpers_1_1CheckMenuElem_coll__map" id="Gtk_1_1Menu__Helpers_1_1CheckMenuElem_coll__map">
<area shape="rect" href="classGtk_1_1Menu__Helpers_1_1Element.html" title="Gtk::Menu_Helpers::Element" alt="" coords="31,197,220,227"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; MenuItem \&gt;" alt="" coords="40,101,211,131"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; T_CppObject \&gt;" alt="" coords="31,5,220,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Menu__Helpers_1_1CheckMenuElem-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1CheckMenuElem.html#ae0e6f2f351cc0c52f1026b6d1e86725c">CheckMenuElem</a> (<a class="el" href="classGtk_1_1CheckMenuItem.html">CheckMenuItem</a>&amp; child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1CheckMenuElem.html#ab66920efbf32e7fe07d6ed4b9a40fcf8">CheckMenuElem</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>&amp; slot=<a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>. <a href="#ab66920efbf32e7fe07d6ed4b9a40fcf8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Menu__Helpers_1_1CheckMenuElem.html#a5e34c729cb0b8041dbf1a1d5e3c5225b">CheckMenuElem</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>&amp; key, const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>&amp; slot=<a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a labeled, accelerated <a class="el" href="classGtk_1_1CheckMenuItem.html" title="A menu item that maintains the state of a boolean value in addition to a Gtk::MenuItem&#39;s...">CheckMenuItem</a> with a <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>. <a href="#a5e34c729cb0b8041dbf1a1d5e3c5225b"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae0e6f2f351cc0c52f1026b6d1e86725c"></a><!-- doxytag: member="Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem" ref="ae0e6f2f351cc0c52f1026b6d1e86725c" args="(CheckMenuItem &amp;child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1CheckMenuItem.html">CheckMenuItem</a>&amp;&#160;</td>
          <td class="paramname"> <em>child</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab66920efbf32e7fe07d6ed4b9a40fcf8"></a><!-- doxytag: member="Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem" ref="ab66920efbf32e7fe07d6ed4b9a40fcf8" args="(const Glib::ustring &amp;label, const CallSlot &amp;slot=CallSlot())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em> = <code><a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>()</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a labeled, non-accelerated <a class="el" href="classGtk_1_1MenuItem.html" title="Child item for menus.">MenuItem</a> with a <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The menu item's name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>Use <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602">sigc::mem_fun()</a> to specify a signal handler </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5e34c729cb0b8041dbf1a1d5e3c5225b"></a><!-- doxytag: member="Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem" ref="a5e34c729cb0b8041dbf1a1d5e3c5225b" args="(const Glib::ustring &amp;label, const AccelKey &amp;key, const CallSlot &amp;slot=CallSlot())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Menu_Helpers::CheckMenuElem::CheckMenuElem </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1AccelKey.html">AccelKey</a>&amp;&#160;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a> &amp;&#160;</td>
          <td class="paramname"> <em>slot</em> = <code><a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">CallSlot</a>()</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a labeled, accelerated <a class="el" href="classGtk_1_1CheckMenuItem.html" title="A menu item that maintains the state of a boolean value in addition to a Gtk::MenuItem&#39;s...">CheckMenuItem</a> with a <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The menu item's name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&#160;</td><td>The accelerator key combination </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&#160;</td><td>Use <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602">sigc::mem_fun()</a> to specify a signal handler </td></tr>
  </table>
  </dd>
</dl>

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