# Gimp.Selection.float

    @accepts(Gimp.Image, int, [Gimp.Drawable], int, int)
    @returns(Gimp.Layer)
    def float(image, n_drawables, drawables, offx, offy):
        # Python wrapper for gimp_selection_float()

Float the selection from the specified drawable with initial offsets as specified.

This procedure determines the region of the specified drawable that lies beneath the current selection. The region is then cut from the drawable and the resulting data is made into a new layer which is instantiated as a floating selection. The offsets allow initial positioning of the new floating selection.

image

  ignored

n_drawables

  Size of drawables.

drawables

  The drawables from which to float selection.

offx

  x offset for translation.

offy

  y offset for translation.

Returns