GimpUndoStack

GimpUndoStack

Synopsis

                    GimpUndoStack;
GimpUndoStack *     gimp_undo_stack_new                 (GimpImage *image);
void                gimp_undo_stack_push_undo           (GimpUndoStack *stack,
                                                         GimpUndo *undo);
GimpUndo *          gimp_undo_stack_pop_undo            (GimpUndoStack *stack,
                                                         GimpUndoMode undo_mode,
                                                         GimpUndoAccumulator *accum);
GimpUndo *          gimp_undo_stack_free_bottom         (GimpUndoStack *stack,
                                                         GimpUndoMode undo_mode);
GimpUndo *          gimp_undo_stack_peek                (GimpUndoStack *stack);
gint                gimp_undo_stack_get_depth           (GimpUndoStack *stack);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpUndo
                     +----GimpUndoStack

Implemented Interfaces

GimpUndoStack implements GimpConfigInterface.

Description

Details

GimpUndoStack

typedef struct _GimpUndoStack GimpUndoStack;


gimp_undo_stack_new ()

GimpUndoStack *     gimp_undo_stack_new                 (GimpImage *image);


gimp_undo_stack_push_undo ()

void                gimp_undo_stack_push_undo           (GimpUndoStack *stack,
                                                         GimpUndo *undo);


gimp_undo_stack_pop_undo ()

GimpUndo *          gimp_undo_stack_pop_undo            (GimpUndoStack *stack,
                                                         GimpUndoMode undo_mode,
                                                         GimpUndoAccumulator *accum);


gimp_undo_stack_free_bottom ()

GimpUndo *          gimp_undo_stack_free_bottom         (GimpUndoStack *stack,
                                                         GimpUndoMode undo_mode);


gimp_undo_stack_peek ()

GimpUndo *          gimp_undo_stack_peek                (GimpUndoStack *stack);


gimp_undo_stack_get_depth ()

gint                gimp_undo_stack_get_depth           (GimpUndoStack *stack);