CAN_NEW_VAR

Static CAN_NEW_VAR 

Source
pub static CAN_NEW_VAR: ContextVar<bool>
Expand description

Defines if on_new and on_pre_new command handlers are enabled in a widget and descendants.

Use can_new to set. Is enabled by default.