gimp-image-set-active-layer

Spencer Kimball & Peter Mattis

Description

Sets the specified image's active layer.

Help

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.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_LAYER active-layer The new image active layer

Return

None