#!/usr/bin/perl -w use strict; use Tk; my $MW = MainWindow->new; my $TX = $MW->Scrolled( 'Text', -wrap => 'none' )->pack( -expand => 'y', -fill => 'both' ); my $t1 = $TX->Scrolled( "Text", width => 20 ); my $t2 = $TX->Scrolled( "Text", width => 20 ); my $t3 = $TX->Scrolled( "Text", width => 20 ); my $t4 = $TX->Scrolled( "Text", width => 20 ); my $t5 = $TX->Scrolled( "Text", width => 20 ); $TX->window('create', 'end', -window => $t1); $TX->window('create', 'end', -window => $t2); $TX->window('create', 'end', -window => $t3); $TX->window('create', 'end', -window => $t4); $TX->window('create', 'end', -window => $t5); MainLoop;