### Function

# Gimp floating_sel_attach

unstable since: 3.0

#### Declaration [src]

    gboolean
    gimp_floating_sel_attach (
      GimpLayer* layer,
      GimpDrawable* drawable
    )

#### Description [src]

Attach the specified layer as floating to the specified drawable.

This procedure attaches the layer as floating selection to the drawable.

Available since: 3.0

#### Parameters

`layer`

  Type: `GimpLayer`

  The layer (is attached as floating selection).

  The data is owned by the caller of the function.

`drawable`

  Type: `GimpDrawable`

  The drawable (where to attach the floating selection).

  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

TRUE on success.