Skip to main content

CAN_CANCEL_VAR

Static CAN_CANCEL_VAR 

Source
pub static CAN_CANCEL_VAR: ContextVar<bool>
Expand description

Defines if on_cancel and on_pre_cancel command handlers are enabled in a widget and descendants.

Use can_cancel to set. Is enabled by default.