in reply to Re^2: Tk: WaitBox widget not grabbing correctly
in thread Tk: WaitBox widget not grabbing correctly
then if you desire to return full WindowManager controls back to the mainwindow, put:my $mw = MainWindow->new(); $mw->geometry("+100+100"); $mw->title("Main Window"); $mw->overrideredirect(1); $mw->bind("<Return>", \&do_dialog);
somewhere in your code where it's convenient, like only if you get a "yes" response.$mw->overrideredirect(0);
You could also set it up to have your popup dialog use overrideredirect too.
|
|---|