NAME
Tk::IDEdragShadowToplevel - Shadow Outline for Showing Drag Motion or Drop Targets
SYNOPSIS
use Tk::IDEdragShadowToplevel;
$TabbedFrame = $widget->IDEdragShadowToplevel
(
-geometry => "30x30+10+30", # Format widthxheight+x+y
);
DESCRIPTION
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.
OPTIONS
- geometry
-
Geometry of the outline frame, in the form
widthxheight+x+y
.
Advertised Subwidgets
- top/bot/left/right
-
4 separate Tk::Toplevel components representing the top/bot/left/right element of the outline.
ATTRIBUTES
None
Methods
MoveToplevelWindow
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
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
Withdraw (i.e. withdraw from the screen) the whole widget.
Usage:
$widget->withdraw;