Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $top2 = MainWindow->new(); my $waitbox = $top2->WaitBox(-title=>"Connecting to agent $port", -txt1=>"Connecting to Agent $port.\nConnection will be establ +ished when this box closes.\n", -cancelroutine=>sub { print "\nCancelling...\n"; $top2->unShow; die} ); fork and $waitbox->Show; #do some non-graphical background stuff in here $waitbox->unShow; MainLoop(); <p>
But this seems to consistently cause a page fault in TK.DLL.
Ideas on how to implement this?
Thanks,
Glenn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/Tk and "wait" box
by kschwab (Vicar) on Aug 17, 2001 at 03:02 UTC | |
by Ven'Tatsu (Deacon) on Aug 17, 2001 at 05:47 UTC | |
by Anonymous Monk on Aug 17, 2001 at 19:17 UTC | |
by Anonymous Monk on Aug 17, 2001 at 20:44 UTC | |
|
Re: Perl/Tk and "wait" box
by mattr (Curate) on Aug 20, 2001 at 14:42 UTC |