how do I ensure the focus stays on the primary window ( $win), and the new window ($win2) shows up below the primary?$win->bind('<Return>' => sub { my $win2 = $win->Toplevel; my $image = $win2->Photo; $image->configure(-file=>&nowpic); $win2->Label(-image=>$image)->pack; $win2->title(&nowpic); } );
In reply to window focus and stacking in TK by nop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |