Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

spedas/gui/panels/

spd_ui_dproc_par_choose.pro


NAME: spd_ui_dproc_par::choose PURPOSE: Simple widget that allows user to input and/or choose parameter values CALLING SEQUENCE: new_value = spd_ui_dproc_par_choose(pars_object, label_xsize = label_xsize, $ button_xsize = button_xsize, $ title = title, buttons_on_top=buttons_on_top) INPUT: pars_object = an object of the type spd_ui_dproc_par the widget and values are set up using the parameters in the dp_struct structure for the object. While there are no constraints on what is contained in the structure when defining the object -- here the following tags are used in the structure: plabel: parameter names (for widget labels), for N parameters pvalue: string values of parameters, for N parameters, all of the i/o here returns string values radio_array: an array of button values, can be 2d, row of values corresponds to a row of buttons on the widget, one choice is possible for each row. No buttons are shown for null values. radio_value: A valid value for a choice for each row of radio buttons (n_elements(radio_array[*,0])) radio_label: A valid value for a choice for each row of radio buttons (n_elements(radio_array[*,0])) OUTPUT: new_value = the output value of the parameters, a string array of values, e.g., ['4.67', '3.0', ...n] radio buttons were used the last elements of the array will contain the radio button selection, e.g., ['4.67', '3.0', ..., 'inches', 'p'] KEYWORDS: label_xsize = an xsize value for labels, allows for consistent alignment, the default is 0 button_xsize = an xsize value for buttons, allows for consistent alignment title = a title for the widget buttons_on_top = If set, put the buttons on top METHODS: spd_ui_dproc_par_choose_event - event handler for the window (handles parameter input, cancel/ accept buttons, and window close 'X' spd_ui_dproc_par_rad_event - event handler for the radio buttons; spd_ui_dproc_par__choose - creates the window, widgets, and calls the xmanager HISTORY: 22-oct-2008, Hacked from spd_ui_npar_new, jmm, jimm@ssl.berkeley.edu $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/panels/spd_ui_dproc_par_choose.pro $

Routines

Routines from spd_ui_dproc_par_choose.pro

spd_ui_dproc_par_choose_event, event
spd_ui_dproc_par_rad_event, event
result = spd_ui_dproc_par_choose(pobj, title=title, toplabel=toplabel, bottomlabel=bottomlabel, label_xsize=label_xsize, button_xsize=button_xsize, buttons_on_top=buttons_on_top, par_pad=par_pad, gui_id=gui_id, _extra=_extra)

Routine details

top source spd_ui_dproc_par_choose_event

spd_ui_dproc_par_choose_event, event

Parameters

event

top source spd_ui_dproc_par_rad_event

spd_ui_dproc_par_rad_event, event

Parameters

event

top source spd_ui_dproc_par_choose

result = spd_ui_dproc_par_choose(pobj, title=title, toplabel=toplabel, bottomlabel=bottomlabel, label_xsize=label_xsize, button_xsize=button_xsize, buttons_on_top=buttons_on_top, par_pad=par_pad, gui_id=gui_id, _extra=_extra)

Parameters

pobj

Keywords

title
toplabel
bottomlabel
label_xsize
button_xsize
buttons_on_top
par_pad
gui_id
_extra

File attributes

Modification date: Thu Feb 13 16:41:33 2014
Lines: 149