++ed by:
ASB CAC

2 PAUSE users
1 non-PAUSE user.

Christopher Alexander Chavez
and 1 contributors

NAME

Tk::IDEdragDrop - Tk::DragDrop subclass for IDE Drag/Drop Behavior

DESCRIPTION

This is a Tk::DragDrop derived widget with some additional features:

  • The widget responds to button-release events when dragged outside the Tk window.

    For example, dragging a target outside the Tk window (e.g. onto the desktop) and releasing the mouse button doesn't leave the the Drag-Drop token in limbo, like the parent class.

    This feature is needed for the IDE so that windows can be dragged outside the main window (onto the desktop) and be reparented to a top-level window. (e.g. tabs from IDEtabFrame widget can be dragged to the desktop to become top-level windows).

SYNOPSIS

Usage is the same as normal Tk drag/drop usage, except when creating the Drag-Drop Token, use:

 use Tk::IDEdragDrop;
 
 my $dragToken = $widget->IDEdragDrop( ... );