gimp-image-find-next-guide

Adam D. Moss

Description

Find next guide on an image.

Help

This procedure takes an image and a guide ID as input and finds the guide ID of the successor of the given guide ID in the image's guide list. If the supplied guide ID is 0, the procedure will return the first Guide. The procedure will return 0 if given the final guide ID as an argument or the image has no guides.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_INT guide The ID of the current guide (0 if first invocation)

Return

Type Name Description
PF_INT next-guide The next guide's ID