GtkSource.UndoManager¶
| Implementations: | |
|---|---|
| None | |
Methods¶
begin_not_undoable_action () |
|
can_redo () |
|
can_redo_changed () |
|
can_undo () |
|
can_undo_changed () |
|
end_not_undoable_action () |
|
redo () |
|
undo () |
Virtual Methods¶
do_begin_not_undoable_action () |
|
do_can_redo () |
|
do_can_redo_changed () |
|
do_can_undo () |
|
do_can_undo_changed () |
|
do_end_not_undoable_action () |
|
do_redo () |
|
do_undo () |
Properties¶
None
Signals¶
| Name | Short Description |
|---|---|
can-redo-changed |
Emitted when the ability to redo has changed. |
can-undo-changed |
Emitted when the ability to undo has changed. |
Fields¶
None
Class Details¶
-
class
GtkSource.UndoManager¶ Bases: GObject.GInterfaceStructure: GtkSource.UndoManagerIface-
begin_not_undoable_action()¶ Begin a not undoable action on the buffer. All changes between this call and the call to
GtkSource.UndoManager.end_not_undoable_action() cannot be undone. This function should be re-entrant.New in version 2.10.
-
can_redo()¶ Returns: Trueif there are redo operations available,FalseotherwiseReturn type: boolGet whether there are redo operations available.
New in version 2.10.
-
can_redo_changed()¶ Emits the
GtkSource.UndoManager::can-redo-changedsignal.New in version 2.10.
-
can_undo()¶ Returns: Trueif there are undo operations available,FalseotherwiseReturn type: boolGet whether there are undo operations available.
New in version 2.10.
-
can_undo_changed()¶ Emits the
GtkSource.UndoManager::can-undo-changedsignal.New in version 2.10.
-
end_not_undoable_action()¶ Ends a not undoable action on the buffer.
New in version 2.10.
-
redo()¶ Perform a single redo. Calling this function when there are no redo operations available is an error. Use
GtkSource.UndoManager.can_redo() to find out if there are redo operations available.New in version 2.10.
-
undo()¶ Perform a single undo. Calling this function when there are no undo operations available is an error. Use
GtkSource.UndoManager.can_undo() to find out if there are undo operations available.New in version 2.10.
-
do_begin_not_undoable_action() virtual¶ Begin a not undoable action on the buffer. All changes between this call and the call to
GtkSource.UndoManager.end_not_undoable_action() cannot be undone. This function should be re-entrant.New in version 2.10.
-
do_can_redo() virtual¶ Returns: Trueif there are redo operations available,FalseotherwiseReturn type: boolGet whether there are redo operations available.
New in version 2.10.
-
do_can_redo_changed() virtual¶ Emits the
GtkSource.UndoManager::can-redo-changedsignal.New in version 2.10.
-
do_can_undo() virtual¶ Returns: Trueif there are undo operations available,FalseotherwiseReturn type: boolGet whether there are undo operations available.
New in version 2.10.
-
do_can_undo_changed() virtual¶ Emits the
GtkSource.UndoManager::can-undo-changedsignal.New in version 2.10.
-
do_end_not_undoable_action() virtual¶ Ends a not undoable action on the buffer.
New in version 2.10.
-
do_redo() virtual¶ Perform a single redo. Calling this function when there are no redo operations available is an error. Use
GtkSource.UndoManager.can_redo() to find out if there are redo operations available.New in version 2.10.
-
do_undo() virtual¶ Perform a single undo. Calling this function when there are no undo operations available is an error. Use
GtkSource.UndoManager.can_undo() to find out if there are undo operations available.New in version 2.10.
-
Signal Details¶
-
GtkSource.UndoManager.signals.can_redo_changed(undo_manager)¶ Signal Name: can-redo-changedFlags: RUN_LAST,ACTIONParameters: undo_manager ( GtkSource.UndoManager) – The object which received the signalEmitted when the ability to redo has changed.
New in version 2.10.
-
GtkSource.UndoManager.signals.can_undo_changed(undo_manager)¶ Signal Name: can-undo-changedFlags: RUN_LAST,ACTIONParameters: undo_manager ( GtkSource.UndoManager) – The object which received the signalEmitted when the ability to undo has changed.
New in version 2.10.