DOKK / manpages / debian 10 / perl-tk / Tk::DropSite.3pm.en
DropSite(3pm) perl/Tk Documentation DropSite(3pm)

Tk::DropSite - Receive side of Drag & Drop abstraction

 use Tk::DropSite qw(...);
 $widget->DropSite(-entercommand => ...,
                   -dropcommand  => ...,
                   -motioncommand  => ...,
                   -dropcommand  => ...,
                  );

"DropSite" creates an object which represents a site on which things may be "Dropped".

A DropSite provides the following methods:

$site->Enter($token,$event)
$site->Leave($token,$event)
$site->Motion($token,$event)
$site->Drop($token,$event)
2018-11-01 Tk804.033