toolplaces/xwininfo equivalent?

karron at MCIRPS2.MED.NYU.EDU karron at MCIRPS2.MED.NYU.EDU
Fri Oct 19 21:57:01 AEST 1990


>
>I'd like to extract position and size information from the windows that
>are currently on my screen (not just their prefposition's).  After I
>move the windows around so they're how I want them, I want to know what
>size and position coordinates to put in my user.ps file so they will
>come up the same way next time.  Suntools has "toolplaces," X11 has
>"xwininfo." Is there something similar for 4Sight (rather, NeWS)?
>
>-- David

I second this request.

There is no similar mechanism that I am aware of for this in 4sight.  This
should a part of the next release of 4sight (5sight ?).

I would like to place tools, icons, and programs on my desk without fooling
with the co-ords.  For my own development work, I use a wrapper for winopen
that reads in a file containing the window placement.  For gexit, I use a
wrapper that saves the window position prior to closing for use in the next
instance of the program.

If there is interest in my hack, I will post it (That also means I have to
make it presentable, but I want this functionality, and dont see it comming
from sgi). Then each winopen("foo") will have associated with it an icon image
file("foo.icon") and an ascii editable size and placement file ("foo.prefs").

The real solution would be a system program that would take any window program
and extract its position and size.  That might be easier than re- writing all
of the tools to take window size/position placement/report arguments.

dan.
+-----------------------------------------------------------------------------+
| karron at nyu.edu                          Dan Karron                          |
| . . . . . . . . . . . . . .             New York University Medical Center  |
| 560 First Avenue           \ \    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 340 5210               \**\__________________________________________ |
| Please Note :Soon to move to dan at karron.med.nyu.edu 128.122.135.3  (Mid Oct)|
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list