tbx
0.7.5
|
Writable field text change event. More...
Public Member Functions | |
WritableFieldTextChangedEvent (IdBlock &id_block, PollBlock &data) | |
Construct the event from Toolbox and WIMP event data. More... | |
virtual | ~WritableFieldTextChangedEvent () |
Virtual destructor. | |
virtual std::string | text_from_gadget () const |
Override in sub class to fetch text from the gadget. More... | |
![]() | |
TextChangedEvent (IdBlock &id_block, PollBlock &data) | |
Construct the event. | |
virtual | ~TextChangedEvent () |
Virtual destructor. | |
bool | too_long () const |
Check if new text was delivered with the toolbox event. More... | |
std::string | text () const |
Get the text 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 | |
![]() | |
std::string | text_from_event () const |
text from event data | |
![]() | |
PollBlock & | _data |
raw data from the event | |
Writable field text change event.
|
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 |
|
inlinevirtual |
Override in sub class to fetch text from the gadget.
Called from the text method if the text wasn't delivered in the event buffer.
Implements tbx::TextChangedEvent.