MGH_GUI_EXPORT__DEFINE Class
MGH_GUI_Export Purpose
This class implements a GUI application for exporting data to
another level in the IDL call stack. Category
Widgets. Calling Sequence
mgh_new, 'MGH_GUI_Export', values, captions
Positional Parameters
values (input, pointer array)
An array of pointers, each holding a data item that the user may
want to export. The object destroys all pointers when it is
terminated.
captions (input, string array)
A string array with the same number of elements as values. The
captions are displayed in the widget application alongside a
field into which the user can enter the desired variable name.
Properties
The following properties are supported:
LEVEL (Init, Get, Set)
The level to which data are to be exported. Default is 1 (main
level).
N_ITEMS (Get)
The number of data items available for export. This is
determined at initialisation from the number of elements in
the values array.
###########################################################################
This software is provided subject to the following conditions:
1. NIWA makes no representations or warranties regarding the
accuracy of the software, the use to which the software may
be put or the results to be obtained from the use of the
software. Accordingly NIWA accepts no liability for any loss
or damage (whether direct of indirect) incurred by any person
through the use of or reliance on the software.
2. NIWA is to be acknowledged as the original author of the
software where the software is used or presented in any form.
###########################################################################
Modification History
Mark Hadfield, 2000-12:
Written.
Mark Hadfield, 2004-05:
Now uses SCOPE_VARFETCH (new in IDL 6.1) to export data instead
of the undocumented ROUTINE_NAMES functionality.