#include <actionlistener.hpp>
Inheritance diagram for gcn::ActionListener:

To be able to listen for actions you must make a class which inherits from this class and implements the action function.
Definition at line 75 of file actionlistener.hpp.
Public Member Functions | |
| virtual | ~ActionListener () |
| Destructor. | |
| virtual void | action (const std::string &eventId, Widget *widget)=0 |
| Called whan an action is recieved from a Widget. | |
| virtual void gcn::ActionListener::action | ( | const std::string & | eventId, | |
| Widget * | widget | |||
| ) | [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.
| eventId | the identifier of the Widget. | |
| widget | a pointer to the Widget who called this function. |
Implemented in gcn::DropDown.
1.4.7