|
constexpr | Event () noexcept=default |
|
constexpr | Event (EventId id) noexcept |
|
constexpr | Event (EventId id, const Key &key) noexcept |
|
constexpr | Event (EventId id, const Pointer &pointer) noexcept |
|
void | grab (Widget *widget) |
| Grab any related following events to this one.
|
|
EGT_NODISCARD const EventId & | id () const noexcept |
| Get the id of the event.
|
|
void | id (EventId id) |
| Change the id of the event.
|
|
Key & | key () |
| Get the Key event data.
|
|
EGT_NODISCARD const Key & | key () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Pointer & | pointer () |
| Get the Pointer event data.
|
|
EGT_NODISCARD const Pointer & | pointer () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
void | postpone_stop () |
| Stop the event from propagating but only after the current handle() completes.
|
|
EGT_NODISCARD bool | postponed_quit () const |
| Was the event scheduled to be stopped just after the latest handle() completes?
|
|
EGT_NODISCARD bool | quit () const |
| Was the event stopped from propagating?
|
|
void | stop () |
| Stop the event from propagating.
|
|
A single event that has information about the event and state for the event.