Perhaps I can lead you in the right direction.
You can call the method geometry on all other toplevels. Than you can type to determine the coordinates from these by taking the lowest X value and the lowest Y value, and add the X size=(highest X - lowest X) and the same for the Y size.
Than you can call the method geometry on the newly created Toplevel with these new parameters.
In most window managers, the newly created Toplevel will than be above the older onces.
I hope that is what you wanted
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
In reply to Re: stay-on-top property for Toplevel for Perl-Tk GUI
by mce
in thread stay-on-top property for Toplevel for Perl-Tk GUI
by Courage
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |