can_new

Function can_new 

Source
pub fn can_new(child: impl IntoUiNode, enabled: impl IntoVar<bool>) -> UiNode
Expand description

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

Sets the CAN_NEW_VAR.