|XP is just a number|
Tk MainWindow and another TopLevel spawn orderby Discipulus (Monsignor)
|on Sep 20, 2016 at 09:23 UTC||Need Help??|
Discipulus has asked for the
wisdom of the Perl Monks concerning the following question:
Hello wise cloister community,
I'm writing a Tk Perl program where i need to spawn immediately a secondary TopLevel window. I generaly use the code similar to that posted below.
All is fine BUT due to the call to the subroutine that draw the secondary windows placed before the MainLoop the secondary window is spawned before the main one and they are ordered incorrectly in the application bar of my OS.
I know the example where a button create a new TopLevel widget, but I want the secondary windows to spawn automatically at start time.
I know that the code is doing what I said it to do; how to code to do what i want?
Thanks in advance
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.