in reply to Re^3: Tk multiple monitor problem
in thread Tk multiple monitor problem
I did look at DialogBox.pm and a few others. This is why I feld that probably the Show routine was at fault. I did not know where to find Popup till your message, however. In Wm.pm I now see it. Indeed, this part of it would appear to cause the problem.
# adjust to not cross screen borders if ($X < 0) { $X = 0 }
Unfortunately, when I change this line my code runs the same. So I'm mystified.
Also in Wm.pm I noted the Post routine. It contains this.
$w->geometry("+$X+$Y"); # $w->MoveToplevelWindow($X,$Y);
I'm guessing that the commented out MoveToplevelWindow call was replaced by the one to geometry (which works OK on multiple monitors).
Thanks for the leads, however. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Tk multiple monitor problem
by Argel (Prior) on Mar 12, 2012 at 19:12 UTC | |
by JohnRS (Scribe) on Mar 13, 2012 at 12:57 UTC | |
by Argel (Prior) on Mar 13, 2012 at 20:11 UTC | |
by JohnRS (Scribe) on Mar 14, 2012 at 08:11 UTC | |
by Argel (Prior) on Mar 16, 2012 at 14:21 UTC |