Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

gcn::ActionListener Class Reference

#include <actionlistener.hpp>

Inheritance diagram for gcn::ActionListener:

gcn::DropDown List of all members.

Detailed Description

Listener of action events from Widgets.

To be able to listen for actions you must make a class which inherits from this class and implements the action function.

See also:
Widget::addActionListener

Definition at line 71 of file actionlistener.hpp.

Public Member Functions

virtual ~ActionListener ()
 Destructor.
virtual void action (const std::string &eventId)=0
 Called whan an action is recieved from a Widget.


Member Function Documentation

virtual void gcn::ActionListener::action const std::string &  eventId  )  [pure virtual]
 

Called whan an action is recieved from a Widget.

It is used to be able to recieve a notification that an action has occured.

Parameters:
eventId the identifier of the Widget.

Implemented in gcn::DropDown.


The documentation for this class was generated from the following file:
Generated on Tue May 17 21:23:26 2005 for Guichan by  doxygen 1.4.1