summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Tk/DropSite.pod
blob: 8ae5a199fe3e5317f6ac611a98d78552dfa356e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=head1 NAME

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

=for category User Interaction

=head1 SYNOPSIS

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

=head1 DESCRIPTION

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

A DropSite provides the following methods:

=over 4

=item $site->Enter($token,$event)

=item $site->Leave($token,$event)

=item $site->Motion($token,$event)

=item $site->Drop($token,$event)

=back