gimp-image-get-active-drawable

Spencer Kimball & Peter Mattis

Description

Get the image's active drawable

Help

This procedure returns the ID of the image's active drawable. This can be either a layer, a channel, or a layer mask. The active drawable is specified by the active image channel. If that is -1, then by the active image layer. If the active image layer has a layer mask and the layer mask is in edit mode, then the layer mask is the active drawable.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

Type Name Description
PF_DRAWABLE drawable The active drawable