Tk::IDEdragDrop - Tk::DragDrop subclass for IDE Drag/Drop Behavoir |
Tk::IDEdragDrop - Tk::DragDrop subclass for IDE Drag/Drop Behavoir
This is a the Tk::DragDrop manpage derived widget with some additional features:
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).
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( ... );
Tk::IDEdragDrop - Tk::DragDrop subclass for IDE Drag/Drop Behavoir |