SourceUndoManagerT

Members

Functions

addOnCanRedoChanged
void addOnCanRedoChanged(void delegate(SourceUndoManagerIF) dlg, ConnectFlags connectFlags)

Emitted when the ability to redo has changed.

addOnCanUndoChanged
void addOnCanUndoChanged(void delegate(SourceUndoManagerIF) dlg, ConnectFlags connectFlags)

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 gtk_source_undo_manager_end_not_undoable_action() cannot be undone. This function should be re-entrant.

canRedo
bool canRedo()

Get whether there are redo operations available.

canRedoChanged
void canRedoChanged()

Emits the #GtkSourceUndoManager::can-redo-changed signal.

canUndo
bool canUndo()

Get whether there are undo operations available.

canUndoChanged
void canUndoChanged()

Emits the #GtkSourceUndoManager::can-undo-changed signal.

endNotUndoableAction
void endNotUndoableAction()

Ends a not undoable action on the buffer.

getSourceUndoManagerStruct
GtkSourceUndoManager* getSourceUndoManagerStruct()

Get the main Gtk struct

redo
void redo()

Perform a single redo. Calling this function when there are no redo operations available is an error. Use gtk_source_undo_manager_can_redo() 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 gtk_source_undo_manager_can_undo() to find out if there are undo operations available.

Properties

onCanRedoChangedListeners
void delegate(SourceUndoManagerIF)[] onCanRedoChangedListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onCanUndoChangedListeners
void delegate(SourceUndoManagerIF)[] onCanUndoChangedListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

callBackCanRedoChanged
void callBackCanRedoChanged(GtkSourceUndoManager* sourceundomanagerStruct, SourceUndoManagerIF _sourceundomanager)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCanUndoChanged
void callBackCanUndoChanged(GtkSourceUndoManager* sourceundomanagerStruct, SourceUndoManagerIF _sourceundomanager)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onCanRedoChangedListeners
void delegate(SourceUndoManagerIF)[] _onCanRedoChangedListeners;
Undocumented in source.
_onCanUndoChangedListeners
void delegate(SourceUndoManagerIF)[] _onCanUndoChangedListeners;
Undocumented in source.
connectedSignals
int[string] connectedSignals;
Undocumented in source.

Meta