XMESS Name
XMESS Purpose
Display a message using a widget. Category
Calling Sequence
xmess, txt Inputs
txt = Message to display as a string or string array. in
Keyword Parameters
Keywords
WID=id Returned widget ID of message widget. May use
this to automatically destroy the message widget
when an action is completed. To destroy widget do:
widget_control, /dest, id
/NOWAIT means don't wait for OK button to be pressed.
Useful with WID to fill in long pauses, can display
what is happening, then destroy message.
/WAIT means wait for OK button without using xmanager
to register xmess. Will not drop through if button
is not pressed as in default case.
OKTEXT=txt Set text for OK button (def=OK).
XOFFSET=xoff, YOFFSET=yoff Widget position.
/LEFT means left align text, else center it.
Outputs
Common Blocks
Notes
Modification History
R. Sterner, 25 Oct, 1993
R. Sterner, 11 Nov, 1993 --- added /NOWAIT.
R. Sterner, 1994 Sep 6 --- Added /WAIT.
R. Sterner, 1998 Jun 3 --- Added xoff, yoff.
R. Sterner, 2002 Sep 10 --- fixed /WAIT.
R. Sterner, 2008 Aug 19 --- Added /LEFT.
R. Sterner, 2010 May 04 --- Converted arrays from () to [].`
R. Sterner, 2010 Jun 28 --- Added Non-X windows mode.
Copyright (C) 1993, 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.