Re: Nailing down GUI's
Paul +
I copied these two lines below for location within the tkemc file in
plat/???/bin.
# use the top-level window as our top-level window, and name it
wm title .
"?????"
I use the following added geometry line.
wm geometry . 550x500+0+16
This tells the windows manager (wm) that you
are sending it a geometry command. The (.) tells it that the geometry
applies to the toplevel Tcl window and that I want a 550 by 500 size window
at 0 from the left edge and 16 down from the top. (I use afterstep and
there is a running process bar on top.)
Plus is from the top left while minus in the last two numbers gives a
distance from the bottom or right to the nearest edge of the toplevel
window. I use some reduced size position numbers so you may need to change
the size desired in the first two numbers.
I'd think that we could make a command like this a part of the appearance
file for each gui or a line in the display section of the ini file. Comments?
Ray
At 02:43 PM 2/7/2000 -0500, you wrote:
>Thanks John
>
>> I haven't tried it for xemc, but the syntax would be something like
>> xemc -geometry WxH+x+y
>> i.e., xemc -geometry 200x300+50-30
>
>I found the command - it is part of the TK extensions - and yes it does work.
>At least with my setup. - There is a warning that it may not work with all
>systems.
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact