OS Manuals

Tk::DropSite(3pm)

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

DropSite(3) perl/Tk Documentation DropSite(3)

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)
2026-10-25 Tk804.036

perl-tk 804.036-r12 · os · ingested 2026-10-26