Logo Search packages:      
Sourcecode: matplotlib version File versions

def enthought::traits::ui::undo::UndoHistoryUndoItem::undo (   self  ) 

Undoes the change.

Reimplemented from enthought::traits::ui::undo::AbstractUndoItem.

Definition at line 466 of file undo.py.

00466                      :
        """ Undoes the change.
        """
        history = self.history
        for i in range( history.now - 1, -1, -1 ):
            items = history.history[i]
            for j in range( len( items ) - 1, -1, -1 ):
                items[j].undo()

    #---------------------------------------------------------------------------
    #  Re-does the change:
    #---------------------------------------------------------------------------

    def redo ( self ):


Generated by  Doxygen 1.6.0   Back to index