I've got one that is stumping me here.
I wrote a program for an advanced perl class I took that is a regular expressions trainer. So far so good...
I have had a need to use it for a rather long bit of text that I needed to write a regex for and wasn't having any luck with the write-test-write approach in my editor as the resulting text was too long and I couldn't scroll to see it all.
I want to add a scroll bar at this point:
my $restxt=$top->Label(width=>WIDTH, -textvariable=>\$match_results, -bg=>'white', -relief=>'groove', -font=>14, -height=>10, -justify=>'left', )->pack(-side=>'top');
but I'm unclear on how this can be done. I tried to change this to a listbox but that failed spectacularly.
Can anyone point me in a direction on this one?
Thanks!
Some people fall from grace. I prefer a running start...
In reply to Adding scroll bar in Tk label widget by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |