Owning click snapshot used by pipe callbacks; no widget or scene ownership. The callback borrows this value synchronously. A saved copy keeps the event and observing identity, but stopPropagation on that copy cannot affect the original delivery. Metadata is read-only throughout the chain. Copy construction creates a snapshot; assignment is unavailable because the original event fields cannot be replaced.
More...
#include <controls.hpp>
|
| | ClickParams (const ClickEvent &click) |
|
void | stopPropagation () noexcept |
| | Stop remaining callbacks of this activation; the button already consumes router bubbling.
|
|
void | stop () noexcept |
| | Short alias for stopPropagation, affecting the same synchronous chain context.
|
| bool | propagationStopped () const noexcept |
|
|
const Node< Button > | target |
| | Observing activated identity; may become stale after a callback.
|
|
const InputModifiers | mods |
| | Original semantic modifiers, queryable with key tags.
|
|
const ClickSource | source |
| | Actual admitted event origin.
|
|
const RoutedEvent | event |
| | Owning original routed value; keyboard translation preserves its source.
|
Owning click snapshot used by pipe callbacks; no widget or scene ownership. The callback borrows this value synchronously. A saved copy keeps the event and observing identity, but stopPropagation on that copy cannot affect the original delivery. Metadata is read-only throughout the chain. Copy construction creates a snapshot; assignment is unavailable because the original event fields cannot be replaced.
◆ ClickParams()
| portals::ui::ClickParams::ClickParams |
( |
const ClickEvent & | click | ) |
|
|
inlineexplicit |
- Parameters
-
| click | Original owning router activation, copied into this synchronous chain context. |
◆ propagationStopped()
| bool portals::ui::ClickParams::propagationStopped |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- Whether this particular synchronous chain context was stopped.
The documentation for this class was generated from the following file: