tbx  0.7.3
Public Member Functions | List of all members
tbx::ButtonSelectedEvent Class Reference

Button has been selected event. More...

#include <buttonselectedlistener.h>

Inheritance diagram for tbx::ButtonSelectedEvent:
tbx::EventInfo

Public Member Functions

 ButtonSelectedEvent (IdBlock &id_block, PollBlock &data)
 Construct the event.
 
bool adjust () const
 Check if adjust was held down.
 
bool select () const
 Check if select was held down.
 
bool return_or_escape () const
 Check if the button was the default button activated by return or the cancel button executed by escape.
 
bool default_button () const
 Button clicked was the default button.
 
bool cancel_button () const
 Button clicked was the cancel button.
 
bool local_button () const
 Button clicked was a local button so the window was not automatically closed.
 
- 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

Button has been selected event.


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