[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: positioning windows
From: |
Ginger Booth |
Subject: |
Re: positioning windows |
Date: |
Thu, 21 Mar 96 14:42:30 EST |
Dear long-suffering Nelson,
Thank you. You're so generous. And I'm a pest....
I set my main window to position -0+0 (not +0+0). This lovely syntax
is "upper-right-hand corner". In other words, -setWindowPositionX:Y: needs
to case out the syntax. If you were to be a truly heroic martyr, you'd give
geometry string manipulation gizmos to allow the user access to the stuff
needed to tile the d****d windows, as is all we really want. At least
some query that returned the int's.
[[[worldDisplay getTopLevel] getWidget] getX: wx Y: wy Xsize: sx Ysize: sy];
[[nextwindow getTopLevel] setWindowPositionX: wx+sx+2 Y: wy+sy+2];
And similar crud.
> Ask, and ye shall receive. I've added an accessor method to get the
> panel.
Thanks!
Cheers,
Ginger
P.S. (Where's grad school?)