Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 7aa0b3689999b2d0524276a8f3c2a10a > files > 212

glibmm2.4-doc-2.42.0-3.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>glibmm: Gio::MenuItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">glibmm
   &#160;<span id="projectnumber">2.42.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <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>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGio.html">Gio</a></li><li class="navelem"><a class="el" href="classGio_1_1MenuItem.html">MenuItem</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGio_1_1MenuItem-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gio::MenuItem Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A menu item for use with <a class="el" href="classGio_1_1Menu.html" title="A simple implementation of MenuModel. ">Gio::Menu</a>.  
 <a href="classGio_1_1MenuItem.html#details">More...</a></p>

<p><code>#include &lt;giomm/menuitem.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gio::MenuItem:</div>
<div class="dyncontent">
<div class="center"><img src="classGio_1_1MenuItem__inherit__graph.png" border="0" usemap="#Gio_1_1MenuItem_inherit__map" alt="Inheritance graph"/></div>
<map name="Gio_1_1MenuItem_inherit__map" id="Gio_1_1MenuItem_inherit__map">
<area shape="rect" id="node2" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces. " alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afc66ae20e28e88d32a80542b88fed042"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#afc66ae20e28e88d32a80542b88fed042">~MenuItem</a> ()</td></tr>
<tr class="separator:afc66ae20e28e88d32a80542b88fed042"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12ca5edb28f3bf7516bfb45236db02d1"><td class="memItemLeft" align="right" valign="top">GMenuItem*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a12ca5edb28f3bf7516bfb45236db02d1">gobj</a> ()</td></tr>
<tr class="memdesc:a12ca5edb28f3bf7516bfb45236db02d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a12ca5edb28f3bf7516bfb45236db02d1">More...</a><br /></td></tr>
<tr class="separator:a12ca5edb28f3bf7516bfb45236db02d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d3e65e7ffadf5b7e19edc4b6894f08"><td class="memItemLeft" align="right" valign="top">const GMenuItem*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a73d3e65e7ffadf5b7e19edc4b6894f08">gobj</a> () const </td></tr>
<tr class="memdesc:a73d3e65e7ffadf5b7e19edc4b6894f08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a73d3e65e7ffadf5b7e19edc4b6894f08">More...</a><br /></td></tr>
<tr class="separator:a73d3e65e7ffadf5b7e19edc4b6894f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b214d265df9ef9a8452327fe79bae43"><td class="memItemLeft" align="right" valign="top">GMenuItem*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a6b214d265df9ef9a8452327fe79bae43">gobj_copy</a> ()</td></tr>
<tr class="memdesc:a6b214d265df9ef9a8452327fe79bae43"><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="#a6b214d265df9ef9a8452327fe79bae43">More...</a><br /></td></tr>
<tr class="separator:a6b214d265df9ef9a8452327fe79bae43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad911d89dbb48ac90f18e14faba2f3be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#aad911d89dbb48ac90f18e14faba2f3be">set_attribute_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp; value)</td></tr>
<tr class="memdesc:aad911d89dbb48ac90f18e14faba2f3be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets an attribute on <em>menu_item</em>.  <a href="#aad911d89dbb48ac90f18e14faba2f3be">More...</a><br /></td></tr>
<tr class="separator:aad911d89dbb48ac90f18e14faba2f3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5af6c5ee37b8ef1218587434ae3cf1b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a5af6c5ee37b8ef1218587434ae3cf1b6">set_attribute</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp; value)</td></tr>
<tr class="memdesc:a5af6c5ee37b8ef1218587434ae3cf1b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets an attribute on <em>menu_item</em>.  <a href="#a5af6c5ee37b8ef1218587434ae3cf1b6">More...</a><br /></td></tr>
<tr class="separator:a5af6c5ee37b8ef1218587434ae3cf1b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8625449f52402411f9d7391340ae606d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a8625449f52402411f9d7391340ae606d">get_link</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; link)</td></tr>
<tr class="memdesc:a8625449f52402411f9d7391340ae606d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the named <em>link</em> on <em>menu_item</em>.  <a href="#a8625449f52402411f9d7391340ae606d">More...</a><br /></td></tr>
<tr class="separator:a8625449f52402411f9d7391340ae606d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac96eb91687ba0d706b145493b942589a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#ac96eb91687ba0d706b145493b942589a">get_link</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; link) const </td></tr>
<tr class="memdesc:ac96eb91687ba0d706b145493b942589a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the named <em>link</em> on <em>menu_item</em>.  <a href="#ac96eb91687ba0d706b145493b942589a">More...</a><br /></td></tr>
<tr class="separator:ac96eb91687ba0d706b145493b942589a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac02ded419000a186cfd376d65f9267"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#aaac02ded419000a186cfd376d65f9267">set_link</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; link, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; model)</td></tr>
<tr class="memdesc:aaac02ded419000a186cfd376d65f9267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a link from <em>menu_item</em> to <em>model</em> if non-<code>0</code>, or unsets it.  <a href="#aaac02ded419000a186cfd376d65f9267">More...</a><br /></td></tr>
<tr class="separator:aaac02ded419000a186cfd376d65f9267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92948a899a3ceab9bb8008b37128e63d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a92948a899a3ceab9bb8008b37128e63d">set_label</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; label)</td></tr>
<tr class="memdesc:a92948a899a3ceab9bb8008b37128e63d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets the "label" attribute of <em>menu_item</em>.  <a href="#a92948a899a3ceab9bb8008b37128e63d">More...</a><br /></td></tr>
<tr class="separator:a92948a899a3ceab9bb8008b37128e63d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3562d8a32bf6610e462bcbdafed5263"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#ac3562d8a32bf6610e462bcbdafed5263">set_submenu</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; submenu)</td></tr>
<tr class="memdesc:ac3562d8a32bf6610e462bcbdafed5263"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets the "submenu" link of <em>menu_item</em> to <em>submenu</em>.  <a href="#ac3562d8a32bf6610e462bcbdafed5263">More...</a><br /></td></tr>
<tr class="separator:ac3562d8a32bf6610e462bcbdafed5263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2361bda22895d8028023e51c6ddc9113"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a2361bda22895d8028023e51c6ddc9113">set_section</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; section)</td></tr>
<tr class="memdesc:a2361bda22895d8028023e51c6ddc9113"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets the "section" link of <em>menu_item</em> to <em>section</em>.  <a href="#a2361bda22895d8028023e51c6ddc9113">More...</a><br /></td></tr>
<tr class="separator:a2361bda22895d8028023e51c6ddc9113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af01863c67e840d6963e07638f4e3866b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#af01863c67e840d6963e07638f4e3866b">get_attribute</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute, const <a class="el" href="classGlib_1_1VariantType.html">Glib::VariantType</a>&amp; expected_type) const </td></tr>
<tr class="memdesc:af01863c67e840d6963e07638f4e3866b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the named <em>attribute</em> on <em>menu_item</em>.  <a href="#af01863c67e840d6963e07638f4e3866b">More...</a><br /></td></tr>
<tr class="separator:af01863c67e840d6963e07638f4e3866b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a942abb60268302bceed2e5d6feface73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a942abb60268302bceed2e5d6feface73">get_attribute</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute) const </td></tr>
<tr class="memdesc:a942abb60268302bceed2e5d6feface73"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classGio_1_1MenuItem.html#af01863c67e840d6963e07638f4e3866b" title="Queries the named attribute on menu_item. ">get_attribute()</a> convenience overload.  <a href="#a942abb60268302bceed2e5d6feface73">More...</a><br /></td></tr>
<tr class="separator:a942abb60268302bceed2e5d6feface73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9b0fd72c7577f705a5d2fb1dfe5b7f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#aa9b0fd72c7577f705a5d2fb1dfe5b7f3">get_attribute_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute, const <a class="el" href="classGlib_1_1VariantType.html">Glib::VariantType</a>&amp; expected_type) const </td></tr>
<tr class="memdesc:aa9b0fd72c7577f705a5d2fb1dfe5b7f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the named <em>attribute</em> on <em>menu_item</em>.  <a href="#aa9b0fd72c7577f705a5d2fb1dfe5b7f3">More...</a><br /></td></tr>
<tr class="separator:aa9b0fd72c7577f705a5d2fb1dfe5b7f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefdb35498934c4a330f8118c6a429257"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#aefdb35498934c4a330f8118c6a429257">get_attribute_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; attribute) const </td></tr>
<tr class="memdesc:aefdb35498934c4a330f8118c6a429257"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classGio_1_1MenuItem.html#aa9b0fd72c7577f705a5d2fb1dfe5b7f3" title="Queries the named attribute on menu_item. ">get_attribute_value()</a> convenience overload.  <a href="#aefdb35498934c4a330f8118c6a429257">More...</a><br /></td></tr>
<tr class="separator:aefdb35498934c4a330f8118c6a429257"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa16d26522f85c676522dd8b3c0c7f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a2aa16d26522f85c676522dd8b3c0c7f7">set_action_and_target</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; action)</td></tr>
<tr class="memdesc:a2aa16d26522f85c676522dd8b3c0c7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets the target for the specified <em>action</em>.  <a href="#a2aa16d26522f85c676522dd8b3c0c7f7">More...</a><br /></td></tr>
<tr class="separator:a2aa16d26522f85c676522dd8b3c0c7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53f0a4dead4877377565f4cc7f2d76f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a53f0a4dead4877377565f4cc7f2d76f9">set_action</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; action)</td></tr>
<tr class="memdesc:a53f0a4dead4877377565f4cc7f2d76f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the action for the menu item.  <a href="#a53f0a4dead4877377565f4cc7f2d76f9">More...</a><br /></td></tr>
<tr class="separator:a53f0a4dead4877377565f4cc7f2d76f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1094d0c94f886bd37c4ca631c50e2c6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a1094d0c94f886bd37c4ca631c50e2c6c">unset_target</a> ()</td></tr>
<tr class="memdesc:a1094d0c94f886bd37c4ca631c50e2c6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets the target for the menu item.  <a href="#a1094d0c94f886bd37c4ca631c50e2c6c">More...</a><br /></td></tr>
<tr class="separator:a1094d0c94f886bd37c4ca631c50e2c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46de41b649a31272dc2b13fd69e96e5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a46de41b649a31272dc2b13fd69e96e5c">unset_action_and_target</a> ()</td></tr>
<tr class="memdesc:a46de41b649a31272dc2b13fd69e96e5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets the action and target for the menu item.  <a href="#a46de41b649a31272dc2b13fd69e96e5c">More...</a><br /></td></tr>
<tr class="separator:a46de41b649a31272dc2b13fd69e96e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f7175f1e5c5f132516956911f11fc0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a2f7175f1e5c5f132516956911f11fc0f">set_action_and_target</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; action, const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp; target_value)</td></tr>
<tr class="memdesc:a2f7175f1e5c5f132516956911f11fc0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets the "action" and "target" attributes of <em>menu_item</em>.  <a href="#a2f7175f1e5c5f132516956911f11fc0f">More...</a><br /></td></tr>
<tr class="separator:a2f7175f1e5c5f132516956911f11fc0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae799faf2fb9fde82359468c1edef33d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#ae799faf2fb9fde82359468c1edef33d3">set_detailed_action</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; detailed_action)</td></tr>
<tr class="memdesc:ae799faf2fb9fde82359468c1edef33d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the "action" and possibly the "target" attribute of <em>menu_item</em>.  <a href="#ae799faf2fb9fde82359468c1edef33d3">More...</a><br /></td></tr>
<tr class="separator:ae799faf2fb9fde82359468c1edef33d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f3dd7fa08452e06e53751ad5947537"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#af6f3dd7fa08452e06e53751ad5947537">set_icon</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Icon.html">Icon</a> &gt;&amp; icon)</td></tr>
<tr class="memdesc:af6f3dd7fa08452e06e53751ad5947537"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets (or unsets) the icon on <em>menu_item</em>.  <a href="#af6f3dd7fa08452e06e53751ad5947537">More...</a><br /></td></tr>
<tr class="separator:af6f3dd7fa08452e06e53751ad5947537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1228a7693f6cd414b8beab4fe50c62c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#ae1228a7693f6cd414b8beab4fe50c62c">unset_icon</a> ()</td></tr>
<tr class="memdesc:ae1228a7693f6cd414b8beab4fe50c62c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unset the icon on the menu item.  <a href="#ae1228a7693f6cd414b8beab4fe50c62c">More...</a><br /></td></tr>
<tr class="separator:ae1228a7693f6cd414b8beab4fe50c62c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGlib_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1Object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGlib_1_1Object.html">Glib::Object</a></td></tr>
<tr class="memitem:a0e6581bcbcc6197cca07df24bb91c492 inherit pub_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a0e6581bcbcc6197cca07df24bb91c492">get_data</a> (const <a class="el" href="classGlib_1_1QueryQuark.html">QueryQuark</a>&amp; key)</td></tr>
<tr class="separator:a0e6581bcbcc6197cca07df24bb91c492 inherit pub_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff7a375a862f3f899daaa99710122fa inherit pub_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#afff7a375a862f3f899daaa99710122fa">set_data</a> (const <a class="el" href="classGlib_1_1Quark.html">Quark</a>&amp; key, void* data)</td></tr>
<tr class="separator:afff7a375a862f3f899daaa99710122fa inherit pub_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1febe3bae2dd71756e98e523cd33c1b4 inherit pub_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a1febe3bae2dd71756e98e523cd33c1b4">set_data</a> (const <a class="el" href="classGlib_1_1Quark.html">Quark</a>&amp; key, void* data, <a class="el" href="classGlib_1_1Object.html#a1d8d9f3c19b59eda96c40beca8d520e0">DestroyNotify</a> notify)</td></tr>
<tr class="separator:a1febe3bae2dd71756e98e523cd33c1b4 inherit pub_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aada5b50844bda7ee02bed0ae2a715c00 inherit pub_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#aada5b50844bda7ee02bed0ae2a715c00">remove_data</a> (const <a class="el" href="classGlib_1_1QueryQuark.html">QueryQuark</a>&amp; quark)</td></tr>
<tr class="separator:aada5b50844bda7ee02bed0ae2a715c00 inherit pub_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab454f71bd74403b0cc46d3cbbedd6b0e inherit pub_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#ab454f71bd74403b0cc46d3cbbedd6b0e">steal_data</a> (const <a class="el" href="classGlib_1_1QueryQuark.html">QueryQuark</a>&amp; quark)</td></tr>
<tr class="separator:ab454f71bd74403b0cc46d3cbbedd6b0e inherit pub_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGlib_1_1ObjectBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1ObjectBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGlib_1_1ObjectBase.html">Glib::ObjectBase</a></td></tr>
<tr class="memitem:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#aab599d3eec4b4a9ddc95ccdc6100053d">set_property_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, const <a class="el" href="classGlib_1_1ValueBase.html">Glib::ValueBase</a>&amp; value)</td></tr>
<tr class="memdesc:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead.  <a href="#aab599d3eec4b4a9ddc95ccdc6100053d">More...</a><br /></td></tr>
<tr class="separator:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a5e30750441b92f0246c9d4ece95fc8a0">get_property_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, <a class="el" href="classGlib_1_1ValueBase.html">Glib::ValueBase</a>&amp; value) const </td></tr>
<tr class="memdesc:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead.  <a href="#a5e30750441b92f0246c9d4ece95fc8a0">More...</a><br /></td></tr>
<tr class="separator:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplParams" colspan="2">template&lt;class PropertyType &gt; </td></tr>
<tr class="memitem:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#ad37844f7ea2c0091a22d011e04c48820">set_property</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, const PropertyType&amp; value)</td></tr>
<tr class="memdesc:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead.  <a href="#ad37844f7ea2c0091a22d011e04c48820">More...</a><br /></td></tr>
<tr class="separator:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplParams" colspan="2">template&lt;class PropertyType &gt; </td></tr>
<tr class="memitem:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a5f894c9c36ad391fdc85552af67a8530">get_property</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, PropertyType&amp; value) const </td></tr>
<tr class="memdesc:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead.  <a href="#a5f894c9c36ad391fdc85552af67a8530">More...</a><br /></td></tr>
<tr class="separator:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#adc6c1e8f094275114d6e2c3ef3a33f98">connect_property_changed</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, const <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt;&amp; slot)</td></tr>
<tr class="memdesc:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You can use the signal_changed() signal of the property proxy instead, but this is necessary when using the reduced API.  <a href="#adc6c1e8f094275114d6e2c3ef3a33f98">More...</a><br /></td></tr>
<tr class="separator:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1connection.html">sigc::connection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a896d7773c00bd2dcd310c861282ee8d1">connect_property_changed_with_return</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name, const <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt;&amp; slot)</td></tr>
<tr class="memdesc:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">You can use the signal_changed() signal of the property proxy instead, but this is necessary when using the reduced API.  <a href="#a896d7773c00bd2dcd310c861282ee8d1">More...</a><br /></td></tr>
<tr class="separator:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a6e9e13b75f116c20212d318204ce8ea3">freeze_notify</a> ()</td></tr>
<tr class="memdesc:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increases the freeze count on object.  <a href="#a6e9e13b75f116c20212d318204ce8ea3">More...</a><br /></td></tr>
<tr class="separator:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a1bd8ea7bd8c4084ade6b3c27dddf06a4">thaw_notify</a> ()</td></tr>
<tr class="memdesc:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reverts the effect of a previous call to <a class="el" href="classGlib_1_1ObjectBase.html#a6e9e13b75f116c20212d318204ce8ea3" title="Increases the freeze count on object. ">freeze_notify()</a>.  <a href="#a1bd8ea7bd8c4084ade6b3c27dddf06a4">More...</a><br /></td></tr>
<tr class="separator:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a896a8a5db20043ea82956e3ef4b9c4ae">reference</a> () const </td></tr>
<tr class="memdesc:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increment the reference count for this object.  <a href="#a896a8a5db20043ea82956e3ef4b9c4ae">More...</a><br /></td></tr>
<tr class="separator:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3234b8ffb2a35b927e2978c8f3bfbfe3">unreference</a> () const </td></tr>
<tr class="memdesc:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrement the reference count for this object.  <a href="#a3234b8ffb2a35b927e2978c8f3bfbfe3">More...</a><br /></td></tr>
<tr class="separator:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">GObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">gobj</a> ()</td></tr>
<tr class="memdesc:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a4c6efc18be8cb9c56e58fc0bd20fafbe">More...</a><br /></td></tr>
<tr class="separator:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">const GObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">gobj</a> () const </td></tr>
<tr class="memdesc:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a778a94181132976bbfb0519793f3b32e">More...</a><br /></td></tr>
<tr class="separator:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">GObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a9b2a5eb93102f1849e5419016e22a15f">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">Give a ref-ed copy to someone. Use for direct struct access.  <a href="#a9b2a5eb93102f1849e5419016e22a15f">More...</a><br /></td></tr>
<tr class="separator:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac1d7557f96575ef4fcdc1ced749ae81e"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#ac1d7557f96575ef4fcdc1ced749ae81e">get_type</a> ()</td></tr>
<tr class="memdesc:ac1d7557f96575ef4fcdc1ced749ae81e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#ac1d7557f96575ef4fcdc1ced749ae81e">More...</a><br /></td></tr>
<tr class="separator:ac1d7557f96575ef4fcdc1ced749ae81e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98b148e8ff40b4937a0494e671fad42a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuItem.html">MenuItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a98b148e8ff40b4937a0494e671fad42a">create</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; detailed_action)</td></tr>
<tr class="separator:a98b148e8ff40b4937a0494e671fad42a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c47463cc423e29c91f38e4c8d84fa88"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuItem.html">MenuItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a0c47463cc423e29c91f38e4c8d84fa88">create</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; submenu)</td></tr>
<tr class="separator:a0c47463cc423e29c91f38e4c8d84fa88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08361e9a4036be549c802454aa9c656c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuItem.html">MenuItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a08361e9a4036be549c802454aa9c656c">create</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; submenu)</td></tr>
<tr class="memdesc:a08361e9a4036be549c802454aa9c656c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classGio_1_1MenuItem.html#a98b148e8ff40b4937a0494e671fad42a">create()</a> convenience overload.  <a href="#a08361e9a4036be549c802454aa9c656c">More...</a><br /></td></tr>
<tr class="separator:a08361e9a4036be549c802454aa9c656c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7811f82a7c5b2483c37667ef4517b7de"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a7811f82a7c5b2483c37667ef4517b7de">MenuItem</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>(), const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; detailed_action=<a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr class="memdesc:a7811f82a7c5b2483c37667ef4517b7de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a>.  <a href="#a7811f82a7c5b2483c37667ef4517b7de">More...</a><br /></td></tr>
<tr class="separator:a7811f82a7c5b2483c37667ef4517b7de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a066cca32dbb3b49f985cdba0aba93ca6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a066cca32dbb3b49f985cdba0aba93ca6">MenuItem</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; submenu)</td></tr>
<tr class="memdesc:a066cca32dbb3b49f985cdba0aba93ca6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a> representing a submenu.  <a href="#a066cca32dbb3b49f985cdba0aba93ca6">More...</a><br /></td></tr>
<tr class="separator:a066cca32dbb3b49f985cdba0aba93ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10620c7394969858d88bd5611e5cc9a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a10620c7394969858d88bd5611e5cc9a8">MenuItem</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp; submenu)</td></tr>
<tr class="memdesc:a10620c7394969858d88bd5611e5cc9a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a> representing a submenu.  <a href="#a10620c7394969858d88bd5611e5cc9a8">More...</a><br /></td></tr>
<tr class="separator:a10620c7394969858d88bd5611e5cc9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classGlib_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGlib_1_1Object')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGlib_1_1Object.html">Glib::Object</a></td></tr>
<tr class="memitem:ad43f7c5ad0336e1eb3af622392a112eb inherit pro_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#ad43f7c5ad0336e1eb3af622392a112eb">Object</a> ()</td></tr>
<tr class="separator:ad43f7c5ad0336e1eb3af622392a112eb inherit pro_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d72588496bd7ac03f72420021fb94a5 inherit pro_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a6d72588496bd7ac03f72420021fb94a5">Object</a> (const Glib::ConstructParams&amp; construct_params)</td></tr>
<tr class="separator:a6d72588496bd7ac03f72420021fb94a5 inherit pro_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f490eeaeb71db673c36799a0f729be5 inherit pro_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a6f490eeaeb71db673c36799a0f729be5">Object</a> (GObject* castitem)</td></tr>
<tr class="separator:a6f490eeaeb71db673c36799a0f729be5 inherit pro_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae4319439a3a03d8f803fb5a27f12df inherit pro_methods_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a5ae4319439a3a03d8f803fb5a27f12df">~Object</a> ()</td></tr>
<tr class="separator:a5ae4319439a3a03d8f803fb5a27f12df inherit pro_methods_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classGlib_1_1ObjectBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGlib_1_1ObjectBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGlib_1_1ObjectBase.html">Glib::ObjectBase</a></td></tr>
<tr class="memitem:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a27d3451d9ca28d6a2f00838d7c56d545">ObjectBase</a> ()</td></tr>
<tr class="memdesc:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">This default constructor is called implicitly from the constructor of user-derived classes, even if, for instance, Gtk::Button calls a different <a class="el" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces. ">ObjectBase</a> constructor.  <a href="#a27d3451d9ca28d6a2f00838d7c56d545">More...</a><br /></td></tr>
<tr class="separator:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#ad4ef18214894c6874579313ab21d1018">ObjectBase</a> (const char* custom_type_name)</td></tr>
<tr class="memdesc:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">A derived constructor always overrides this choice.  <a href="#ad4ef18214894c6874579313ab21d1018">More...</a><br /></td></tr>
<tr class="separator:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3d59b4d85b0ee72a727e6b2e1b31a2ff">ObjectBase</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00947.html">std::type_info</a>&amp; custom_type_info)</td></tr>
<tr class="memdesc:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft">&#160;</td><td class="mdescRight">This constructor is a special feature to allow creation of derived types on the fly, without having to use g_object_new() manually.  <a href="#a3d59b4d85b0ee72a727e6b2e1b31a2ff">More...</a><br /></td></tr>
<tr class="separator:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42ac047a06c36c2d9c75f7cffc537dc4 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a42ac047a06c36c2d9c75f7cffc537dc4">~ObjectBase</a> ()=0</td></tr>
<tr class="separator:a42ac047a06c36c2d9c75f7cffc537dc4 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3faafb14c4f0ca60fbf0f5f5c4d549d0 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3faafb14c4f0ca60fbf0f5f5c4d549d0">initialize</a> (GObject* castitem)</td></tr>
<tr class="separator:a3faafb14c4f0ca60fbf0f5f5c4d549d0 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a923b0dcf6c58eef630f81fd8f6d9046b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuItem.html">Gio::MenuItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MenuItem.html#a923b0dcf6c58eef630f81fd8f6d9046b">wrap</a> (GMenuItem* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a923b0dcf6c58eef630f81fd8f6d9046b"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a923b0dcf6c58eef630f81fd8f6d9046b">More...</a><br /></td></tr>
<tr class="separator:a923b0dcf6c58eef630f81fd8f6d9046b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header related_classGlib_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('related_classGlib_1_1Object')"><img src="closed.png" alt="-"/>&#160;Related Functions inherited from <a class="el" href="classGlib_1_1Object.html">Glib::Object</a></td></tr>
<tr class="memitem:ae4dea9a8dc611d6e4400a5b6a3cb4e7f inherit related_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#ae4dea9a8dc611d6e4400a5b6a3cb4e7f">wrap</a> (GObject* object, bool take_copy=false)</td></tr>
<tr class="separator:ae4dea9a8dc611d6e4400a5b6a3cb4e7f inherit related_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classGlib_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classGlib_1_1Object')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classGlib_1_1Object.html">Glib::Object</a></td></tr>
<tr class="memitem:a1d8d9f3c19b59eda96c40beca8d520e0 inherit pub_types_classGlib_1_1Object"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Object.html#a1d8d9f3c19b59eda96c40beca8d520e0">DestroyNotify</a> )(gpointer data)</td></tr>
<tr class="separator:a1d8d9f3c19b59eda96c40beca8d520e0 inherit pub_types_classGlib_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A menu item for use with <a class="el" href="classGio_1_1Menu.html" title="A simple implementation of MenuModel. ">Gio::Menu</a>. </p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000069">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afc66ae20e28e88d32a80542b88fed042"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gio::MenuItem::~MenuItem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7811f82a7c5b2483c37667ef4517b7de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gio::MenuItem::MenuItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>label</em> = <code><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>detailed_action</em> = <code><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a>. </p>
<p>If <em>label</em> is not empty it is used to set the "label" attribute of the new item.</p>
<p>If <em>detailed_action</em> is not empty it is used to set the "action" and possibly the "target" attribute of the new item. See <a class="el" href="classGio_1_1MenuItem.html#ae799faf2fb9fde82359468c1edef33d3" title="Sets the &quot;action&quot; and possibly the &quot;target&quot; attribute of menu_item. ">set_detailed_action()</a> for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">label</td><td>The section label. </td></tr>
    <tr><td class="paramname">detailed_action</td><td>The detailed action string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a066cca32dbb3b49f985cdba0aba93ca6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gio::MenuItem::MenuItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="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="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>submenu</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a> representing a submenu. </p>
<p>This is a convenience API around the MenuItem(label, detailed_action) constructor and <a class="el" href="classGio_1_1MenuItem.html#ac3562d8a32bf6610e462bcbdafed5263" title="Sets or unsets the &quot;submenu&quot; link of menu_item to submenu. ">set_submenu()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">label</td><td>The section label. </td></tr>
    <tr><td class="paramname">submenu</td><td>A <a class="el" href="classGio_1_1MenuModel.html" title="MenuModel - An abstract class representing the contents of a menu. ">MenuModel</a> with the items of the submenu. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a10620c7394969858d88bd5611e5cc9a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gio::MenuItem::MenuItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>submenu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGio_1_1MenuItem.html" title="A menu item for use with Gio::Menu. ">MenuItem</a> representing a submenu. </p>
<p>This is a convenience API around the MenuItem(label, detailed_action) constructor and <a class="el" href="classGio_1_1MenuItem.html#ac3562d8a32bf6610e462bcbdafed5263" title="Sets or unsets the &quot;submenu&quot; link of menu_item to submenu. ">set_submenu()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">submenu</td><td>A <a class="el" href="classGio_1_1MenuModel.html" title="MenuModel - An abstract class representing the contents of a menu. ">MenuModel</a> with the items of the submenu. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a98b148e8ff40b4937a0494e671fad42a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1MenuItem.html">MenuItem</a>&gt; Gio::MenuItem::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="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="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>detailed_action</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0c47463cc423e29c91f38e4c8d84fa88"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1MenuItem.html">MenuItem</a>&gt; Gio::MenuItem::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="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="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>submenu</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a08361e9a4036be549c802454aa9c656c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1MenuItem.html">MenuItem</a>&gt; Gio::MenuItem::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>submenu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="el" href="classGio_1_1MenuItem.html#a98b148e8ff40b4937a0494e671fad42a">create()</a> convenience overload. </p>

</div>
</div>
<a class="anchor" id="af01863c67e840d6963e07638f4e3866b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a> Gio::MenuItem::get_attribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">Glib::VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>expected_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the named <em>attribute</em> on <em>menu_item</em>. </p>
<p>If <em>expected_type</em> is specified and the attribute does not have this type, <code>0</code> is returned. <code>0</code> is also returned if the attribute simply does not exist.</p>
<dl class="since_2_34"><dt><b><a class="el" href="since_2_34.html#_since_2_34000053">Since glibmm 2.34:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000049">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGio_1_1MenuItem.html#aa9b0fd72c7577f705a5d2fb1dfe5b7f3" title="Queries the named attribute on menu_item. ">get_attribute_value()</a> instead.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>The attribute name to query. </td></tr>
    <tr><td class="paramname">expected_type</td><td>The expected type of the attribute. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The attribute value, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a942abb60268302bceed2e5d6feface73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a> Gio::MenuItem::get_attribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A <a class="el" href="classGio_1_1MenuItem.html#af01863c67e840d6963e07638f4e3866b" title="Queries the named attribute on menu_item. ">get_attribute()</a> convenience overload. </p>

</div>
</div>
<a class="anchor" id="aa9b0fd72c7577f705a5d2fb1dfe5b7f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a> Gio::MenuItem::get_attribute_value </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantType.html">Glib::VariantType</a>&amp;&#160;</td>
          <td class="paramname"><em>expected_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the named <em>attribute</em> on <em>menu_item</em>. </p>
<p>If <em>expected_type</em> is specified and the attribute does not have this type, <code>0</code> is returned. <code>0</code> is also returned if the attribute simply does not exist.</p>
<dl class="since_2_34"><dt><b><a class="el" href="since_2_34.html#_since_2_34000054">Since glibmm 2.34:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>The attribute name to query. </td></tr>
    <tr><td class="paramname">expected_type</td><td>The expected type of the attribute. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The attribute value, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="aefdb35498934c4a330f8118c6a429257"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a> Gio::MenuItem::get_attribute_value </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A <a class="el" href="classGio_1_1MenuItem.html#aa9b0fd72c7577f705a5d2fb1dfe5b7f3" title="Queries the named attribute on menu_item. ">get_attribute_value()</a> convenience overload. </p>

</div>
</div>
<a class="anchor" id="a8625449f52402411f9d7391340ae606d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1MenuModel.html">MenuModel</a>&gt; Gio::MenuItem::get_link </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the named <em>link</em> on <em>menu_item</em>. </p>
<dl class="since_2_34"><dt><b><a class="el" href="since_2_34.html#_since_2_34000051">Since glibmm 2.34:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td>The link name to query. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The link, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac96eb91687ba0d706b145493b942589a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a>&gt; Gio::MenuItem::get_link </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the named <em>link</em> on <em>menu_item</em>. </p>
<dl class="since_2_34"><dt><b><a class="el" href="since_2_34.html#_since_2_34000052">Since glibmm 2.34:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td>The link name to query. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The link, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac1d7557f96575ef4fcdc1ced749ae81e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gio::MenuItem::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a12ca5edb28f3bf7516bfb45236db02d1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GMenuItem* Gio::MenuItem::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a73d3e65e7ffadf5b7e19edc4b6894f08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GMenuItem* Gio::MenuItem::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a6b214d265df9ef9a8452327fe79bae43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GMenuItem* Gio::MenuItem::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a53f0a4dead4877377565f4cc7f2d76f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the action for the menu item. </p>
<p>See <a class="el" href="classGio_1_1MenuItem.html#a2aa16d26522f85c676522dd8b3c0c7f7" title="Unsets the target for the specified action. ">set_action_and_target()</a>.</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000021">Since glibmm 2.38:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2aa16d26522f85c676522dd8b3c0c7f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_action_and_target </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unsets the target for the specified <em>action</em>. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000050">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGio_1_1MenuItem.html#a53f0a4dead4877377565f4cc7f2d76f9" title="Sets the action for the menu item. ">set_action()</a> or <a class="el" href="classGio_1_1MenuItem.html#a1094d0c94f886bd37c4ca631c50e2c6c" title="Unsets the target for the menu item. ">unset_target()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f7175f1e5c5f132516956911f11fc0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_action_and_target </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp;&#160;</td>
          <td class="paramname"><em>target_value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets the "action" and "target" attributes of <em>menu_item</em>. </p>
<p>If <em>action</em> is <code>0</code> then both the "action" and "target" attributes are unset (and <em>target_value</em> is ignored).</p>
<p>If <em>action</em> is non-<code>0</code> then the "action" attribute is set. The "target" attribute is then set to the value of <em>target_value</em> if it is non-<code>0</code> or unset otherwise.</p>
<p>Normal menu items (ie: not submenu, section or other custom item types) are expected to have the "action" attribute set to identify the action that they are associated with. The state type of the action help to determine the disposition of the menu item. See <a class="el" href="classGio_1_1Action.html" title="Action - An action. ">Action</a> and <a class="el" href="classGio_1_1ActionGroup.html" title="ActionGroup - a group of actions. ">ActionGroup</a> for an overview of actions.</p>
<p>In general, clicking on the menu item will result in activation of the named action with the "target" attribute given as the parameter to the action invocation. If the "target" attribute is not set then the action is invoked with no parameter.</p>
<p>If the action has no state then the menu item is usually drawn as a plain menu item (ie: with no additional decoration).</p>
<p>If the action has a boolean state then the menu item is usually drawn as a toggle menu item (ie: with a checkmark or equivalent indication). The item should be marked as 'toggled' or 'checked' when the boolean state is <code>true</code>.</p>
<p>If the action has a string state then the menu item is usually drawn as a radio menu item (ie: with a radio bullet or equivalent indication). The item should be marked as 'selected' when the string state is equal to the value of the <em>target</em> property.</p>
<p>See g_menu_item_set_action_and_target() or g_menu_item_set_detailed_action() for two equivalent calls that are probably more convenient for most uses.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000076">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The name of the action for this item. </td></tr>
    <tr><td class="paramname">target_value</td><td>A Variant to use as the action target. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5af6c5ee37b8ef1218587434ae3cf1b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_attribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets an attribute on <em>menu_item</em>. </p>
<p>The attribute to set or unset is specified by <em>attribute</em>. This can be one of the standard attribute names MENU_ATTRIBUTE_LABEL, MENU_ATTRIBUTE_ACTION, MENU_ATTRIBUTE_TARGET, or a custom attribute name. Attribute names are restricted to lowercase characters, numbers and '-'. Furthermore, the names must begin with a lowercase character, must not end with a '-', and must not contain consecutive dashes.</p>
<p>must consist only of lowercase ASCII characters, digits and '-'.</p>
<p>If <em>value</em> is non-<code>0</code> then it is used as the new value for the attribute. If <em>value</em> is <code>0</code> then the attribute is unset. If the <em>value</em> Variant is floating, it is consumed.</p>
<p>See also g_menu_item_set_attribute() for a more convenient way to do the same.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000071">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000048">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGio_1_1MenuItem.html#a5af6c5ee37b8ef1218587434ae3cf1b6" title="Sets or unsets an attribute on menu_item. ">set_attribute()</a> instead.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>The attribute to set. </td></tr>
    <tr><td class="paramname">value</td><td>A Variant to use as the value, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aad911d89dbb48ac90f18e14faba2f3be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_attribute_value </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1VariantBase.html">Glib::VariantBase</a>&amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets an attribute on <em>menu_item</em>. </p>
<p>The attribute to set or unset is specified by <em>attribute</em>. This can be one of the standard attribute names MENU_ATTRIBUTE_LABEL, MENU_ATTRIBUTE_ACTION, MENU_ATTRIBUTE_TARGET, or a custom attribute name. Attribute names are restricted to lowercase characters, numbers and '-'. Furthermore, the names must begin with a lowercase character, must not end with a '-', and must not contain consecutive dashes.</p>
<p>must consist only of lowercase ASCII characters, digits and '-'.</p>
<p>If <em>value</em> is non-<code>0</code> then it is used as the new value for the attribute. If <em>value</em> is <code>0</code> then the attribute is unset. If the <em>value</em> Variant is floating, it is consumed.</p>
<p>See also g_menu_item_set_attribute() for a more convenient way to do the same.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000070">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>The attribute to set. </td></tr>
    <tr><td class="paramname">value</td><td>A Variant to use as the value, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae799faf2fb9fde82359468c1edef33d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_detailed_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>detailed_action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the "action" and possibly the "target" attribute of <em>menu_item</em>. </p>
<p>The format of <em>detailed_action</em> is the same format parsed by g_action_parse_detailed_name().</p>
<p>See g_menu_item_set_action_and_target() or g_menu_item_set_action_and_target_value() for more flexible (but slightly less convenient) alternatives.</p>
<p>See also g_menu_item_set_action_and_target_value() for a description of the semantics of the action and target attributes.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000077">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">detailed_action</td><td>The "detailed" action string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af6f3dd7fa08452e06e53751ad5947537"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_icon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1Icon.html">Icon</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>icon</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets (or unsets) the icon on <em>menu_item</em>. </p>
<p>This call is the same as calling g_icon_serialize() and using the result as the value to g_menu_item_set_attribute_value() for MENU_ATTRIBUTE_ICON.</p>
<p>This API is only intended for use with "noun" menu items; things like bookmarks or applications in an "Open With" menu. Don't use it on menu items corresponding to verbs (eg: stock icons for 'Save' or 'Quit').</p>
<p>If <em>icon</em> is <code>0</code> then the icon is unset.</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000024">Since glibmm 2.38:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">icon</td><td>A <a class="el" href="classGio_1_1Icon.html" title="This is a very minimal interface for icons. ">Icon</a>, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a92948a899a3ceab9bb8008b37128e63d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_label </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>label</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets the "label" attribute of <em>menu_item</em>. </p>
<p>If <em>label</em> is non-<code>0</code> it is used as the label for the menu item. If it is <code>0</code> then the label attribute is unset.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000073">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">label</td><td>The label to set, or <code>0</code> to unset. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaac02ded419000a186cfd376d65f9267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_link </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>link</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>model</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a link from <em>menu_item</em> to <em>model</em> if non-<code>0</code>, or unsets it. </p>
<p>Links are used to establish a relationship between a particular menu item and another menu. For example, MENU_LINK_SUBMENU is used to associate a submenu with a particular menu item, and MENU_LINK_SECTION is used to create a section. Other types of link can be used, but there is no guarantee that clients will be able to make sense of them. Link types are restricted to lowercase characters, numbers and '-'. Furthermore, the names must begin with a lowercase character, must not end with a '-', and must not contain consecutive dashes.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000072">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td>Type of link to establish or unset. </td></tr>
    <tr><td class="paramname">model</td><td>The <a class="el" href="classGio_1_1MenuModel.html" title="MenuModel - An abstract class representing the contents of a menu. ">MenuModel</a> to link to (or <code>0</code> to unset). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2361bda22895d8028023e51c6ddc9113"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_section </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>section</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets the "section" link of <em>menu_item</em> to <em>section</em>. </p>
<p>The effect of having one menu appear as a section of another is exactly as it sounds: the items from <em>section</em> become a direct part of the menu that <em>menu_item</em> is added to. See g_menu_item_new_section() for more information about what it means for a menu item to be a section.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000075">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">section</td><td>A <a class="el" href="classGio_1_1MenuModel.html" title="MenuModel - An abstract class representing the contents of a menu. ">MenuModel</a>, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac3562d8a32bf6610e462bcbdafed5263"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::set_submenu </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuModel.html">MenuModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>submenu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets or unsets the "submenu" link of <em>menu_item</em> to <em>submenu</em>. </p>
<p>If <em>submenu</em> is non-<code>0</code>, it is linked to. If it is <code>0</code> then the link is unset.</p>
<p>The effect of having one menu appear as a submenu of another is exactly as it sounds.</p>
<dl class="since_2_32"><dt><b><a class="el" href="since_2_32.html#_since_2_32000074">Since glibmm 2.32:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">submenu</td><td>A <a class="el" href="classGio_1_1MenuModel.html" title="MenuModel - An abstract class representing the contents of a menu. ">MenuModel</a>, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a46de41b649a31272dc2b13fd69e96e5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::unset_action_and_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unsets the action and target for the menu item. </p>
<p>See <a class="el" href="classGio_1_1MenuItem.html#a2aa16d26522f85c676522dd8b3c0c7f7" title="Unsets the target for the specified action. ">set_action_and_target()</a>.</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000023">Since glibmm 2.38:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ae1228a7693f6cd414b8beab4fe50c62c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::unset_icon </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unset the icon on the menu item. </p>
<p>See <a class="el" href="classGio_1_1MenuItem.html#af6f3dd7fa08452e06e53751ad5947537" title="Sets (or unsets) the icon on menu_item. ">set_icon()</a>.</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000025">Since glibmm 2.38:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1094d0c94f886bd37c4ca631c50e2c6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::MenuItem::unset_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unsets the target for the menu item. </p>
<p>See <a class="el" href="classGio_1_1MenuItem.html#a2aa16d26522f85c676522dd8b3c0c7f7" title="Unsets the target for the specified action. ">set_action_and_target()</a>.</p>
<dl class="since_2_38"><dt><b><a class="el" href="since_2_38.html#_since_2_38000022">Since glibmm 2.38:</a></b></dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a923b0dcf6c58eef630f81fd8f6d9046b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGio_1_1MenuItem.html">Gio::MenuItem</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GMenuItem *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Sep 22 2014 21:38:31 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>