class documentation

class UndoActionGroup(list): (source)

View In Hierarchy

Group of actions that should un-done or re-done in a single step

Inherits from list, so can be treates as a list of actions. See UndoStackManager for more details on undo actions.

Method __init__ Undocumented
Method reversed Returns a new UndoActionGroup with the reverse actions of this group.
Class Variable __slots__ Undocumented
Instance Variable can_merge True when this group can be merged with another group
Instance Variable cursor the position to restore the cursor afre un-/re-doning
def __init__(self): (source)

Undocumented

def reversed(self): (source)
Returns a new UndoActionGroup with the reverse actions of this group.
__slots__: tuple[str, ...] = (source)

Undocumented

can_merge: bool = (source)
True when this group can be merged with another group
cursor = (source)
the position to restore the cursor afre un-/re-doning