~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/modifydisp.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)modifydisp.hlq    19.1 (ESO-IPG) 02/25/03 14:03:30 
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      modifydisp.hlq
 
5
%.AUTHOR     KB, IPG/ESO
 
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
%----------------------------------------------------------------
 
10
\se
 
11
SECTION./DISP
 
12
\es\co
 
13
MODIFY/DISPLAY                                  19-OCT-2000  KB
 
14
\oc\su
 
15
MODIFY/DISPLAY [option]
 
16
        modify the state of a display window (e.g. mapped Window <-> Icon)
 
17
\us\pu
 
18
Purpose:
 
19
          Modify the state of a display window, e.g. from mapped Window to
 
20
          Icon and vice versa.
 
21
\up\sy
 
22
Syntax:
 
23
          MODIFY/DISPLAY [option]
 
24
\ys\pa
 
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 
 
29
                  the screen again;
 
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
 
34
              defaulted to ICON
 
35
\ap\sa
 
36
See also:
 
37
          INITIALIZE/DISPLAY, CREATE/DISPLAY, SHOW/DISPLAY, MODIFY/GRAPHICS
 
38
\as\no
 
39
Note: 
 
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).
 
50
 
 
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.
 
64
\on\exs
 
65
Examples:
 
66
\ex
 
67
          MODIFY/DISPLAY Icon
 
68
            Put the current display window into the Icon window of the Window
 
69
            manager.
 
70
\xe \ex
 
71
          MODIFY/DISPLAY Window
 
72
            Display an iconized window again on the screen.
 
73
\xe \ex
 
74
          MODIFY/DISPLAY Parent
 
75
            All following display/graphics windows will be subwindows of the
 
76
            currently active display window.
 
77
\xe \ex
 
78
          MODIFY/DISPLAY Parent=root
 
79
            All display/graphics windows can be placed again anywhere on 
 
80
            the screen.
 
81
\xe \se