Slaven Rezić > Tk-804.028 > Tk::DropSite

Download:
Tk-804.028.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  34
Open  55
Stalled  15
View/Report Bugs
Module Version: 4.007   Source   Latest Release: Tk-804.032_500

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)
syntax highlighting: