GOffice.Undo

g GObject.Object GObject.Object GOffice.Undo GOffice.Undo GObject.Object->GOffice.Undo

Subclasses:

GOffice.UndoBinary, GOffice.UndoGroup, GOffice.UndoUnary

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

combine (b)

undo ()

undo_with_data (data)

Virtual Methods

Inherited:

GObject.Object (7)

do_undo (data)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base

GObject.Object

r

Class Details

class GOffice.Undo(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GOffice.UndoClass

combine(b)
Parameters:

b (GOffice.Undo or None) – last undo operation

Returns:

the combination of two undo operations.

Return type:

GOffice.Undo or None

This function takes ownership of the argument references and gives ownership of the result to the caller. Either argument may be None in which case the other is returned.

undo()

Execute the stored undo operation.

undo_with_data(data)
Parameters:

data (object or None) – user data

Execute the stored undo operation. data is supplied to the undo operation as an extra argument. It is meant not to affect the undo operation in any way, but rather supply a context through which progress and errors can be reported.

do_undo(data) virtual
Parameters:

data (object or None) –