----- file created by makedoc on: Fri May 31 15:22:26 2013
----- Documentation for /scisoft/xop2.3/extensions/shadowvui/src/vui/xsh_bragg.pro -----

 NAME:
	XSh_Bragg

 PURPOSE:
	A driver for bragg

 CATEGORY:
	SHADOW GUI
	Widgets.

 CALLING SEQUENCE:
	XSh_Bragg

 OPTIONAL INPUTS:
	inp: the structure with the input parameters.
	
 KEYWORD PARAMETERS:
	Group:	The ID of the caller Widget. It is used for the Dialog
		windows to be positioned.
	WTitle: The title to be displayed in the window bar
	NoAsk: if set, the program does not ask for visualizing the
		diffraction profiles.
	
 OPTIONAL OUTPUTS:
	OutFile: A string with the file name with data for SHADOW
	action: A string containing DO or DONT depending if ACCEPT
		or CANCEL have been clicked, respectively.

 COMMON BLOCKS:
	XSH_BRAGG_COMMON contains the data structure for next calls
		of the application [when called with no input].

 SIDE EFFECTS:
	Creates a temporary file (xsh_bragg_tmp.inp) and runs 
	bragg.

 RESTRICTIONS:

 PROCEDURE:
	Straightforward.

 MODIFICATION HISTORY:
 	Written by:	M. Sanchez del Rio, srio@esrf.fr
	December 15, 1997
	2006-02-10 srio@esrf.fr adds Title, NoAsk, Action and OutFile keywords.
	2012-05-04 srio@esrf.eu bug fixed with RockSalt structure
                  (noticed by Frank.Filsinger@bruker-axs.de) 


