GtkSource.UndoManager¶
- Implementations:
None
Methods¶
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
---|---|
Emitted when the ability to redo has changed. |
|
Emitted when the ability to undo has changed. |
Fields¶
None
Class Details¶
- class GtkSource.UndoManager¶
- Bases:
- Structure:
- 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()¶
-
Get whether there are redo operations available.
New in version 2.10.
- can_redo_changed()¶
Emits the
GtkSource.UndoManager
::can-redo-changed
signal.New in version 2.10.
- can_undo()¶
-
Get whether there are undo operations available.
New in version 2.10.
- can_undo_changed()¶
Emits the
GtkSource.UndoManager
::can-undo-changed
signal.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¶
-
Get whether there are redo operations available.
New in version 2.10.
- do_can_redo_changed() virtual¶
Emits the
GtkSource.UndoManager
::can-redo-changed
signal.New in version 2.10.
- do_can_undo() virtual¶
-
Get whether there are undo operations available.
New in version 2.10.
- do_can_undo_changed() virtual¶
Emits the
GtkSource.UndoManager
::can-undo-changed
signal.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-changed
- Flags:
- Parameters:
undo_manager (
GtkSource.UndoManager
) – The object which received the signal
Emitted when the ability to redo has changed.
New in version 2.10.
- GtkSource.UndoManager.signals.can_undo_changed(undo_manager)¶
- Signal Name:
can-undo-changed
- Flags:
- Parameters:
undo_manager (
GtkSource.UndoManager
) – The object which received the signal
Emitted when the ability to undo has changed.
New in version 2.10.