in reply to Tk MainWindow and another TopLevel spawn order
Weird way to write code :) you need to pass arguments to subroutines :)
This is how it works on win32
#!/usr/bin/perl -- use strict; use warnings; use Tk; my $two = tkinit(qw/ -title 2 /); ## second in taskbar my $mw = tkinit(qw/ -title 1 /); ## first in taskbar $mw->focusForce; MainLoop; __END__
Taskbar order on win32 with tk is LIFO
alt+tab order is unrelated to taskbar order
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk MainWindow and another TopLevel spawn order (taskbar order LIFO win32)
by Discipulus (Canon) on Sep 21, 2016 at 08:47 UTC | |
by Anonymous Monk on Sep 21, 2016 at 09:48 UTC |