SourceUndoManagerIF

Members

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(bool transferOwnership)

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 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

getType
GType getType()

Meta