Sophie

Sophie

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

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::ToggleAction 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_1ToggleAction.html">ToggleAction</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::ToggleAction Class Reference</h1><!-- doxytag: class="Gtk::ToggleAction" --><!-- doxytag: inherits="Gtk::Action" -->
<p>An action which can be toggled between two states. <a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classGtk_1_1Action.html">Gtk::Action</a>.</p>

<p>Inherited by <a class="el" href="classGtk_1_1RadioAction.html">Gtk::RadioAction</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::ToggleAction:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1ToggleAction__coll__graph.png" border="0" usemap="#Gtk_1_1ToggleAction_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1ToggleAction_coll__map" id="Gtk_1_1ToggleAction_coll__map">
<area shape="rect" href="classGtk_1_1Action.html" title="An action which can be triggered by a menu or toolbar item." alt="" coords="24,237,112,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="23,160,113,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="8,83,128,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="15,5,121,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1ToggleAction-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_1ToggleAction.html#a1269ccb462144d9ccc3948bb7f8df77f">~ToggleAction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkToggleAction*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a2c599318148571da93c9252224fd9977">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2c599318148571da93c9252224fd9977"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkToggleAction*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a11078965eab4ae63d46ae776b6a29c2e">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a11078965eab4ae63d46ae776b6a29c2e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkToggleAction*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#abb64516e80cb25efa3fce30bdec78e83">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#abb64516e80cb25efa3fce30bdec78e83"></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_1ToggleAction.html#a2dc5245f6db31890070afd3d589ad813">toggled</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits the "toggled" signal on the toggle action. <a href="#a2dc5245f6db31890070afd3d589ad813"></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_1ToggleAction.html#a44ae541b7dbb01f6679063a456b2b221">set_active</a> (bool is_active=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the checked state on the toggle action. <a href="#a44ae541b7dbb01f6679063a456b2b221"></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_1ToggleAction.html#ac7ffa4f567b73438a370046996e7268f">get_active</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the checked state of the toggle action. <a href="#ac7ffa4f567b73438a370046996e7268f"></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_1ToggleAction.html#a3fd94b6647e22cec855f95977682f2d4">set_draw_as_radio</a> (bool draw_as_radio=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the action should have proxies like a radio action. <a href="#a3fd94b6647e22cec855f95977682f2d4"></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_1ToggleAction.html#a574e8a3c431fd2922b69c48efe5a3a32">get_draw_as_radio</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the action should have proxies like a radio action. <a href="#a574e8a3c431fd2922b69c48efe5a3a32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a5b89f03eea8734cddaaccda09be65915">signal_toggled</a> ()</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_1ToggleAction.html#ae3a00b87021b305a5dfec2f08408a2f0">property_draw_as_radio</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the proxies for this action look like radio action proxies. <a href="#ae3a00b87021b305a5dfec2f08408a2f0"></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_1ToggleAction.html#a048886fcc1c7795ef84f65f22c87e22f">property_draw_as_radio</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the proxies for this action look like radio action proxies. <a href="#a048886fcc1c7795ef84f65f22c87e22f"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#afc962ac1e26ba76a2fadf5aa5a747139">create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a4be41c23fea0054923526e7868a09ffe">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; tooltip=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), bool is_active=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a toggle action. <a href="#a4be41c23fea0054923526e7868a09ffe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a2d4625ab6ef3185bc8c433001d18f3dc">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp; stock_id, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; tooltip=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), bool is_active=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a toggle action with a stock ID. <a href="#a2d4625ab6ef3185bc8c433001d18f3dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#aa508091b9453a2e0623bc2dd6e65c7d5">create_with_icon_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; icon_name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; tooltip, bool is_active=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a toggle action with an icon name. <a href="#aa508091b9453a2e0623bc2dd6e65c7d5"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#aba704136601544df2b496462110fb997">ToggleAction</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty toggle action. <a href="#aba704136601544df2b496462110fb997"></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_1ToggleAction.html#ae5780ba6b9b790a0a50e9b119136d24b">ToggleAction</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="el" href="classGtk_1_1StockID.html">StockID</a>&amp; stock_id=<a class="el" href="classGtk_1_1StockID.html">StockID</a>(), const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; tooltip=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), bool is_active=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a toggle action. <a href="#ae5780ba6b9b790a0a50e9b119136d24b"></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_1ToggleAction.html#a392818aaa88484526b71518bb75f9bbd">ToggleAction</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; icon_name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; label=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; tooltip=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), bool is_active=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a toggle action with an icon name. <a href="#a392818aaa88484526b71518bb75f9bbd"></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_1ToggleAction.html#aaf4f46fdd2c5d8c6e7bc78d0970cabe4">on_toggled</a> ()</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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1ToggleAction.html">Gtk::ToggleAction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ToggleAction.html#a885e03ebc822ed31dcf54cfa37a06e05">wrap</a> (GtkToggleAction* 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="#a885e03ebc822ed31dcf54cfa37a06e05"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An action which can be toggled between two states. </p>
<p>A <a class="el" href="classGtk_1_1ToggleAction.html" title="An action which can be toggled between two states.">Gtk::ToggleAction</a> corresponds roughly to a <a class="el" href="classGtk_1_1CheckMenuItem.html" title="A menu item that maintains the state of a boolean value in addition to a Gtk::MenuItem&#39;s...">Gtk::CheckMenuItem</a>. It has an "active" state specifying whether the action has been checked or not. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1269ccb462144d9ccc3948bb7f8df77f"></a><!-- doxytag: member="Gtk::ToggleAction::~ToggleAction" ref="a1269ccb462144d9ccc3948bb7f8df77f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::ToggleAction::~ToggleAction </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="aba704136601544df2b496462110fb997"></a><!-- doxytag: member="Gtk::ToggleAction::ToggleAction" ref="aba704136601544df2b496462110fb997" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleAction::ToggleAction </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates an empty toggle action. </p>

</div>
</div>
<a class="anchor" id="ae5780ba6b9b790a0a50e9b119136d24b"></a><!-- doxytag: member="Gtk::ToggleAction::ToggleAction" ref="ae5780ba6b9b790a0a50e9b119136d24b" args="(const Glib::ustring &amp;name, const StockID &amp;stock_id=StockID(), const Glib::ustring &amp;label=Glib::ustring(), const Glib::ustring &amp;tooltip=Glib::ustring(), bool is_active=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ToggleAction::ToggleAction </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>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</em> = <code><a class="el" href="classGtk_1_1StockID.html">StockID</a>()</code>, </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>label</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </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>tooltip</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_active</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a toggle action. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>A unique name for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>stock_id</em>&#160;</td><td>The stock icon to display in widgets representing the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tooltip</em>&#160;</td><td>A tooltip for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_active</em>&#160;</td><td>The default checked state of the action. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Creates a toggle action with an icon name. </p>
<p>The toggle action's icon will reflect the specified icon name in the user's icon theme.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>A unique name for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>icon_name</em>&#160;</td><td>An <a class="el" href="classGtk_1_1IconTheme.html">IconTheme</a> icon name used for widgets representing the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tooltip</em>&#160;</td><td>A tooltip for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_active</em>&#160;</td><td>The default checked state of the action. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2d4625ab6ef3185bc8c433001d18f3dc"></a><!-- doxytag: member="Gtk::ToggleAction::create" ref="a2d4625ab6ef3185bc8c433001d18f3dc" args="(const Glib::ustring &amp;name, const Gtk::StockID &amp;stock_id, const Glib::ustring &amp;label=Glib::ustring(), const Glib::ustring &amp;tooltip=Glib::ustring(), bool is_active=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a>&gt; Gtk::ToggleAction::create </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>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>&amp;&#160;</td>
          <td class="paramname"> <em>stock_id</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>label</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </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>tooltip</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_active</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a toggle action with a stock ID. </p>
<p>The tock ID is used to set a default icon, text and accelerator for the toggle action.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>A unique name for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>stock_id</em>&#160;</td><td>The stock icon to display in widgets representing the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tooltip</em>&#160;</td><td>A tooltip for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_active</em>&#160;</td><td>The default checked state of the action.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1ToggleAction.html" title="An action which can be toggled between two states.">ToggleAction</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a4be41c23fea0054923526e7868a09ffe"></a><!-- doxytag: member="Gtk::ToggleAction::create" ref="a4be41c23fea0054923526e7868a09ffe" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;label=Glib::ustring(), const Glib::ustring &amp;tooltip=Glib::ustring(), bool is_active=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a>&gt; Gtk::ToggleAction::create </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>name</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>label</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </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>tooltip</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_active</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a toggle action. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>A unique name for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tooltip</em>&#160;</td><td>A tooltip for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_active</em>&#160;</td><td>The default checked state of the action.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1ToggleAction.html" title="An action which can be toggled between two states.">ToggleAction</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="afc962ac1e26ba76a2fadf5aa5a747139"></a><!-- doxytag: member="Gtk::ToggleAction::create" ref="afc962ac1e26ba76a2fadf5aa5a747139" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a>&gt; Gtk::ToggleAction::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classGtk_1_1Action.html#ad6fb66a24f9413bcc114ed9a20a8b73c">Gtk::Action</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RadioAction.html#acd2d457874cb832c25545c09866ae8f1">Gtk::RadioAction</a>.</p>

</div>
</div>
<a class="anchor" id="aa508091b9453a2e0623bc2dd6e65c7d5"></a><!-- doxytag: member="Gtk::ToggleAction::create_with_icon_name" ref="aa508091b9453a2e0623bc2dd6e65c7d5" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;icon_name, const Glib::ustring &amp;label, const Glib::ustring &amp;tooltip, bool is_active=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1ToggleAction.html">ToggleAction</a>&gt; Gtk::ToggleAction::create_with_icon_name </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>name</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>icon_name</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>label</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>tooltip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_active</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a toggle action with an icon name. </p>
<p>The toggle action's icon will reflect the specified icon name in the user's icon theme.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>A unique name for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>icon_name</em>&#160;</td><td>An <a class="el" href="classGtk_1_1IconTheme.html">IconTheme</a> icon name used for widgets representing the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>label</em>&#160;</td><td>The label displayed in menu items and on buttons. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tooltip</em>&#160;</td><td>A tooltip for the action. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>is_active</em>&#160;</td><td>The default checked state of the action.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGtk_1_1ToggleAction.html" title="An action which can be toggled between two states.">ToggleAction</a>. </dd></dl>

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

<p>Returns the checked state of the toggle action. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000244">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The checked state of the toggle action. </dd></dl>

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

<p>Returns whether the action should have proxies like a radio action. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000246">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the action should have proxies like a radio action. </dd></dl>

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

<p>Reimplemented from <a class="el" href="classGtk_1_1Action.html#a26fdb0ae841261537abc535ff19dbec2">Gtk::Action</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RadioAction.html#ac0f5faf8c1bcc2554d3dac7ae76f36ac">Gtk::RadioAction</a>.</p>

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

<p>Reimplemented from <a class="el" href="classGtk_1_1Action.html#a225dd5a8ec7a7fd862a279538db1835f">Gtk::Action</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RadioAction.html#ac7bad4bfb5f8b50407645123e58dc162">Gtk::RadioAction</a>.</p>

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

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

<p>Reimplemented from <a class="el" href="classGtk_1_1Action.html#a79b2040ea1ba4b6c446e5bc26b28486c">Gtk::Action</a>.</p>

<p>Reimplemented in <a class="el" href="classGtk_1_1RadioAction.html#a0d08e2c1e27c76c91c33aa095bfe66e8">Gtk::RadioAction</a>.</p>

</div>
</div>
<a class="anchor" id="aaf4f46fdd2c5d8c6e7bc78d0970cabe4"></a><!-- doxytag: member="Gtk::ToggleAction::on_toggled" ref="aaf4f46fdd2c5d8c6e7bc78d0970cabe4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::ToggleAction::on_toggled </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Whether the proxies for this action look like radio action proxies. </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="ae3a00b87021b305a5dfec2f08408a2f0"></a><!-- doxytag: member="Gtk::ToggleAction::property_draw_as_radio" ref="ae3a00b87021b305a5dfec2f08408a2f0" 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::ToggleAction::property_draw_as_radio </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the proxies for this action look like radio action proxies. </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="a44ae541b7dbb01f6679063a456b2b221"></a><!-- doxytag: member="Gtk::ToggleAction::set_active" ref="a44ae541b7dbb01f6679063a456b2b221" args="(bool is_active=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ToggleAction::set_active </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>is_active</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the checked state on the toggle action. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000243">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>is_active</em>&#160;</td><td>Whether the action should be checked or not. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Sets whether the action should have proxies like a radio action. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000245">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>draw_as_radio</em>&#160;</td><td>Whether the action should have proxies like a radio action. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5b89f03eea8734cddaaccda09be65915"></a><!-- doxytag: member="Gtk::ToggleAction::signal_toggled" ref="a5b89f03eea8734cddaaccda09be65915" 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_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::ToggleAction::signal_toggled </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_toggled()</code> </dd></dl>

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

<p>Emits the "toggled" signal on the toggle action. </p>
<dl class="since_2_4"><dt><b><a class="el" href="since_2_4.html#_since_2_4000242">Since gtkmm 2.4:</a></b></dt><dd></dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a885e03ebc822ed31dcf54cfa37a06e05"></a><!-- doxytag: member="Gtk::ToggleAction::wrap" ref="a885e03ebc822ed31dcf54cfa37a06e05" args="(GtkToggleAction *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_1ToggleAction.html">Gtk::ToggleAction</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkToggleAction *&#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/toggleaction.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:22:04 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>