SourceUndoManagerT

Members

Classes

OnCanRedoChangedDelegateWrapper
class OnCanRedoChangedDelegateWrapper
Undocumented in source.
OnCanUndoChangedDelegateWrapper
class OnCanUndoChangedDelegateWrapper
Undocumented in source.

Functions

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

Emitted when the ability to redo has changed.

addOnCanUndoChanged
gulong 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.

Static functions

callBackCanRedoChanged
void callBackCanRedoChanged(GtkSourceUndoManager* sourceundomanagerStruct, OnCanRedoChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCanRedoChangedDestroy
void callBackCanRedoChangedDestroy(OnCanRedoChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCanUndoChanged
void callBackCanUndoChanged(GtkSourceUndoManager* sourceundomanagerStruct, OnCanUndoChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCanUndoChangedDestroy
void callBackCanUndoChangedDestroy(OnCanUndoChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta