gimp_image_set_active_layer - Sets the specified image's active layer.
SYNOPSIS
gimp_image_set_active_layer (image,active_layer)
DESCRIPTION
If the layer exists, it is set as the active layer in the image. Any previous active layer or channel is set to inactive. An exception is a previously existing floating selection, in which case this procedure will return an execution error.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
LAYER
active_layer
The new image active layer
SOME SYNTAX ALTERNATIVES
$image->set_active_layer (active_layer)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis