John Cerney > Tk-IDElayout > Tk::IDElayoutDropSite

Download:
Tk-IDElayout-0.33.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.33   Source  

NAME ^

Tk::IDElayoutDropSite - Tk::DropSite widget with for the IDElayout Widget

DESCRIPTION ^

This is a Tk::DropSite derived widget that handles drop-targets for the Tk::IDElayout widget, which features some special drag/drop behavoir.

SYNOPSIS ^

Usage is the same as normal Tk drag/drop usage, except when creating the dropsite, use:

 use Tk::IDElayoutDropSite;
 
 my $dropSite = $widget->IDElayoutDropSite( ... );

ATTRIBUTES ^

currentSide

Name of the current Side (left/right/top/bottom) in currentFrame that has been dragged over, as part of a drag-drop operation.

currentFrame

Name of the current Frame that has been dragged over, as part of a drag-drop operation.

METHODS ^

Over

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.

Enter

Overridden Enter Method.

This turns on the frame-side indicator that shows which frame is the active drop target.

Leave

Overridden Leave Method.

This turns off the frame-side indicator that shows which frame is the active drop target.

syntax highlighting: