zng::undo

Function 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.