DOKK / manpages / debian 12 / 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)
2023-03-23 Tk804.036