window procs

This page was created by the IDL library routine mk_html_help. For more information on this routine, refer to the IDL Online Help Navigator or type:

     ? mk_html_help

at the IDL command line prompt.

Last modified: Tue Dec 20 11:48:26 2005.


List of Routines


Routine Descriptions

POS

[Next Routine] [List of Routines]
 NAME:
       POS
     
 PURPOSE:
       To return the cursor position.
     
 CALLING SEQUENCE:
       POS [,X, Y] [, /SILENT] 
           [, /DATA | , /DEVICE, | , /NORMAL]
           [, /CHANGE | , /DOWN | , /NOWAIT | , /UP | , /WAIT] 
     
 INPUTS:
       None.

 OUTPUTS:
       None.

 OPTIONAL OUTPUTS:
       X - the cursor's current column position.
       Y - the cursor's current row position.

 KEYWORDS:
       /SILENT : Do not print cursor position.
       /DATA : Set this keyword to return X and Y in data coordinates.
               This is the default.
       /NORMAL : Return the normalized cursor position.
       /DEVICE : Return the cursor position in device units.
       /CHANGE : Set this keyword to wait for pointer movement or 
                 button transition within the currently selected window.
       /DOWN : Set this keyword to wait for a button down transition
               within the currently selected window.
       /NOWAIT : Set this keyword to read the pointer position and 
                 button status and return immediately. If the pointer 
                 is not within the currently selected window, the device 
                 coordinates -1, -1 are returned.
       /UP : Set this keyword to wait for a button up transition within 
             the current window.
       /DOWN : Set this keyword to wait for a button down transition within 
               the currently selected window.

 COMMON BLOCKS:
       None.

 MODIFICATION HISTORY:
       Written by Tim Robishaw, Berkeley in ancient times.

(See /dzd2/heiles/idl/gen/window/pos.pro)


WD -- DELETE ALL OPEN WINDOWS

[Previous Routine] [List of Routines]
NAME:
WD -- delete all open windows
     
 PURPOSE:
       Quick way to delete open windows.
     
 EXPLANATION:
       Deletes the open window the user specifies.
       Can delete all windows by just calling WD with no parameters.
       Can just print open windows by setting the /OPEN keyword.
     
 CALLING SEQUENCE:
       WD [,WINDOW][,/OPEN]
     
 INPUTS:
       WINDOW : The number(s) of the window(s) you want to delete. 
                If no number is input, then all the windows are
                deleted.
     
 OUTPUTS:
       None.

 KEYWORDS:
       /OPEN : Just print the window number of each open window.

 COMMON BLOCKS:
       None.

 SIDE EFFECTS:
       Windows will be deleted.

 RESTRICTIONS:
       The current device must be X Windows.

 PROCEDURES CALLED:
       WDELETE

 EXAMPLE:
       Print all the open windows:
          IDL> wd, /open

       Kill all windows:
          IDL> wd

       Kill windows 4, 5, & 6:
          IDL> wd, [4,5,6]

 MODIFICATION HISTORY:
       Written Tim Robishaw, Berkeley in ancient times.

(See /dzd2/heiles/idl/gen/window/wd.pro)