Function zng_wgt_undo::undo_scope

source ยท
pub fn undo_scope(
    child: impl UiNode,
    is_scope: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P Sets if the widget is an undo scope.

If true the widget will handle UNDO_CMD and REDO_CMD for all undo actions that happen inside it.