Base class for events being dispatched through the view hiarchy. More...
#include <event.h>
Public Member Functions | |
virtual | ~EventUI () |
std::shared_ptr< View > | current_target () |
View the event is currently being dispatched to. More... | |
bool | default_prevented () const |
Flag if the event default action should be executed after dispatch. More... | |
EventUIPhase | phase () const |
Current active event phase during dispatch. More... | |
void | prevent_default () |
Prevent default action from being executed after dispatch. More... | |
bool | propagation_stopped () const |
Flag if event propagation should stop. More... | |
void | set_timestamp (long long ts) |
Set event timestamp. More... | |
void | stop_propagation () |
Stops event from propagating further. More... | |
std::shared_ptr< View > | target () |
The target view the event is fired for. More... | |
long long | timestamp () const |
Timestamp for event in milliseconds since 1970. More... | |
Friends | |
class | View |
class | ViewImpl |
class | ViewTree |
Base class for events being dispatched through the view hiarchy.
|
inlinevirtual |
|
inline |
View the event is currently being dispatched to.
|
inline |
Flag if the event default action should be executed after dispatch.
|
inline |
Current active event phase during dispatch.
|
inline |
Prevent default action from being executed after dispatch.
|
inline |
Flag if event propagation should stop.
|
inline |
Set event timestamp.
|
inline |
Stops event from propagating further.
|
inline |
The target view the event is fired for.
|
inline |
Timestamp for event in milliseconds since 1970.
|
friend |
|
friend |
|
friend |