Class: GOffice::UndoBinary

Inherits:
Undo
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Undo

#combine, #undo, #undo_with_data

Constructor Details

#initialize(a, b, undo, fa, fb) ⇒ GOffice::Undo

This function creates a new undo object for undo operations of two arguments. (In addition, an undo-time argument is added for context.)

Parameters:

  • a (GObject)

    first argument for undo operation

  • b (GObject)

    second argument for undo operation

  • undo (GOffice::UndoBinaryFunc)

    function to call with arguments a and b for undo.

  • fa (GLib::FreeFunc)

    optional function to free a.

  • fb (GLib::FreeFunc)

    optional function to free b.