MAN page from RedHat Other PerlTk-8.11-1.i386.rpm
ADJUSTER
Section: User Contributed Perl Documentation (1)
Updated: perl 5.004, patch 04
Index NAME
Tk::Adjuster, packAdjust - Allow size of packed widgets to be adjusted by user
SYNOPSIS
use Tk; use Tk::Adjuster;
$widget->packAdjust(?pack options?);
DESCRIPTION
packAdjust calls pack on the widget and then creates an instance of
Tk::Adjuster and packs that ``after'' the widget.
Tk::Adjuster is a Framecontaining a ``line'' and a blob.
Dragging either with Mouse Button-1 results in a line being draggedto indicate new size. Releasing Button submits GeometryRequestson behalf of the widget which will cause the packer to change widget's size.
If Drag is done with Shift button down, then GeometryRequests are madein ``real time'' so that text-flow effects can be seen, but as a lot morework is done behaviour may be sluggish.
If widget is packed with -side => left or -side => right then width isadjusted. If packed -side => top or -side => bottom then height is adjusted.
packPropagate is turned off for the master window to prevent adjustmentchanging overall window size. Similarly packPropagate is turned offfor the managed widget if it has things packed inside it. This is so thatthe GeometryRequests that Tk::Adjuster are not overridden by pack.
NOTES
The `line' which is used to feedback position is in fact a the
Menu|Tk::Menu manpage widgetset to an unorthodox shape, and with a black background.
BUGS
If the size of adjustable widget is increased to the limit there is no longerroom for the
Tk::Adjuster widget. As a work-round it forcibly makes room foritself if it is unmapped. However the ``
grab'' it held will have been lostand button-motion events may be sent to other widgets which are not expectingthem, which can result in error messages.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- NOTES
- BUGS
This document was created byman2html,using the manual pages.