pyface.undo.action.undo_action module

class pyface.undo.action.undo_action.UndoAction(**traits)[source]

Bases: pyface.undo.action.abstract_command_stack_action.AbstractCommandStackAction

An action that undos the last command of the active command stack.

perform(event)[source]

Perform the action.