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

Writable field text change event. More...

Inheritance diagram for tbx::WritableFieldTextChangedEvent:
tbx::TextChangedEvent tbx::EventInfo

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...
 
- Public Member Functions inherited from tbx::TextChangedEvent
 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...
 
- 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 Member Functions inherited from tbx::TextChangedEvent
std::string text_from_event () const
 text from event data
 
- Protected Attributes inherited from tbx::EventInfo
PollBlock_data
 raw data from the event
 

Detailed Description

Writable field text change event.

Constructor & Destructor Documentation

◆ WritableFieldTextChangedEvent()

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

◆ text_from_gadget()

virtual std::string tbx::WritableFieldTextChangedEvent::text_from_gadget ( ) const
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.


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