tbx  0.7.5
Public Member Functions | List of all members
tbx::RadioButtonStateChangedEvent Class Reference

Event information for RadioStateButton event that is generated when a radio buttons state changes. More...

#include <radiobutton.h>

Inheritance diagram for tbx::RadioButtonStateChangedEvent:
tbx::EventInfo

Public Member Functions

 RadioButtonStateChangedEvent (IdBlock &id_block, PollBlock &data)
 Construct the event from Toolbox and WIMP event data. More...
 
bool adjust () const
 return true if state was changed by adjust
 
bool select () const
 return true if state was changed by select
 
bool on () const
 return true if state changed to on, otherwise false
 
RadioButton old_on () const
 Return the previous radio button that was on.
 
- 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 information for RadioStateButton event that is generated when a radio buttons state changes.

Constructor & Destructor Documentation

◆ RadioButtonStateChangedEvent()

tbx::RadioButtonStateChangedEvent::RadioButtonStateChangedEvent ( 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

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