2) When I try to open a new main window via Toplevel, I get what amounts to a second application running
use the Tk::Dialog or the Tk::DialogBox widget:
$dialog= $mw->Dialog(-title => 'dialog', -text => 'are you sure?', -default_button => 'OK', -buttons => [ 'OK', 'Cancel'])->Show( ); if ($answer eq 'OK') { }
Software speaks in tongues of man.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.
In reply to Re: Perl/Tk Oddities
by Erez
in thread Perl/Tk Oddities
by TomKane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |