in reply to Re: Display text in Unix window with Perl
in thread Display text in Unix window with Perl
Should work Unix or Windows, and you can cut and paste from outside the Window.use Tk; my $mw = MainWindow -> new(); my $text = $mw -> Scrolled("Text", -height => 45, -wrap => 'word') -> place (#whatever works); then you need these to add, delete and get text to window. $text -> insert('end', $whatever); $text -> delete("1.0",'end'); my $fetch_the_text = $text -> get("1.0","end");
edited: Sat Jul 19 23:41:30 2003 by jeffa - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Display text in Unix window with Perl
by Anonymous Monk on Jul 19, 2003 at 23:26 UTC |