Home > Archive > Tcl > May 2006 > Position of toplevel window on RHE3.0 versus RHE 4.0.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Position of toplevel window on RHE3.0 versus RHE 4.0.
|
|
| parkerj 2006-05-22, 7:11 pm |
| Up until now while using RedHat 7.1, 7.3, and Enterprise 3.0, all my
Tcl/Tk code creates a toplevel window, does not specify a geometry, and
the window appears in the upper left corner of the "screen". When I
run the same exact code on RedHat Enterprise 4.0, the window now
appears in the center of the "parent window". All systems are using
the same versions of Tcl/Tk (8.4.9), not the ones that happened to be
installed with that version of Linux.
Has anyone seen this or other differences when running Tcl/Tk code on
RHE3.0 versus RHE4.0?
Any suggestions where to look to resolve this issue? I'm trying to
avoid putting a "wm geometry" statement everywhere I have a "toplevel"
command. I'd prefer to change a default somewhere.
Thanks for any advice.
| |
| Andreas Leitgeb 2006-05-22, 7:11 pm |
| parkerj <parkerj1@saic.com> wrote:
> Any suggestions where to look to resolve this issue? I'm trying to
> avoid putting a "wm geometry" statement everywhere I have a "toplevel"
> command. I'd prefer to change a default somewhere.
My blind guess is, that either you've got different windowmanagers
or different options for the windowmanager between these RHEL-
installations.
"Open popups centered on parent" (or alike) is a common option for
many windowmanagers. Other WMs (or differently configured WMs) might
just follow the rules of "smart placement" where it searches for some
part of the screen that is least cluttered with other windows and opens
the new window there, not caring if it has some logical parent.
|
|
|
|
|