gcn::WidgetListener Class Reference

#include <widgetlistener.hpp>

List of all members.


Detailed Description

Interface for listening for selection events from widgets.

See also:
Widget::addWidgetListener, Widget::removeWidgetListener
Author:
Olof Naessén
Since:
0.8.0

Definition at line 74 of file widgetlistener.hpp.

Public Member Functions

virtual void widgetHidden (const Event &event)
 Invoked when a widget is hidden, i.e it's set to be not visible.
virtual void widgetMoved (const Event &event)
 Invoked when a widget is moved.
virtual void widgetResized (const Event &event)
 Invoked when a widget changes its size.
virtual void widgetShown (const Event &event)
 Invoked when a widget is shown, i.e it's set to be visible.
virtual ~WidgetListener ()
 Destructor.

Protected Member Functions

 WidgetListener ()
 Constructor.


Constructor & Destructor Documentation

gcn::WidgetListener::WidgetListener (  )  [inline, protected]

Constructor.

You should not be able to make an instance of WidgetListener, therefore its constructor is protected.

Definition at line 124 of file widgetlistener.hpp.


Member Function Documentation

virtual void gcn::WidgetListener::widgetHidden ( const Event event  )  [inline, virtual]

Invoked when a widget is hidden, i.e it's set to be not visible.

Parameters:
event Describes the event.
Since:
0.8.0

Definition at line 106 of file widgetlistener.hpp.

virtual void gcn::WidgetListener::widgetMoved ( const Event event  )  [inline, virtual]

Invoked when a widget is moved.

Parameters:
event Describes the event.
Since:
0.8.0

Definition at line 97 of file widgetlistener.hpp.

virtual void gcn::WidgetListener::widgetResized ( const Event event  )  [inline, virtual]

Invoked when a widget changes its size.

Parameters:
event Describes the event.
Since:
0.8.0

Definition at line 89 of file widgetlistener.hpp.

virtual void gcn::WidgetListener::widgetShown ( const Event event  )  [inline, virtual]

Invoked when a widget is shown, i.e it's set to be visible.

Parameters:
event Describes the event.
Since:
0.8.0

Definition at line 115 of file widgetlistener.hpp.


The documentation for this class was generated from the following file:
Generated on Sun Jan 20 21:48:15 2008 for Guichan by  doxygen 1.5.2