Gimp.edit_named_copy
Description: Reference for Gimp.edit_named_copy

### Function

# Gimpedit_named_copy

since: 2.4

#### Declaration [src]

    gchar*
    gimp_edit_named_copy (
      const GimpDrawable** drawables,
      const gchar* buffer_name
    )

#### Description [src]

Copy into a named buffer.

This procedure works like gimp_edit_copy(), but additionally stores the copied buffer into a named buffer that will stay available for later pasting, regardless of any intermediate copy or cut operations.

Available since: 2.4

#### Parameters

`drawables`

  Type: An array of `None`

  The drawables to copy from.

  The array must be `NULL`-terminated.
  The data is owned by the caller of the function.

`buffer_name`

  Type: `const gchar*`

  The name of the buffer to create.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gchar*`

         The real name given to the buffer, or NULL if the copy failed.
         The returned value must be freed with g_free().

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.