in reply to Re: Re: Adding scroll bar in Tk label widget
in thread Adding scroll bar in Tk label widget

Ah I see ... try something like this then ...
my $t = $top->Scrolled('Text',"-relief" => "raised", "-bd" => "2", "-setgrid" => "true")->pack();
This is taken from text_demo which is a script that
should of been installed when you installed Tk. Tk has lots
cool demos that pretty much answer most questions.

Replies are listed 'Best First'.
Re: Re: Re: Re: Adding scroll bar in Tk label widget
by Popcorn Dave (Abbot) on Jun 03, 2002 at 17:40 UTC
    That may work, but what is bothering me is the fact that I'm updating the user's input through a reference. That was the problem I had when I played with the suggestions given - it wasn't updating the results of the regex.

    At this point I'm working out how to just wrap the text every 80 characters. That seems to be the easiest option at this point. : (

    Thanks for that though. I'm going to see if I can incorportate that somehow.

    Some people fall from grace. I prefer a running start...