<?xml version="1.0"?>
<page id="Gimp.Image.floating_sel_attached_to"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Image" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Drawable</api:type>
      </api:returns>
      <api:name>gimp_image_floating_sel_attached_to</api:name>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.floating_sel_attached_to</title>
  <synopsis><code mime="text/x-gjs">
function floating_sel_attached_to(): <link xref="Gimp.Drawable">Gimp.Drawable</link> {
    // Gjs wrapper for gimp_image_floating_sel_attached_to()
}
  </code></synopsis>
  <p>Return the drawable the floating selection is attached to.</p>  <p>This procedure returns the drawable the image's floating selection
is attached to, if it exists. If it doesn't exist, -1 is returned as
the drawable ID.</p>

<terms>
<item>
<title><code>Returns</code></title>
  <p>
         The drawable the floating selection is attached to.</p>
</item>
</terms>

</page>
