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


Tk documentation  | view source Contained in the Tk distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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)

Tk documentation  | view source Contained in the Tk distribution.