Tk::IDEdragShadowToplevel - Shadow Outline for Showing Drag Motion or Drop Targets
use Tk::IDEdragShadowToplevel; $TabbedFrame = $widget->IDEdragShadowToplevel ( -geometry => "30x30+10+30", # Format widthxheight+x+y );
This is a composite widget that implements a grey outline frame that can be used to show window shapes when dragging, or drop-target areas.
This differs from the releated Tk::IDEdragShadow widget in that it acts like a top-level widget. It can be dragged all around the desktop. Tk::IDEdragShadow is a subwidget of a Mainwindow/Toplevel and can't be moved/displayed outside of it's Mainwindow/Toplevel.
Geometry of the outline frame, in the form widthxheight+x+y.
widthxheight+x+y
4 separate Tk::Toplevel components representing the top/bot/left/right element of the outline.
None
Moves the whole widget to a new location on the screen.
Usage:
$widget->moveToplevelWindow($x,$y); where: $x/$y are the x/y screen coords to move the upper right corner of the widget to.
Deiconify (i.e. make visible) the whole widget. This would normally be called after calling withdraw to make the widget visible again.
$widget->deiconify;
Withdraw (i.e. withdraw from the screen) the whole widget.
$widget->withdraw;
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.