FifeGUI 0.2.0
A C++ GUI library designed for games.
fcn::SelectionListener Class Reference

#include <selectionlistener.hpp>

Inheritance diagram for fcn::SelectionListener:
fcn::DropDown

Public Member Functions

SelectionListener & operator= (SelectionListener &&)=default
SelectionListener & operator= (SelectionListener const &)=default
 SelectionListener (SelectionListener &&)=default
 SelectionListener (SelectionListener const &)=default
virtual void valueChanged (SelectionEvent const &event)

Protected Member Functions

 SelectionListener ()=default

Detailed Description

Constructor & Destructor Documentation

◆ SelectionListener()

fcn::SelectionListener::SelectionListener ( )
protecteddefault

Constructor.

Instances should not be created directly, therefore the constructor is declared protected.

Member Function Documentation

◆ valueChanged()

virtual void fcn::SelectionListener::valueChanged ( SelectionEvent const & event)
inlinevirtual

Called when the value of a selection has been changed in a Widget.

It is used to be able to receive a notification that a value has been changed.

Parameters
eventThe event of the value change.

Reimplemented in fcn::DropDown.

Definition at line 42 of file selectionlistener.hpp.


The documentation for this class was generated from the following file: