undo_is_enabled


Description:

public bool undo_is_enabled ()

Check if the image's undo stack is enabled.

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

Parameters:

this

The image.

Returns:

TRUE if undo is enabled for this image.