Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a main application and dialog windows created with my $dialog = $mw->Toplevel;. I need to keep this top level on top of my main window. This to prevent the "disappearing" of the dialog behind the main window. Until now I solved this problem with my $lifter = $dialog->repeat(100,sub{ $dialog->raise });. The problem is: if I have a drop-down menu in my dialog, the drop-down can not be selected any more, as the "rise" of the dialog window will cover it.
Do you know any other alternatives to achieve the same?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk keep Toplevelwindow on top of its Mainwindow
by Corion (Patriarch) on Jun 26, 2018 at 12:53 UTC | |
|
Re: Tk keep Toplevelwindow on top of its Mainwindow
by zentara (Cardinal) on Jun 26, 2018 at 17:09 UTC | |
|
Re: Tk keep Toplevelwindow on top of its Mainwindow (Tk::DialogBox)
by Anonymous Monk on Jun 26, 2018 at 13:13 UTC | |
|
Re: Tk keep Toplevelwindow on top of its Mainwindow
by Anonymous Monk on Jun 26, 2018 at 20:42 UTC | |
|
Re: Tk keep Toplevelwindow on top of its Mainwindow
by Anonymous Monk on Jun 26, 2018 at 19:51 UTC | |
by Anonymous Monk on Jun 26, 2018 at 23:05 UTC |