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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

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

A DropSite provides the following methods:

$site-&gt;Enter($token,$event)

$site-&gt;Leave($token,$event)

$site-&gt;Motion($token,$event)

$site-&gt;Drop($token,$event)

2026-10-25 Tk804.036

---

Document: Tk::DropSite(3pm) from perl-tk 804.036-r12 (Chainguard OS)
Source: https://github.com/eserte/perl-tk
