---
name: "Tk::DropSite"
section: "3pm"
platform: "linux"
package: "perl-tk"
version: "804.036-9"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Tk::DropSite"
---

# Tk::DropSite(3pm)

Receive side of Drag & Drop abstraction

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

`"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)
