Gimp.Image.get_floating_sel

@accepts(Gimp.Image)
@returns(Gimp.Layer)
def get_floating_sel(self):
    # Python wrapper for gimp_image_get_floating_sel()
  

Return the floating selection of the image.

This procedure returns the image's floating selection, if it exists. If it doesn't exist, -1 is returned as the layer ID.

self

The image.

Returns