enable.tools.pyface.undo_tool module¶
UndoTool¶
Tool that triggers undo or redo when keys are pressed.
-
class
enable.tools.pyface.undo_tool.UndoTool(component=None, **traits)[source]¶ Bases:
enable.tools.pyface.command_tool.BaseUndoToolTool that triggers undo or redo when keys are pressed
-
redo_keys= List(Instance(KeySpec), [ctrl_shift_z])¶ the key sequences which trigger redo actions
-
undo_keys= List(Instance(KeySpec), [ctrl_z])¶ the key sequences which trigger undo actions
-