gimp_edit_copy - Copy from the specified drawable.
SYNOPSIS
gimp_edit_copy (drawable)
DESCRIPTION
If there is a selection in the image, then the area specified by the selection is copied from the specified drawable and placed in an internal GIMP edit buffer. It can subsequently be retrieved using the 'gimp-edit-paste' command. If there is no selection, then the specified drawable's contents will be stored in the internal GIMP edit buffer. The drawable MUST belong to the specified image, or an error is returned.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The drawable to copy from
SOME SYNTAX ALTERNATIVES
$drawable->edit_copy
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis