gimp_image_undo_enable << INDEX >> gimp_image_undo_is_enabled

gimp_image_undo_freeze (1999)

NAME
gimp_image_undo_freeze - Freeze the image's undo stack.
SYNOPSIS
frozen = gimp_image_undo_freeze (image)
DESCRIPTION
This procedure freezes the image's undo stack, allowing subsequent operations to ignore their undo steps. This is generally called in conjunction with 'gimp_image_undo_thaw' to temporarily disable an image undo stack. This is advantageous because saving undo steps can be time and memory intensive. 'gimp_image_undo_{freeze,thaw}' and 'gimp_image_undo_disable,enable' differ in that the former does not free up all undo steps when undo is thawed, so is more suited to interactive in-situ previews. It is important in this case that the image is back to the same state it was frozen in before thawing, else 'undo' behaviour is undefined.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
RETURN VALUES
TYPENAMEDESCRIPTION
INT32frozenTrue if the image undo has been frozen
SOME SYNTAX ALTERNATIVES
frozen = $image->undo_freeze
AUTHOR
Adam D. Moss
(c)1999 Adam D. Moss


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>