Gimp.Image.get_active_drawable

@accepts(Gimp.Image)
@returns(Gimp.Drawable)
def get_active_drawable(self):
    # Python wrapper for gimp_image_get_active_drawable()
  

Get the image's active drawable

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.

self

The image.

Returns