projects/themis/deprecated/thm_ui/
thm_ui_npar.pro
NAME: thm_ui_npar PURPOSE: Simple widget that allows user to change n parameter values and units (if units were specified) CALLING SEQUENCE: new_value = thm_ui_npar(name, init_value, [radio_array=radio_array], $ [radio_value=radio_value]) INPUT: name = the name of the parameter, can be an array init_value = the initial value of the parameter, e.g., '1.0', must be a string array of the smae size as name radio_array = optional string array containing radio button names title=title = optional title for the panel radio_value = optional string containing the radio button to set initially OUTPUT: new_value = the output value of the parameters, a string array of values, e.g., ['4.67', '3.0', ...n] if optional radio buttons were used the last element of the array will contain the radio button selection, e.g., ['4.67', '3.0', ..., 'inches'] METHODS: thm_ui_npar0 - creates the window, widgets, and calls the xmanager thm_ui_npar0_event - event handler for the window (handles parameter input, cancel/ accept buttons, and window close 'X' thm_ui_rad_event - event handler for the radio buttons; thm_ui_npar0 - creates the window, widgets, and calls the xmanager HISTORY: 5-feb-2007, jmm, jimm@ssl.berkeley.edu 25-OCt-2007, jmm, added KILL_REQUEST block 15-may-2008, cg, added optional title for widget $LastChangedBy: aaflores $ $LastChangedDate: 2012-01-26 16:47:04 -0800 (Thu, 26 Jan 2012) $ $LastChangedRevision: 9627 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/deprecated/thm_ui/thm_ui_npar.pro $
Routines
Routines from thm_ui_npar.pro
Routine details
top source thm_ui_npar0
thm_ui_npar0, name, init_value, radio_array=radio_array, radio_value=radio_value, title=title
Parameters
- name
- init_value
Keywords
- radio_array
- radio_value
- title
top source thm_ui_npar
result = thm_ui_npar(name, init_value, radio_array=radio_array, radio_value=radio_value, title=title)
Parameters
- name
- init_value
Keywords
- radio_array
- radio_value
- title
File attributes
Modification date: | Thu Feb 13 16:42:30 2014 |
Lines: | 83 |