tbx
0.7.3
|
Information on event generated when the value of the slider has been changed. More...
#include <slider.h>
Public Member Functions | |
SliderValueChangedEvent (IdBlock &id_block, PollBlock &data) | |
Construct the event from Toolbox and WIMP event data. More... | |
bool | drag_start_or_click () const |
Check if value was changed by a click or start of dragging of the bar. More... | |
bool | drag_in_progress () const |
Check if the drag is in progress. More... | |
bool | drag_ended () const |
Check if this is the end of a drag. More... | |
![]() | |
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... | |
![]() | |
EventInfo (const IdBlock &id_block, PollBlock &data) | |
Contruct the event information from the id_block and data update by the toolbox. | |
const IdBlock & | id_block () const |
IdBlock for the current event. More... | |
Additional Inherited Members | |
![]() | |
PollBlock & | _data |
raw data from the event | |
Information on event generated when the value of the slider has been changed.
|
inline |
Construct the event from Toolbox and WIMP event data.
id_block | Toolbox IDs for this event |
data | Information returned from the WIMP for this event |
|
inline |
Check if this is the end of a drag.
|
inline |
Check if the drag is in progress.
|
inline |
Check if value was changed by a click or start of dragging of the bar.