Tk::DropSite.3pm

Langue: en

Autres versions - même langue

Version: 2003-07-19 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

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)