tbx  0.7.6
Public Member Functions | List of all members
tbx::ScrollListSelectionEvent Class Reference

Item has been selected event. More...

#include <scrolllist.h>

Inheritance diagram for tbx::ScrollListSelectionEvent:
tbx::EventInfo

Public Member Functions

 ScrollListSelectionEvent (IdBlock &id_block, PollBlock &data)
 Construct the event from Toolbox and WIMP event data. More...
 
int index () const
 Index of item event is for.
 
bool double_click () const
 true if index was double-clicked
 
int adjust () const
 true if event was caused by adjust button click
 
- 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

Item has been selected event.

Constructor & Destructor Documentation

◆ ScrollListSelectionEvent()

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