| 1 |
=head1 NAME |
| 2 |
|
| 3 |
Tk::DropSite - Receive side of Drag & Drop abstraction |
| 4 |
|
| 5 |
=for category User Interaction |
| 6 |
|
| 7 |
=head1 SYNOPSIS |
| 8 |
|
| 9 |
use Tk::DropSite qw(...); |
| 10 |
$widget->DropSite(-entercommand => ..., |
| 11 |
-dropcommand => ..., |
| 12 |
-motioncommand => ..., |
| 13 |
-dropcommand => ..., |
| 14 |
); |
| 15 |
|
| 16 |
=head1 DESCRIPTION |
| 17 |
|
| 18 |
C<DropSite> creates an object which represents a site on which things |
| 19 |
may be "Dropped". |
| 20 |
|
| 21 |
A DropSite provides the following methods: |
| 22 |
|
| 23 |
=over 4 |
| 24 |
|
| 25 |
=item $site->Enter($token,$event) |
| 26 |
|
| 27 |
=item $site->Leave($token,$event) |
| 28 |
|
| 29 |
=item $site->Motion($token,$event) |
| 30 |
|
| 31 |
=item $site->Drop($token,$event) |
| 32 |
|
| 33 |
=back |