#include <widgetlistener.hpp>
Interface for receiving generic events from widgets.
When a widget's size, location or visibility changes, the relevant method of the listener is invoked.
- See also
- Widget::addWidgetListener, Widget::removeWidgetListener
Definition at line 25 of file widgetlistener.hpp.
◆ WidgetListener()
| fcn::WidgetListener::WidgetListener |
( |
| ) |
|
|
protecteddefault |
Constructor.
Instances should not be created directly, therefore the constructor is declared protected.
◆ ancestorHidden()
| virtual void fcn::WidgetListener::ancestorHidden |
( |
Event const & | event | ) |
|
|
inlinevirtual |
Invoked when an ancestor of a widget is hidden, i.e its set to be not visible.
- Parameters
-
| event | Describes the event. |
Reimplemented in fcn::Button.
Definition at line 78 of file widgetlistener.hpp.
◆ ancestorMoved()
| virtual void fcn::WidgetListener::ancestorMoved |
( |
Event const & | event | ) |
|
|
inlinevirtual |
Invoked when an ancestor of a widget is moved.
- Parameters
-
| event | Describes the event. |
Definition at line 70 of file widgetlistener.hpp.
◆ ancestorShown()
| virtual void fcn::WidgetListener::ancestorShown |
( |
Event const & | event | ) |
|
|
inlinevirtual |
Invoked when an ancestor of a widget is shown, i.e its set to be visible.
- Parameters
-
| event | Describes the event. |
Definition at line 86 of file widgetlistener.hpp.
◆ widgetHidden()
| virtual void fcn::WidgetListener::widgetHidden |
( |
Event const & | event | ) |
|
|
inlinevirtual |
◆ widgetMoved()
| virtual void fcn::WidgetListener::widgetMoved |
( |
Event const & | event | ) |
|
|
inlinevirtual |
Invoked when a widget is moved.
- Parameters
-
| event | Describes the event. |
Definition at line 47 of file widgetlistener.hpp.
◆ widgetResized()
| virtual void fcn::WidgetListener::widgetResized |
( |
Event const & | event | ) |
|
|
inlinevirtual |
Invoked when a widget changes its size.
- Parameters
-
| event | Describes the event. |
Definition at line 40 of file widgetlistener.hpp.
◆ widgetShown()
| virtual void fcn::WidgetListener::widgetShown |
( |
Event const & | event | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: