Skip to content

WindowEventDispatchResult

Defined in: api/node/rust-module.d.cts:539

Result of dispatching a window event through Slint’s runtime.

Accepted: 0

Defined in: api/node/rust-module.d.cts:544

The event was handled. For example, a key handler consumed a key press, or the window acted on a resize or close request.


Rejected: 1

Defined in: api/node/rust-module.d.cts:549

The event wasn’t handled: no element consumed it, or a handler actively refused it, such as a close-requested callback returning reject to keep the window open.


© 2026 SixtyFPS GmbH