in reply to Grabbing Text widget's contents after MainLoop
This is close:
use Tk; use Tk::DialogBox; my $mw = new MainWindow(); my $dialog = $mw->DialogBox(-title => "Blah", -buttons => ["OK"]); my $content_window = $dialog->add("Text")->pack(); $dialog->Show(); my $content = $content_window->Contents(); $mw->destroy(); MainLoop; print $content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grabbing Text widget's contents after MainLoop
by GrandFather (Saint) on Jul 22, 2005 at 04:57 UTC | |
by pg (Canon) on Jul 22, 2005 at 05:11 UTC | |
by GrandFather (Saint) on Jul 22, 2005 at 05:16 UTC |