1
% @(#)modifydisp.hlq 19.1 (ESO-IPG) 02/25/03 14:03:30
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, MODIFY/DISPLAY
7
%.PURPOSE On-line help file for the command: MODIFY/DISPLAY
8
%.VERSION 1.0 27-JUN-1996 : Creation, KB
9
%----------------------------------------------------------------
13
MODIFY/DISPLAY 19-OCT-2000 KB
15
MODIFY/DISPLAY [option]
16
modify the state of a display window (e.g. mapped Window <-> Icon)
19
Modify the state of a display window, e.g. from mapped Window to
23
MODIFY/DISPLAY [option]
25
option = ICON or WINDOW (a)
26
PARENT or PARENT=ROOT (b)
27
(a) for ICON the active display window is put into an Icon;
28
for WINDOW the iconized display window is displayed on
30
(b) the active display window will serve as parent window
31
for all subsequently created windows (display + graphics)
32
until the root window of the screen will become the global
33
parent window again - via PARENT=ROOT
37
INITIALIZE/DISPLAY, CREATE/DISPLAY, SHOW/DISPLAY, MODIFY/GRAPHICS
40
The command works on the currently active display window.
41
E. g., putting a window into an Icon state does not automatically
42
assign another display window (if present on the screen) to be the
43
active one. That would have to be done explicitely by the user.
44
Except interactive commands which need the mouse all other display
45
related commands (like LOAD/IMAGE) can still be be applied to an
46
iconized display window.
47
OJO: Some window managers (e.g. Fvwm) have problems to display an
48
iconized window again on the screen, if that window was not placed
49
completely inside the screen before (including title bar).
51
By default the screen of your workstation (PC) serves as parent
52
window for all windows, i.e. all offsets are relative to that
53
display area. Remember, that in Midas the origin (0,0) is the lower
54
left corner and y increasing upwards, whereas in X11 (0,0) is the
55
upper left corner and y increases downwards.
56
With the option PARENT you set up the currently active display
57
window as parent window (PW) for all subsequent display/graphics
58
windows. Thus their offsets are relative to that parent window and
59
also their size will be clipped relative to the size of the PW.
60
Moving the PW also moves all its subwindows.
61
Use the option PARENT=ROOT to reset the root window, i.e. the full
62
screen, as PW. AFter that you could again create a new display and
63
set that one up as the next parent window.
68
Put the current display window into the Icon window of the Window
72
Display an iconized window again on the screen.
75
All following display/graphics windows will be subwindows of the
76
currently active display window.
78
MODIFY/DISPLAY Parent=root
79
All display/graphics windows can be placed again anywhere on