Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 5389723cfaa070fa83dde30f5cb260be > files > 90

compat-guichan05-devel-0.5.0-11.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Guichan: gcn::ActionListener Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespacegcn.html">gcn</a>::<a class="el" href="classgcn_1_1ActionListener.html">ActionListener</a></div>
<h1>gcn::ActionListener Class Reference</h1><!-- doxytag: class="gcn::ActionListener" --><code>#include &lt;<a class="el" href="actionlistener_8hpp-source.html">actionlistener.hpp</a>&gt;</code>
<p>
<p>Inheritance diagram for gcn::ActionListener:
<p><center><img src="classgcn_1_1ActionListener.png" usemap="#gcn::ActionListener_map" border="0" alt=""></center>
<map name="gcn::ActionListener_map">
<area href="classgcn_1_1DropDown.html" alt="gcn::DropDown" shape="rect" coords="0,56,120,80">
</map>
<a href="classgcn_1_1ActionListener-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Listener of action events from Widgets. 
<p>
To be able to listen for actions you must make a class which inherits from this class and implements the action function.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classgcn_1_1Widget.html#2782a478efbb087830884d9f2dc8b487">Widget::addActionListener</a> </dd></dl>

<p>

<p>
Definition at line <a class="el" href="actionlistener_8hpp-source.html#l00075">75</a> of file <a class="el" href="actionlistener_8hpp-source.html">actionlistener.hpp</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15539005829890078792ce695260114b"></a><!-- doxytag: member="gcn::ActionListener::~ActionListener" ref="15539005829890078792ce695260114b" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ActionListener.html#15539005829890078792ce695260114b">~ActionListener</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcn_1_1ActionListener.html#b7d893aa80cd25f35f48b7dabb90bc33">action</a> (const std::string &amp;eventId, <a class="el" href="classgcn_1_1Widget.html">Widget</a> *widget)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whan an action is recieved from a <a class="el" href="classgcn_1_1Widget.html">Widget</a>.  <a href="#b7d893aa80cd25f35f48b7dabb90bc33"></a><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b7d893aa80cd25f35f48b7dabb90bc33"></a><!-- doxytag: member="gcn::ActionListener::action" ref="b7d893aa80cd25f35f48b7dabb90bc33" args="(const std::string &amp;eventId, Widget *widget)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gcn::ActionListener::action           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>eventId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcn_1_1Widget.html">Widget</a> *&nbsp;</td>
          <td class="paramname"> <em>widget</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Called whan an action is recieved from a <a class="el" href="classgcn_1_1Widget.html">Widget</a>. 
<p>
It is used to be able to recieve a notification that an action has occured.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eventId</em>&nbsp;</td><td>the identifier of the <a class="el" href="classgcn_1_1Widget.html">Widget</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>widget</em>&nbsp;</td><td>a pointer to the <a class="el" href="classgcn_1_1Widget.html">Widget</a> who called this function. </td></tr>
  </table>
</dl>

<p>
Implemented in <a class="el" href="classgcn_1_1DropDown.html#1a91b31ab1f6df25c6d82f2e3cb28093">gcn::DropDown</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="actionlistener_8hpp-source.html">actionlistener.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jul 29 19:38:48 2006 for Guichan by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>