WIN_INFO Name
WIN_INFO Purpose
Return a structure with window size and viewport.
Category
Calling Sequence
s = win_info([win]) Inputs
win = Optional window index (def=current). in
For scrolling windows win must be the swindo
index, 100 or more.
Keyword Parameters
Outputs
s = returned info structure. out
s={xmn:xmn, ymn:ymn, lower left corner of visible area
xmd:xmd, ymd:ymd, middle of visible area
xmx:xmx, ymx:ymx, upper right corner of visible area
dx:dx, dy:dy, Size of visible area
sx:sx, sy:sy, Size of entire window
win:win, Window index.
wid:wid} Widget ID for scrolling window.
Common Blocks
Notes
Note: for non-existant window returns win=-1.
Modification History
R. Sterner, 2003 Jun 13
R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
Copyright (C) 2003, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.