gimp-image-undo-is-enabled

Raphal Quinet <raphael@gimp.org>

Description

Check if the image's undo stack is enabled.

Help

This procedure checks if the image's undo stack is currently enabled or disabled. This is useful when several plugins or scripts call each other and want to check if their caller has already used 'gimp-image-undo-disable' or 'gimp-image-undo-freeze'.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

Type Name Description
PF_INT enabled TRUE if undo is enabled for this image (TRUE or FALSE)