> I did not realize you could change
> configure attributes without
> re'pack'ing each time
->pack is geometry management.
geometry management will, for the most part,
put the widget in the appropriate spot,
even if the widget changes size.
run this script and keep pressing on the
lower button. it will get longer with
every press, and the geometry manager
will deal with it accordingly.
require 5;
use Tk;
my $top = MainWindow->new();
$top->Button( -text => 'quit',
-command=>sub{Tk::exit();})->pack();
my $text='a';
$top->Button( -textvariable => \$text,
-command=>sub{$text.='a';})->pack();
MainLoop();
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm