Gimp.edit_named_paste (original) (raw)

Function

Gimpedit_named_paste

since: 2.4

Declaration [src]


GimpLayer*
gimp_edit_named_paste (
  GimpDrawable* drawable,
  const gchar* buffer_name,
  gboolean paste_into
)

Description [src]

Paste named buffer to the specified drawable.

This procedure works like gimp_edit_paste() but pastes a named buffer instead of the global buffer.

Available since: 2.4

Parameters

drawable

Type: GimpDrawable

The drawable to paste to.

The data is owned by the caller of the function.

buffer_name

Type: const gchar*

The name of the buffer to paste.

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

paste_into

Type: gboolean

Clear selection, or paste behind it?

Return value

The data is owned by the called function.