Skip to main content

install_undo

Function install_undo 

Source
pub fn install_undo(stack: &UndoStack)
Expand description

Wire a model::UndoStack to the platform: native fronts (the stock Edit menu, ⌘Z, iOS’s three-finger gestures) where the toolkit has them, and the stack’s own signals for the app’s buttons everywhere (docs/model.md). One call, after the stack exists.