Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 327

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.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::Expander Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1Expander.html">Expander</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::Expander Class Reference<br/>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>,&#160;<a class="el" href="group__Containers.html">Container Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::Expander" --><!-- doxytag: inherits="Gtk::Bin" -->
<p>A container which can hide its child. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Bin.html">Gtk::Bin</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::Expander:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1Expander__coll__graph.png" border="0" usemap="#Gtk_1_1Expander_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Expander_coll__map" id="Gtk_1_1Expander_coll__map">
<area shape="rect" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="79,469,148,499"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,392,165,421"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,315,159,344"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such..." alt="" coords="5,237,93,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,160,96,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,83,171,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,160,227,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,35"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,237,237,267"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Expander-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a843be89dc01a75bf1a0719a8991d87d7">~Expander</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkExpander*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#ae877f207bfa77723625ca9e296704453">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#ae877f207bfa77723625ca9e296704453"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkExpander*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#acb6251ccaf19d662aa80ffaad835e780">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#acb6251ccaf19d662aa80ffaad835e780"></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_1Expander.html#a3877a08bffa14ecdfadc41fd8ff64a19">Expander</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a>. <a href="#a3877a08bffa14ecdfadc41fd8ff64a19"></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_1Expander.html#a7a4e41ba79a7ee0358cb0423b1689fb0">Expander</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, bool mnemonic=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a> with a label. <a href="#a7a4e41ba79a7ee0358cb0423b1689fb0"></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_1Expander.html#afefd2219b8385f091716c4b4f6696ef9">set_expanded</a> (bool expanded=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the state of the expander. <a href="#afefd2219b8385f091716c4b4f6696ef9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#ac494c88aaa4ad00f71b49322ce937a9f">get_expanded</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries a <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Gtk::Expander</a> and returns its current state. <a href="#ac494c88aaa4ad00f71b49322ce937a9f"></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_1Expander.html#a5a52d24f053bcbfa05e445e529604e4e">set_spacing</a> (int spacing)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the spacing field of <em>expander</em>, which is the number of pixels to place between expander and the child. <a href="#a5a52d24f053bcbfa05e445e529604e4e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a1e0e8b25cf700e183d3ad1abf8fc9265">get_spacing</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value set by <a class="el" href="classGtk_1_1Expander.html#a5a52d24f053bcbfa05e445e529604e4e" title="Sets the spacing field of expander, which is the number of pixels to place between...">set_spacing()</a>. <a href="#a1e0e8b25cf700e183d3ad1abf8fc9265"></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_1Expander.html#a213463dfcd03e4fe73174b0300481b8c">set_label</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text of the label of the expander to <em>label</em>. <a href="#a213463dfcd03e4fe73174b0300481b8c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#ab4e280fc5707adea459e32f95715ad2c">get_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetches the text from a label widget including any embedded underlines indicating mnemonics and <a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> markup, as set by <a class="el" href="classGtk_1_1Expander.html#a213463dfcd03e4fe73174b0300481b8c" title="Sets the text of the label of the expander to label.">set_label()</a>. <a href="#ab4e280fc5707adea459e32f95715ad2c"></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_1Expander.html#abbb4c979dacbda70d9e9368d0349ce76">set_use_underline</a> (bool use_underline=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key. <a href="#abbb4c979dacbda70d9e9368d0349ce76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#ab08e26b6d55b66ed52ea1c8bc826c56c">get_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether an embedded underline in the expander label indicates a mnemonic. <a href="#ab08e26b6d55b66ed52ea1c8bc826c56c"></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_1Expander.html#a2604bd9768c8119f29629e2b02c79392">set_use_markup</a> (bool use_markup=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the text of the label contains markup in &lt;link linkend="PangoMarkupFormat"&gt;Pango's text markup language&lt;/link&gt;. <a href="#a2604bd9768c8119f29629e2b02c79392"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a2dd51bbc9a0401449822d65cbabaed24">get_use_markup</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the label's text is interpreted as marked up with the &lt;link linkend="PangoMarkupFormat"&gt;<a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> text markup language&lt;/link&gt;. <a href="#a2dd51bbc9a0401449822d65cbabaed24"></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_1Expander.html#ac15bd816f9c79e061a2b7825c3d91096">set_label_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp; label_widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the label widget for the expander. <a href="#ac15bd816f9c79e061a2b7825c3d91096"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a581e4df4d76acbb7e9ba2403e1874bf2">get_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the label widget for the frame. <a href="#a581e4df4d76acbb7e9ba2403e1874bf2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a53ab47576ec3711b37d2e695eea3b293">get_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the label widget for the frame. <a href="#a53ab47576ec3711b37d2e695eea3b293"></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>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a262ba66f7def9945eb7178488f724f60">property_expanded</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the expander has been opened to reveal the child widget. <a href="#a262ba66f7def9945eb7178488f724f60"></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; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a03c65c680663434f9f578b3cdfe012c6">property_expanded</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the expander has been opened to reveal the child widget. <a href="#a03c65c680663434f9f578b3cdfe012c6"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#aa0e87f2d6fce3f29127c3d39c15487c3">property_label</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text of the expander's label. <a href="#aa0e87f2d6fce3f29127c3d39c15487c3"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#af29cb446825e1e74147ab7d46baa4fc2">property_label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Text of the expander's label. <a href="#af29cb446825e1e74147ab7d46baa4fc2"></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>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a8f54cf6bc89d32b400f89994fc11b96a">property_use_underline</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#a8f54cf6bc89d32b400f89994fc11b96a"></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; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#ad58c94217710f24253a4114fe8aa32e4">property_use_underline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If set. <a href="#ad58c94217710f24253a4114fe8aa32e4"></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>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a0b629c736fad6b5d86d570abd35f9b31">property_use_markup</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The text of the label includes XML markup. <a href="#a0b629c736fad6b5d86d570abd35f9b31"></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; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a3b22d13cd267b8fa6b7140d83e9740d3">property_use_markup</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The text of the label includes XML markup. <a href="#a3b22d13cd267b8fa6b7140d83e9740d3"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a4677b565ad14970229bdfb1510afbbc2">property_spacing</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Space to put between the label and the child. <a href="#a4677b565ad14970229bdfb1510afbbc2"></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>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a36a7bef5f4f2560f6158d017b0b324ca">property_spacing</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Space to put between the label and the child. <a href="#a36a7bef5f4f2560f6158d017b0b324ca"></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>&lt; <a class="el" href="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a8e7a0536406d9b997e9b6b2d6473ed2d">property_label_widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A widget to display in place of the usual expander label. <a href="#a8e7a0536406d9b997e9b6b2d6473ed2d"></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="classGtk_1_1Widget.html">Widget</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#a0302463030c3564466526dc21ca1b94f">property_label_widget</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A widget to display in place of the usual expander label. <a href="#a0302463030c3564466526dc21ca1b94f"></a><br/></td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Expander.html">Gtk::Expander</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Expander.html#aa9d40bd8188a8196be8de39b91dc8705">wrap</a> (GtkExpander* 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="#aa9d40bd8188a8196be8de39b91dc8705"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A container which can hide its child. </p>
<p>An <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a> allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a <a class="el" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user...">Gtk::TreeView</a>.</p>
<p>Normally you use an expander as you would use any other descendant of <a class="el" href="classGtk_1_1Bin.html" title="A container with just one child.">Gtk::Bin</a>; you create the child widget and use <a class="el" href="classGtk_1_1Container.html#ae5f3b9c32b1b74e7613997843e91f4cc">add()</a> to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically.</p>
<p>Special Usage: There are situations in which you may prefer to show and hide the expanded widget yourself, such as when you want to actually create the widget at expansion time. In this case, create an <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a> but do not add a child to it. The expander widget has an <code>expanded</code> property which can be used to monitor its expansion state. You should watch this property with a signal connection as follows: </p>
<div class="fragment"><pre class="fragment"> expander.property_expanded().signal_changed().connect(
   <a class="codeRef" href="../../../libsigc++-2.0/reference/html/group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602">sigc::mem_fun</a>(*<span class="keyword">this</span>, &amp;SomeClass::on_expander_changed)
 );
</pre></div> <hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a843be89dc01a75bf1a0719a8991d87d7"></a><!-- doxytag: member="Gtk::Expander::~Expander" ref="a843be89dc01a75bf1a0719a8991d87d7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Expander::~Expander </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3877a08bffa14ecdfadc41fd8ff64a19"></a><!-- doxytag: member="Gtk::Expander::Expander" ref="a3877a08bffa14ecdfadc41fd8ff64a19" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Expander::Expander </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a>. </p>
<p>The <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a> has an empty label.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000108">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a7a4e41ba79a7ee0358cb0423b1689fb0"></a><!-- doxytag: member="Gtk::Expander::Expander" ref="a7a4e41ba79a7ee0358cb0423b1689fb0" args="(const Glib::ustring &amp;label, bool mnemonic=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Expander::Expander </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/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">bool&#160;</td>
          <td class="paramname"> <em>mnemonic</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a> with a label. </p>
<p>Creates a new expander using label as the text of the label. Settin <em>mnemonic</em> to true will allow you to precede characters in the label with an underscore which will make them underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the button.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The string for the label describing the <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Expander</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mnemonic</em>&#160;</td><td>Wether the label may contain underscores to set up accelerators.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000109">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac494c88aaa4ad00f71b49322ce937a9f"></a><!-- doxytag: member="Gtk::Expander::get_expanded" ref="ac494c88aaa4ad00f71b49322ce937a9f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Expander::get_expanded </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Queries a <a class="el" href="classGtk_1_1Expander.html" title="A container which can hide its child.">Gtk::Expander</a> and returns its current state. </p>
<p>Returns <code>true</code> if the child widget is revealed.</p>
<p>See <a class="el" href="classGtk_1_1Expander.html#afefd2219b8385f091716c4b4f6696ef9" title="Sets the state of the expander.">set_expanded()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000111">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current state of the expander. </dd></dl>

</div>
</div>
<a class="anchor" id="ab4e280fc5707adea459e32f95715ad2c"></a><!-- doxytag: member="Gtk::Expander::get_label" ref="ab4e280fc5707adea459e32f95715ad2c" 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_1ustring.html">Glib::ustring</a> Gtk::Expander::get_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fetches the text from a label widget including any embedded underlines indicating mnemonics and <a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> markup, as set by <a class="el" href="classGtk_1_1Expander.html#a213463dfcd03e4fe73174b0300481b8c" title="Sets the text of the label of the expander to label.">set_label()</a>. </p>
<p>If the label text has not been set the return value will be <code>0</code>. This will be the case if you create an empty button with Gtk::Button::new() to use as a container.</p>
<p>Note that this function behaved differently in versions prior to 2.14 and used to return the label text stripped of embedded underlines indicating mnemonics and <a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> markup. This problem can be avoided by fetching the label text directly from the label widget.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000115">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text of the label widget. This string is owned by the widget and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a53ab47576ec3711b37d2e695eea3b293"></a><!-- doxytag: member="Gtk::Expander::get_label_widget" ref="a53ab47576ec3711b37d2e695eea3b293" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Expander::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the label widget for the frame. </p>
<p>See <a class="el" href="classGtk_1_1Expander.html#ac15bd816f9c79e061a2b7825c3d91096" title="Set the label widget for the expander.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000122">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The label widget, or <code>0</code> if there is none. </dd></dl>

</div>
</div>
<a class="anchor" id="a581e4df4d76acbb7e9ba2403e1874bf2"></a><!-- doxytag: member="Gtk::Expander::get_label_widget" ref="a581e4df4d76acbb7e9ba2403e1874bf2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::Expander::get_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the label widget for the frame. </p>
<p>See <a class="el" href="classGtk_1_1Expander.html#ac15bd816f9c79e061a2b7825c3d91096" title="Set the label widget for the expander.">set_label_widget()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000121">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The label widget, or <code>0</code> if there is none. </dd></dl>

</div>
</div>
<a class="anchor" id="a1e0e8b25cf700e183d3ad1abf8fc9265"></a><!-- doxytag: member="Gtk::Expander::get_spacing" ref="a1e0e8b25cf700e183d3ad1abf8fc9265" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::Expander::get_spacing </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the value set by <a class="el" href="classGtk_1_1Expander.html#a5a52d24f053bcbfa05e445e529604e4e" title="Sets the spacing field of expander, which is the number of pixels to place between...">set_spacing()</a>. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000113">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Spacing between the expander and child. </dd></dl>

</div>
</div>
<a class="anchor" id="a2dd51bbc9a0401449822d65cbabaed24"></a><!-- doxytag: member="Gtk::Expander::get_use_markup" ref="a2dd51bbc9a0401449822d65cbabaed24" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Expander::get_use_markup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the label's text is interpreted as marked up with the &lt;link linkend="PangoMarkupFormat"&gt;<a class="elRef" href="../../../pangomm-1.4/reference/html/namespacePango.html">Pango</a> text markup language&lt;/link&gt;. </p>
<p>See <a class="el" href="classGtk_1_1Expander.html#a2604bd9768c8119f29629e2b02c79392" title="Sets whether the text of the label contains markup in &lt;link linkend=&quot;PangoMarkupFormat&quot;...">set_use_markup()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000119">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the label's text will be parsed for markup. </dd></dl>

</div>
</div>
<a class="anchor" id="ab08e26b6d55b66ed52ea1c8bc826c56c"></a><!-- doxytag: member="Gtk::Expander::get_use_underline" ref="ab08e26b6d55b66ed52ea1c8bc826c56c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::Expander::get_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether an embedded underline in the expander label indicates a mnemonic. </p>
<p>See <a class="el" href="classGtk_1_1Expander.html#abbb4c979dacbda70d9e9368d0349ce76" title="If true, an underline in the text of the expander label indicates the next character...">set_use_underline()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000117">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an embedded underline in the expander label indicates the mnemonic accelerator keys. </dd></dl>

</div>
</div>
<a class="anchor" id="acb6251ccaf19d662aa80ffaad835e780"></a><!-- doxytag: member="Gtk::Expander::gobj" ref="acb6251ccaf19d662aa80ffaad835e780" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkExpander* Gtk::Expander::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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_1Bin.html#ad6db11cd388872c6ee36aee075478374">Gtk::Bin</a>.</p>

</div>
</div>
<a class="anchor" id="ae877f207bfa77723625ca9e296704453"></a><!-- doxytag: member="Gtk::Expander::gobj" ref="ae877f207bfa77723625ca9e296704453" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkExpander* Gtk::Expander::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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_1Bin.html#a6fef1f41c67a588dd33087ea479e0ad1">Gtk::Bin</a>.</p>

</div>
</div>
<a class="anchor" id="a03c65c680663434f9f578b3cdfe012c6"></a><!-- doxytag: member="Gtk::Expander::property_expanded" ref="a03c65c680663434f9f578b3cdfe012c6" 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;bool&gt; Gtk::Expander::property_expanded </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the expander has been opened to reveal the child widget. </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="a262ba66f7def9945eb7178488f724f60"></a><!-- doxytag: member="Gtk::Expander::property_expanded" ref="a262ba66f7def9945eb7178488f724f60" 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;bool&gt; Gtk::Expander::property_expanded </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the expander has been opened to reveal the child widget. </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="af29cb446825e1e74147ab7d46baa4fc2"></a><!-- doxytag: member="Gtk::Expander::property_label" ref="af29cb446825e1e74147ab7d46baa4fc2" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Expander::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text of the expander's label. </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="aa0e87f2d6fce3f29127c3d39c15487c3"></a><!-- doxytag: member="Gtk::Expander::property_label" ref="aa0e87f2d6fce3f29127c3d39c15487c3" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::Expander::property_label </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Text of the expander's label. </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="a0302463030c3564466526dc21ca1b94f"></a><!-- doxytag: member="Gtk::Expander::property_label_widget" ref="a0302463030c3564466526dc21ca1b94f" 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="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::Expander::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A widget to display in place of the usual expander label. </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="a8e7a0536406d9b997e9b6b2d6473ed2d"></a><!-- doxytag: member="Gtk::Expander::property_label_widget" ref="a8e7a0536406d9b997e9b6b2d6473ed2d" 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="classGtk_1_1Widget.html">Widget</a>*&gt; Gtk::Expander::property_label_widget </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A widget to display in place of the usual expander label. </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="a36a7bef5f4f2560f6158d017b0b324ca"></a><!-- doxytag: member="Gtk::Expander::property_spacing" ref="a36a7bef5f4f2560f6158d017b0b324ca" 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;int&gt; Gtk::Expander::property_spacing </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Space to put between the label and the child. </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="a4677b565ad14970229bdfb1510afbbc2"></a><!-- doxytag: member="Gtk::Expander::property_spacing" ref="a4677b565ad14970229bdfb1510afbbc2" 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;int&gt; Gtk::Expander::property_spacing </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Space to put between the label and the child. </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="a3b22d13cd267b8fa6b7140d83e9740d3"></a><!-- doxytag: member="Gtk::Expander::property_use_markup" ref="a3b22d13cd267b8fa6b7140d83e9740d3" 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;bool&gt; Gtk::Expander::property_use_markup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The text of the label includes XML markup. </p>
<p>See pango_parse_markup().</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="a0b629c736fad6b5d86d570abd35f9b31"></a><!-- doxytag: member="Gtk::Expander::property_use_markup" ref="a0b629c736fad6b5d86d570abd35f9b31" 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;bool&gt; Gtk::Expander::property_use_markup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The text of the label includes XML markup. </p>
<p>See pango_parse_markup().</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="ad58c94217710f24253a4114fe8aa32e4"></a><!-- doxytag: member="Gtk::Expander::property_use_underline" ref="ad58c94217710f24253a4114fe8aa32e4" 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;bool&gt; Gtk::Expander::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </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="a8f54cf6bc89d32b400f89994fc11b96a"></a><!-- doxytag: member="Gtk::Expander::property_use_underline" ref="a8f54cf6bc89d32b400f89994fc11b96a" 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;bool&gt; Gtk::Expander::property_use_underline </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If set. </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="afefd2219b8385f091716c4b4f6696ef9"></a><!-- doxytag: member="Gtk::Expander::set_expanded" ref="afefd2219b8385f091716c4b4f6696ef9" args="(bool expanded=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_expanded </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>expanded</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the state of the expander. </p>
<p>Set to <code>true</code>, if you want the child widget to be revealed, and <code>false</code> if you want the child widget to be hidden.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000110">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>expanded</em>&#160;</td><td>Whether the child widget is revealed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a213463dfcd03e4fe73174b0300481b8c"></a><!-- doxytag: member="Gtk::Expander::set_label" ref="a213463dfcd03e4fe73174b0300481b8c" args="(const Glib::ustring &amp;label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_label </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>label</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the text of the label of the expander to <em>label</em>. </p>
<p>This will also clear any previously set labels.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000114">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>A string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac15bd816f9c79e061a2b7825c3d91096"></a><!-- doxytag: member="Gtk::Expander::set_label_widget" ref="ac15bd816f9c79e061a2b7825c3d91096" args="(Widget &amp;label_widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_label_widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Widget.html">Widget</a>&amp;&#160;</td>
          <td class="paramname"> <em>label_widget</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the label widget for the expander. </p>
<p>This is the widget that will appear embedded alongside the expander arrow.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000120">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>label_widget</em>&#160;</td><td>The new label widget. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5a52d24f053bcbfa05e445e529604e4e"></a><!-- doxytag: member="Gtk::Expander::set_spacing" ref="a5a52d24f053bcbfa05e445e529604e4e" args="(int spacing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_spacing </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>spacing</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the spacing field of <em>expander</em>, which is the number of pixels to place between expander and the child. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000112">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>spacing</em>&#160;</td><td>Distance between the expander and child in pixels. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2604bd9768c8119f29629e2b02c79392"></a><!-- doxytag: member="Gtk::Expander::set_use_markup" ref="a2604bd9768c8119f29629e2b02c79392" args="(bool use_markup=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_use_markup </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>use_markup</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the text of the label contains markup in &lt;link linkend="PangoMarkupFormat"&gt;Pango's text markup language&lt;/link&gt;. </p>
<p>See <a class="el" href="classGtk_1_1Label.html#a63c357c5247b89944d81ff2fc07977f4" title="Parses str which is marked up with the &lt;link linkend=&quot;PangoMarkupFormat&quot;&gt;Pango...">Gtk::Label::set_markup()</a>.</p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000118">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>use_markup</em>&#160;</td><td><code>true</code> if the label's text should be parsed for markup. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abbb4c979dacbda70d9e9368d0349ce76"></a><!-- doxytag: member="Gtk::Expander::set_use_underline" ref="abbb4c979dacbda70d9e9368d0349ce76" args="(bool use_underline=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Expander::set_use_underline </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>use_underline</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000116">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>use_underline</em>&#160;</td><td><code>true</code> if underlines in the text indicate mnemonics. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aa9d40bd8188a8196be8de39b91dc8705"></a><!-- doxytag: member="Gtk::Expander::wrap" ref="aa9d40bd8188a8196be8de39b91dc8705" args="(GtkExpander *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Expander.html">Gtk::Expander</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkExpander *&#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></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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/expander.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:51 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>