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