Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > fe6e02720319b05688a94261a5d8b124 > files > 514

gtkmm2.4-doc-2.24.4-2.mga4.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"/>
<title>gtkmm: Gtk::MenuBar Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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>
    </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="namespaceGtk.html">Gtk</a> </li>
      <li class="navelem"><a class="el" href="classGtk_1_1MenuBar.html">MenuBar</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::MenuBar Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a> &#124; <a class="el" href="group__Menus.html">Menu classes</a></div></h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::MenuBar" --><!-- doxytag: inherits="Gtk::MenuShell" -->
<p>A standard menu bar which usually holds <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated by the user...">Gtk::Menu</a> submenu items. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::MenuBar:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1MenuBar__inherit__graph.png" border="0" usemap="#Gtk_1_1MenuBar_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1MenuBar_inherit__map" id="Gtk_1_1MenuBar_inherit__map">
<area shape="rect" id="node2" href="classGtk_1_1MenuShell.html" title="The abstract base class for Gtk::Menu and Gtk::MenuBar." alt="" coords="77,469,195,499"/><area shape="rect" id="node4" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node6" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node8" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node14" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node16" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::MenuBar:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1MenuBar__coll__graph.png" border="0" usemap="#Gtk_1_1MenuBar_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1MenuBar_coll__map" id="Gtk_1_1MenuBar_coll__map">
<area shape="rect" id="node2" href="classGtk_1_1MenuShell.html" title="The abstract base class for Gtk::Menu and Gtk::MenuBar." alt="" coords="2799,89,2916,119"/><area shape="rect" id="node4" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="900,43,1015,72"/><area shape="rect" id="node20" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="1955,77,2027,107"/><area shape="rect" id="node6" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="681,43,775,72"/><area shape="rect" id="node8" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="516,5,609,35"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="351,5,444,35"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="172,5,297,35"/><area shape="rect" id="node14" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,5,120,35"/><area shape="rect" id="node16" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="496,59,629,88"/><area shape="rect" id="node18" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag..." alt="" coords="2503,89,2601,119"/><area shape="rect" id="node23" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; AccelGroup \&gt;" alt="" coords="1893,131,2088,160"/><area shape="rect" id="node25" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\&lt; T_CppObject \&gt;" alt="" coords="857,131,1057,160"/><area shape="rect" id="node27" href="classGtk_1_1Menu__Helpers_1_1MenuList.html" title="Gtk::Menu_Helpers::MenuList" alt="" coords="2448,165,2656,195"/><area shape="rect" id="node29" href="../../../glibmm-2.4/reference/html/classGlib_1_1HelperList.html" title="Glib::HelperList\&lt; MenuItem, const Element, Glib::List_Cpp_Iterator\&lt; GtkMenuItem, MenuItem \&gt; \&gt;" alt="" coords="1667,184,2315,213"/><area shape="rect" id="node31" href="../../../glibmm-2.4/reference/html/classGlib_1_1HelperList.html" title="Glib::HelperList\&lt; class, class, class \&gt;" alt="" coords="828,184,1087,213"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1MenuBar-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#aa69201f84105f3540fd10a8534554a7f">~MenuBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkMenuBar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a3c2333c3c7c03939590bb2e41b4aaa63">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a3c2333c3c7c03939590bb2e41b4aaa63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkMenuBar*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a3e7df05b207812ee2abca13e8c0f26e3">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a3e7df05b207812ee2abca13e8c0f26e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#af22ff68994bd4e05219d05bccaff742a">MenuBar</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a52b17fd42acc60cdc73fb58ae65cce5c">get_pack_direction</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the current pack direction of the menubar. <a href="#a52b17fd42acc60cdc73fb58ae65cce5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#ab3d45aaf7918bf618d67e99ed808f562">set_pack_direction</a> (<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> pack_dir)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets how items should be packed inside a menubar. <a href="#ab3d45aaf7918bf618d67e99ed808f562"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a242f8d401aec20d0c6df11c764c4488e">get_child_pack_direction</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the current child pack direction of the menubar. <a href="#a242f8d401aec20d0c6df11c764c4488e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a26fa154c7dde42f715ac94f989cd8b0d">set_child_pack_direction</a> (<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> child_pack_dir)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets how widgets should be packed inside the children of a menubar. <a href="#a26fa154c7dde42f715ac94f989cd8b0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a08edb838942edc40c7ae03c83ac219d1">property_pack_direction</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The pack direction of the menubar. <a href="#a08edb838942edc40c7ae03c83ac219d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a5d730d97af0d6c5e6a082694759ae8dd">property_pack_direction</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The pack direction of the menubar. <a href="#a5d730d97af0d6c5e6a082694759ae8dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#aa4097107ab40a3e1827bff77ef4502d1">property_child_pack_direction</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The child pack direction of the menubar. <a href="#aa4097107ab40a3e1827bff77ef4502d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a9eb4c7250f2916929abd5296b38f9d1e">property_child_pack_direction</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The child pack direction of the menubar. <a href="#a9eb4c7250f2916929abd5296b38f9d1e"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1MenuBar.html">Gtk::MenuBar</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1MenuBar.html#a7dd4fa20cd355a993c3936fede2cf0f3">wrap</a> (GtkMenuBar* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a7dd4fa20cd355a993c3936fede2cf0f3"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A standard menu bar which usually holds <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated by the user...">Gtk::Menu</a> submenu items. </p>
<p>The useful methods are in the base class - <a class="el" href="classGtk_1_1MenuShell.html" title="The abstract base class for Gtk::Menu and Gtk::MenuBar.">Gtk::MenuShell</a>.</p>
<p>The <a class="el" href="classGtk_1_1MenuBar.html" title="A standard menu bar which usually holds Gtk::Menu submenu items.">MenuBar</a> widget looks like this: </p>
<div align="center">
<img src="menubar1.png" alt="menubar1.png"/>
</div>
 </div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa69201f84105f3540fd10a8534554a7f"></a><!-- doxytag: member="Gtk::MenuBar::~MenuBar" ref="aa69201f84105f3540fd10a8534554a7f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::MenuBar::~MenuBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af22ff68994bd4e05219d05bccaff742a"></a><!-- doxytag: member="Gtk::MenuBar::MenuBar" ref="af22ff68994bd4e05219d05bccaff742a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::MenuBar::MenuBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a242f8d401aec20d0c6df11c764c4488e"></a><!-- doxytag: member="Gtk::MenuBar::get_child_pack_direction" ref="a242f8d401aec20d0c6df11c764c4488e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> Gtk::MenuBar::get_child_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the current child pack direction of the menubar. </p>
<p>See <a class="el" href="classGtk_1_1MenuBar.html#a26fa154c7dde42f715ac94f989cd8b0d" title="Sets how widgets should be packed inside the children of a menubar.">set_child_pack_direction()</a>.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000034">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The child pack direction. </dd></dl>

</div>
</div>
<a class="anchor" id="a52b17fd42acc60cdc73fb58ae65cce5c"></a><!-- doxytag: member="Gtk::MenuBar::get_pack_direction" ref="a52b17fd42acc60cdc73fb58ae65cce5c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a> Gtk::MenuBar::get_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the current pack direction of the menubar. </p>
<p>See <a class="el" href="classGtk_1_1MenuBar.html#ab3d45aaf7918bf618d67e99ed808f562" title="Sets how items should be packed inside a menubar.">set_pack_direction()</a>.</p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000032">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The pack direction. </dd></dl>

</div>
</div>
<a class="anchor" id="a3e7df05b207812ee2abca13e8c0f26e3"></a><!-- doxytag: member="Gtk::MenuBar::gobj" ref="a3e7df05b207812ee2abca13e8c0f26e3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkMenuBar* Gtk::MenuBar::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1MenuShell.html#a4417adfb6a301e40a0040517c43e69c7">Gtk::MenuShell</a>.</p>

</div>
</div>
<a class="anchor" id="a3c2333c3c7c03939590bb2e41b4aaa63"></a><!-- doxytag: member="Gtk::MenuBar::gobj" ref="a3c2333c3c7c03939590bb2e41b4aaa63" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkMenuBar* Gtk::MenuBar::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="el" href="classGtk_1_1MenuShell.html#abb7c2641f9e3624f3225dcf76d8b994c">Gtk::MenuShell</a>.</p>

</div>
</div>
<a class="anchor" id="aa4097107ab40a3e1827bff77ef4502d1"></a><!-- doxytag: member="Gtk::MenuBar::property_child_pack_direction" ref="aa4097107ab40a3e1827bff77ef4502d1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&gt; Gtk::MenuBar::property_child_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a9eb4c7250f2916929abd5296b38f9d1e"></a><!-- doxytag: member="Gtk::MenuBar::property_child_pack_direction" ref="a9eb4c7250f2916929abd5296b38f9d1e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&gt; Gtk::MenuBar::property_child_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a5d730d97af0d6c5e6a082694759ae8dd"></a><!-- doxytag: member="Gtk::MenuBar::property_pack_direction" ref="a5d730d97af0d6c5e6a082694759ae8dd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&gt; Gtk::MenuBar::property_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a08edb838942edc40c7ae03c83ac219d1"></a><!-- doxytag: member="Gtk::MenuBar::property_pack_direction" ref="a08edb838942edc40c7ae03c83ac219d1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&gt; Gtk::MenuBar::property_pack_direction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a26fa154c7dde42f715ac94f989cd8b0d"></a><!-- doxytag: member="Gtk::MenuBar::set_child_pack_direction" ref="a26fa154c7dde42f715ac94f989cd8b0d" args="(PackDirection child_pack_dir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuBar::set_child_pack_direction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&#160;</td>
          <td class="paramname"><em>child_pack_dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets how widgets should be packed inside the children of a menubar. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000035">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">child_pack_dir</td><td>A new Gtk::PackDirection. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab3d45aaf7918bf618d67e99ed808f562"></a><!-- doxytag: member="Gtk::MenuBar::set_pack_direction" ref="ab3d45aaf7918bf618d67e99ed808f562" args="(PackDirection pack_dir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::MenuBar::set_pack_direction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaf96b2ca081fb2549f583182bbb629d2c">PackDirection</a>&#160;</td>
          <td class="paramname"><em>pack_dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets how items should be packed inside a menubar. </p>
<dl class="since_2_8"><dt><b><a class="el" href="since_2_8.html#_since_2_8000033">Since gtkmm 2.8:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pack_dir</td><td>A new Gtk::PackDirection. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a7dd4fa20cd355a993c3936fede2cf0f3"></a><!-- doxytag: member="Gtk::MenuBar::wrap" ref="a7dd4fa20cd355a993c3936fede2cf0f3" args="(GtkMenuBar *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1MenuBar.html">Gtk::MenuBar</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkMenuBar *&#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><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table 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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/menubar.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>