tbx
0.7.6
|
Event data for lose or gain caret listener. More...
#include <caretlistener.h>
Public Member Functions | |
CaretEvent (IdBlock &id_block, PollBlock &poll_block) | |
Construct from toolbox event information. More... | |
Window | window () const |
Get Window that is losing (LoseCaretListener) or gaining (GainCaretListener) the caret. More... | |
Gadget | gadget () const |
Get the gadget that is losing (LoseCaretListener) or gaining (GainCaretListener) the focus. More... | |
int | x_offset () const |
Get the current x offset of the caret relative to the window origin. | |
int | y_offset () const |
Get the current y offset of the caret relative to the window origin. | |
int | height () const |
Get the height of the caret. | |
int | colour () const |
Get caret colour - if colour set. | |
bool | vdu () const |
Is it a vdu caret. More... | |
bool | invisible () const |
Invisible caret. | |
bool | uses_colour () const |
caret_color is used for the colour otherwise caret is Wimp colour 11 | |
bool | colour_untranslated () const |
Colour is untranslated, otherwise they are a Wimp colour. | |
int | index () const |
The index of the caret into the writeable field or -1 if not in a writeable field. | |
![]() | |
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 data for lose or gain caret listener.
Construct from toolbox event information.
id_block | Object/component data |
poll_block | event information |
|
inline |
Get the gadget that is losing (LoseCaretListener) or gaining (GainCaretListener) the focus.
|
inline |
Is it a vdu caret.
|
inline |
Get Window that is losing (LoseCaretListener) or gaining (GainCaretListener) the caret.