tbx  0.7.3
Public Member Functions | List of all members
tbx::ValueChangedEvent Class Reference

Event details for a change of an integer value in a gadget. More...

#include <valuechangedlistener.h>

Inheritance diagram for tbx::ValueChangedEvent:
tbx::EventInfo tbx::SliderValueChangedEvent

Public Member Functions

 ValueChangedEvent (IdBlock &id_block, PollBlock &data)
 Construct the event from Toolbox and WIMP event data. More...
 
int value () const
 Get the value of the gadget that delivered the event. More...
 
- Public Member Functions inherited from tbx::EventInfo
 EventInfo (const IdBlock &id_block, PollBlock &data)
 Contruct the event information from the id_block and data update by the toolbox.
 
const IdBlockid_block () const
 IdBlock for the current event. More...
 

Additional Inherited Members

- Protected Attributes inherited from tbx::EventInfo
PollBlock_data
 raw data from the event
 

Detailed Description

Event details for a change of an integer value in a gadget.

See Also
ValueChangedListener

Constructor & Destructor Documentation

tbx::ValueChangedEvent::ValueChangedEvent ( IdBlock id_block,
PollBlock data 
)
inline

Construct the event from Toolbox and WIMP event data.

Parameters
id_blockToolbox IDs for this event
dataInformation returned from the WIMP for this event

Member Function Documentation

int tbx::ValueChangedEvent::value ( ) const
inline

Get the value of the gadget that delivered the event.

Returns
the gadget value.

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