SourceUndoManagerIF

Members

Functions

addOnCanRedoChanged
gulong addOnCanRedoChanged(void delegate(SourceUndoManagerIF) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

Emitted when the ability to redo has changed.

addOnCanUndoChanged
gulong addOnCanUndoChanged(void delegate(SourceUndoManagerIF) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

Emitted when the ability to undo has changed.

beginNotUndoableAction
void beginNotUndoableAction()

Begin a not undoable action on the buffer. All changes between this call and the call to Source.undoManagerEndNotUndoableAction cannot be undone. This function should be re-entrant.

canRedo
bool canRedo()

Get whether there are redo operations available.

canRedoChanged
void canRedoChanged()

Emits the can-redo-changed signal.

canUndo
bool canUndo()

Get whether there are undo operations available.

canUndoChanged
void canUndoChanged()

Emits the can-undo-changed signal.

endNotUndoableAction
void endNotUndoableAction()

Ends a not undoable action on the buffer.

getSourceUndoManagerStruct
GtkSourceUndoManager* getSourceUndoManagerStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

redo
void redo()

Perform a single redo. Calling this function when there are no redo operations available is an error. Use Source.undoManagerCanRedo to find out if there are redo operations available.

undo
void undo()

Perform a single undo. Calling this function when there are no undo operations available is an error. Use Source.undoManagerCanUndo to find out if there are undo operations available.

Static functions

getType
GType getType()

Meta