Keep It Simple, Stupid | |
PerlMonks |
Re: Tk MainWindow and another TopLevel spawn orderby Corion (Patriarch) |
on Sep 20, 2016 at 09:29 UTC ( [id://1172210]=note: print w/replies, xml ) | Need Help?? |
One ugly (ugly!) way that comes immediately to my mind is to use Tk::after:
I'm sure there also is a Tk event that is fired once the main window has drawn itself, and maybe you can initialize your secondary window from there? I don't readily see convenient callbacks for Window events in the Tk documentation, but there should be more things than just timer events.
In Section
Seekers of Perl Wisdom
|
|