Undo and Redo

Table C-7. Procedures for Enabling and Disabling Undo/Redo, and Managing Undo Groups

Name

Description

Arguments

gimp_image_enable_undo

Enable the image’s undo stack

image (Image)

The image

Returns:

enabled (Integer)

True if the image undo has been enabled

gimp_image_disable_undo

Disable the image’s undo stack

image (Image)

The image

Returns:

disabled (Integer)

True if the image undo has been disabled

gimp_undo_push_group_end

Finish a group undo

image (Image)

The ID of the image in which to pop an undo group

gimp_undo_push_group_start

Starts a group undo

image (Image)

The ID of the image in which to pop an undo group

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.