Sophie

Sophie

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

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::Activatable 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_1Activatable.html">Activatable</a> </li>
    </ul>
  </div>
</div>
<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="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::Activatable Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::Activatable" --><!-- doxytag: inherits="Glib::Interface" -->
<p><a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Activatable</a> widgets can be connected to a <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> and reflect the state of the action. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::Activatable:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1Activatable__inherit__graph.png" border="0" usemap="#Gtk_1_1Activatable_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1Activatable_inherit__map" id="Gtk_1_1Activatable_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,123,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::Activatable:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1Activatable__coll__graph.png" border="0" usemap="#Gtk_1_1Activatable_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Activatable_coll__map" id="Gtk_1_1Activatable_coll__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="13,160,123,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Activatable-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_1Activatable.html#abb3865a61bb642ed81cc1fa96611c4ba">~Activatable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkActivatable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a2c56156cd0908e2cda41be373cb6a418">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2c56156cd0908e2cda41be373cb6a418"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkActivatable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a51afc18115d01603f5b851186767beaa">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a51afc18115d01603f5b851186767beaa"></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_1Activatable.html#af298882960c97b52f23baf88ecc39244">do_set_related_action</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; action)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a utility function for <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a> implementors. <a href="#af298882960c97b52f23baf88ecc39244"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a3e0bc78f47afb22e91ea30d53381cb4f">get_related_action</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> for <em>activatable</em>. <a href="#a3e0bc78f47afb22e91ea30d53381cb4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#af0bc4a12ced4d9b12c68d60e8e68ce14">get_related_action</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> for <em>activatable</em>. <a href="#af0bc4a12ced4d9b12c68d60e8e68ce14"></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_1Activatable.html#ac2029fb33a2b14417051d00a1bc9b592">get_use_action_appearance</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance. <a href="#ac2029fb33a2b14417051d00a1bc9b592"></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_1Activatable.html#af9b8ce1cf67419978c49caae59b4602e">sync_action_properties</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; action)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is called to update the activatable completely, this is called internally when the Gtk::Activatable::related-action property is set or unset and by the implementing class when Gtk::Activatable::use-action-appearance changes. <a href="#af9b8ce1cf67419978c49caae59b4602e"></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_1Activatable.html#a1f5010ca913e20455e7c7eb2ff1a0c45">set_related_action</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; action)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the related action on the <em>activatable</em> object. <a href="#a1f5010ca913e20455e7c7eb2ff1a0c45"></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_1Activatable.html#adf2a66b8a9834161daa283a82e2ed3b5">set_use_action_appearance</a> (bool use_appearance=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance. <a href="#adf2a66b8a9834161daa283a82e2ed3b5"></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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#aab80092c9e997cc8e0ec0476a6a262d0">property_related_action</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The action this activatable will activate and receive updates from. <a href="#aab80092c9e997cc8e0ec0476a6a262d0"></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_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a4516b5eec6b21121cda5aec00e9f0731">property_related_action</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The action this activatable will activate and receive updates from. <a href="#a4516b5eec6b21121cda5aec00e9f0731"></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_1Activatable.html#a216f1d8aecf18ebb793fea3768466458">property_use_action_appearance</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether to use the related actions appearance properties. <a href="#a216f1d8aecf18ebb793fea3768466458"></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_1Activatable.html#a1b62a0d283da092c356b224aa416eb61">property_use_action_appearance</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether to use the related actions appearance properties. <a href="#a1b62a0d283da092c356b224aa416eb61"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a28030e0b75146c2928e87edcbfa1a4d3">update_vfunc</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; action, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; property_name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a9ffad21bf5d037c6b5c8b24d998abc71">sync_action_properties_vfunc</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp; action)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a81e20adb433841acbd90b0b39c6f8cf0">add_interface</a> (GType gtype_implementer)</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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Activatable.html">Gtk::Activatable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Activatable.html#a9f974c0da2d012a1083845a65c9d645d">wrap</a> (GtkActivatable* 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="#a9f974c0da2d012a1083845a65c9d645d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Activatable</a> widgets can be connected to a <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> and reflect the state of the action. </p>
<p>An <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Activatable</a> can also provide feedback through its action, as it is responsible for activating the related action.</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000023">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abb3865a61bb642ed81cc1fa96611c4ba"></a><!-- doxytag: member="Gtk::Activatable::~Activatable" ref="abb3865a61bb642ed81cc1fa96611c4ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Activatable::~Activatable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a81e20adb433841acbd90b0b39c6f8cf0"></a><!-- doxytag: member="Gtk::Activatable::add_interface" ref="a81e20adb433841acbd90b0b39c6f8cf0" args="(GType gtype_implementer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::Activatable::add_interface </td>
          <td>(</td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"><em>gtype_implementer</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af298882960c97b52f23baf88ecc39244"></a><!-- doxytag: member="Gtk::Activatable::do_set_related_action" ref="af298882960c97b52f23baf88ecc39244" args="(const Glib::RefPtr&lt; Action &gt; &amp;action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Activatable::do_set_related_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is a utility function for <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a> implementors. </p>
<p>When implementing <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a> you must call this when handling changes of the <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a>:related-action, and you must also use this to break references in Object-&gt;dispose().</p>
<p>This function adds a reference to the currently set related action for you, it also makes sure the <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a>-&gt;update() method is called when the related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> properties change and registers to the action's proxy list.</p>
<p>&lt;note&gt;Be careful to call this before setting the local copy of the <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> property, since this function uses gtk_activatable_get_action() to retrieve the previous action&lt;/note&gt;</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000024">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> to set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3e0bc78f47afb22e91ea30d53381cb4f"></a><!-- doxytag: member="Gtk::Activatable::get_related_action" ref="a3e0bc78f47afb22e91ea30d53381cb4f" 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_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt; Gtk::Activatable::get_related_action </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> for <em>activatable</em>. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000025">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> if one is set. </dd></dl>

</div>
</div>
<a class="anchor" id="af0bc4a12ced4d9b12c68d60e8e68ce14"></a><!-- doxytag: member="Gtk::Activatable::get_related_action" ref="af0bc4a12ced4d9b12c68d60e8e68ce14" 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_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGtk_1_1Action.html">Action</a>&gt; Gtk::Activatable::get_related_action </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> for <em>activatable</em>. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000026">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> if one is set. </dd></dl>

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

<p>Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000027">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether <em>activatable</em> uses its actions appearance. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c56156cd0908e2cda41be373cb6a418"></a><!-- doxytag: member="Gtk::Activatable::gobj" ref="a2c56156cd0908e2cda41be373cb6a418" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkActivatable* Gtk::Activatable::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 GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.</p>

</div>
</div>
<a class="anchor" id="a51afc18115d01603f5b851186767beaa"></a><!-- doxytag: member="Gtk::Activatable::gobj" ref="a51afc18115d01603f5b851186767beaa" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkActivatable* Gtk::Activatable::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 GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">Glib::Interface</a>.</p>

</div>
</div>
<a class="anchor" id="aab80092c9e997cc8e0ec0476a6a262d0"></a><!-- doxytag: member="Gtk::Activatable::property_related_action" ref="aab80092c9e997cc8e0ec0476a6a262d0" 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_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt; &gt; Gtk::Activatable::property_related_action </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The action this activatable will activate and receive updates from. </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="a4516b5eec6b21121cda5aec00e9f0731"></a><!-- doxytag: member="Gtk::Activatable::property_related_action" ref="a4516b5eec6b21121cda5aec00e9f0731" 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_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1Action.html">Action</a>&gt; &gt; Gtk::Activatable::property_related_action </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The action this activatable will activate and receive updates from. </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="a216f1d8aecf18ebb793fea3768466458"></a><!-- doxytag: member="Gtk::Activatable::property_use_action_appearance" ref="a216f1d8aecf18ebb793fea3768466458" 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::Activatable::property_use_action_appearance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether to use the related actions appearance properties. </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="a1b62a0d283da092c356b224aa416eb61"></a><!-- doxytag: member="Gtk::Activatable::property_use_action_appearance" ref="a1b62a0d283da092c356b224aa416eb61" 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::Activatable::property_use_action_appearance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether to use the related actions appearance properties. </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="a1f5010ca913e20455e7c7eb2ff1a0c45"></a><!-- doxytag: member="Gtk::Activatable::set_related_action" ref="a1f5010ca913e20455e7c7eb2ff1a0c45" args="(const Glib::RefPtr&lt; Action &gt; &amp;action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Activatable::set_related_action </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the related action on the <em>activatable</em> object. </p>
<p>&lt;note&gt;<a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a> implementors need to handle the <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a>:related-action property and call <a class="el" href="classGtk_1_1Activatable.html#af298882960c97b52f23baf88ecc39244" title="This is a utility function for Gtk::Activatable implementors.">do_set_related_action()</a> when it changes.&lt;/note&gt;</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000029">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> to set. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance. </p>
<p>&lt;note&gt;<a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a> implementors need to handle the <a class="el" href="classGtk_1_1Activatable.html" title="Activatable widgets can be connected to a Gtk::Action and reflect the state of the action...">Gtk::Activatable</a>:use-action-appearance property and call <a class="el" href="classGtk_1_1Activatable.html#af9b8ce1cf67419978c49caae59b4602e" title="This is called to update the activatable completely, this is called internally when the Gtk::Activata...">sync_action_properties()</a> to update <em>activatable</em> if needed.&lt;/note&gt;</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000030">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">use_appearance</td><td>Whether to use the actions appearance. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af9b8ce1cf67419978c49caae59b4602e"></a><!-- doxytag: member="Gtk::Activatable::sync_action_properties" ref="af9b8ce1cf67419978c49caae59b4602e" args="(const Glib::RefPtr&lt; Action &gt; &amp;action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Activatable::sync_action_properties </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is called to update the activatable completely, this is called internally when the Gtk::Activatable::related-action property is set or unset and by the implementing class when Gtk::Activatable::use-action-appearance changes. </p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000028">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td>The related <a class="el" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item.">Gtk::Action</a> or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9ffad21bf5d037c6b5c8b24d998abc71"></a><!-- doxytag: member="Gtk::Activatable::sync_action_properties_vfunc" ref="a9ffad21bf5d037c6b5c8b24d998abc71" args="(const Glib::RefPtr&lt; Action &gt; &amp;action)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Activatable::sync_action_properties_vfunc </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>action</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a28030e0b75146c2928e87edcbfa1a4d3"></a><!-- doxytag: member="Gtk::Activatable::update_vfunc" ref="a28030e0b75146c2928e87edcbfa1a4d3" args="(const Glib::RefPtr&lt; Action &gt; &amp;action, const Glib::ustring &amp;property_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::Activatable::update_vfunc </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Action.html">Action</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>property_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a9f974c0da2d012a1083845a65c9d645d"></a><!-- doxytag: member="Gtk::Activatable::wrap" ref="a9f974c0da2d012a1083845a65c9d645d" args="(GtkActivatable *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1Activatable.html">Gtk::Activatable</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkActivatable *&#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/activatable.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>