Tk::IDElayoutDropSite - Tk::DropSite widget with for the IDElayout Widget
This is a Tk::DropSite derived widget that handles drop-targets for the Tk::IDElayout widget, which features some special drag/drop behavior.
Usage is the same as normal Tk drag/drop usage, except when creating the dropsite, use:
use Tk::IDElayoutDropSite; my $dropSite = $widget->IDElayoutDropSite( ... );
Name of the current Side (left/right/top/bottom) in currentFrame that has been dragged over, as part of a drag-drop operation.
Name of the current Frame that has been dragged over, as part of a drag-drop operation.
Overridden Over Method.
This checks to see if we are dragging close to an edge of a frame. These edges are the drop targets for the IDElayout widget.
Overridden Enter Method.
This turns on the frame-side indicator that shows which frame is the active drop target.
Overridden Leave Method.
This turns off the frame-side indicator that shows which frame is the active drop target.
To install Tk::IDElayout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::IDElayout
CPAN shell
perl -MCPAN -e shell install Tk::IDElayout
For more information on module installation, please visit the detailed CPAN module installation guide.