|
FifeGUI 0.3.0
A C++ GUI library designed for games.
|
#include <actionlistener.hpp>
Public Member Functions | |
| virtual void | action (ActionEvent const &actionEvent)=0 |
| ActionListener (ActionListener &&)=delete | |
| ActionListener (ActionListener const &)=delete | |
| ActionListener & | operator= (ActionListener &&)=delete |
| ActionListener & | operator= (ActionListener const &)=delete |
Protected Member Functions | |
| ActionListener ()=default | |
Interface for listening to action events from widgets.
Definition at line 27 of file actionlistener.hpp.
|
protecteddefault |
Protected default constructor.
Instances should not be created directly, therefore the constructor is declared protected.
|
pure virtual |
Handles an action event emitted by a widget.
Invoked when a widget triggers an action, providing details about the event via the ActionEvent object.
| actionEvent | The action event data. |
Implemented in fcn::ActivityBar, fcn::DropDown, fcn::MenuBar, fcn::MenuPopup, and fcn::TabbedArea.