in reply to Re: Tk MainWindow and another TopLevel spawn order (taskbar order LIFO win32)
in thread Tk MainWindow and another TopLevel spawn order
yes I'm here to learn a better way! ;=)
Many thanks and ++put_your_name_here for the hint about LIFO order, good to know but i'm curious to know where you found this information or if just comes from your tries.
Anyway I prefere the pryrt's solution because your using tkinit is in reality creating two distinct indipendent MainWindows: they appear in LIFO order but if you close one of them the other continue to exist.
How can i retrieve more infos about tkinit anyway? in the Tk source I just see:
@EXPORT = qw(Exists Ev exit MainLoop DoOneEvent tkinit); [..] sub tkinit { return MainWindow->new(@_) }
It is just a shortcut to call for a MainWindow creation?
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk MainWindow and another TopLevel spawn order (taskbar order LIFO win32)
by Anonymous Monk on Sep 21, 2016 at 09:48 UTC |