tbx
0.7.3
|
Event information for AboutToBeShown event. More...
#include <abouttobeshownlistener.h>
Public Types | |
enum | ShowType { SHOW_DEFAULT = 0, SHOW_FULL_SPEC = 1, SHOW_TOP_LEFT = 2 } |
How the object has been shown. | |
Public Member Functions | |
AboutToBeShownEvent (IdBlock &id_block, PollBlock &data) | |
Construct from information returned from the toolbox poll. More... | |
ShowType | show_type () const |
Return how the object has been shown. | |
Point & | top_left () const |
Return the top left coordinate where the object will be shown. | |
Point & | top_left () |
Return a reference to the top left coordinate. | |
ShowFullSpec & | full_spec () |
Return a reference to the Full specification of where the object has been shown. 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 | |
Event information for AboutToBeShown event.
Construct from information returned from the toolbox poll.
id_block | block containing relevant object/component ids |
data | data for the event that raised the event. |
|
inline |
Return a reference to the Full specification of where the object has been shown.
show_type() must be SHOW_FULL_SPEC for this to be valid.