Tk::IDEdragShadowToplevel - Shadow Outline for Showing Drag Motion or Drop Targets |
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 the Tk::IDEdragShadow manpage widget in that it acts like a top-level widget. It can be dragged all around the desktop. the Tk::IDEdragShadow manpage is a subwidget of a Mainwindow/Toplevel and can't be moved/displayed outside of it's Mainwindow/Toplevel.
widthxheight+x+y
.
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.
Usage:
$widget->deiconify;
Withdraw (i.e. withdraw from the screen) the whole widget.
Usage: | |
$widget->withdraw; | |
Tk::IDEdragShadowToplevel - Shadow Outline for Showing Drag Motion or Drop Targets |