This page was created by the IDL library routine `mk_html_help2`.

Last modified: Sun Jul 27 18:17:41 2025.

# Directory Listing of Routines

# spedas_gui/utilities/spd_ui_main_funcs

- SPD_UI_COPY
- SPD_UI_EXIT
- SPD_UI_EXPAND
- SPD_UI_LOAD_SPEDAS_CDF
- SPD_UI_OPEN
- SPD_UI_OPEN_TEMPLATE
- SPD_UI_PRINT
  Modularizes the print code. Mainly so that it can be grouped in its own separate catch block.
- SPD_UI_REDUCE
- SPD_UI_REFRESH
- SPD_UI_SAVE
- SPD_UI_SAVE_TEMPLATE
- SPD_UI_SAVEAS
- SPD_UI_SAVEAS_TEMPLATE
- SPD_UI_SCROLL_VIEW
- SPD_UI_SCROLLB
- SPD_UI_SCROLLF
- SPD_UI_UPDATE_TITLE

# Routine Descriptions

## SPD_UI_COPY

[Next Routine] [List of Routines]

      Name: SPD_UI_COPY

      Purpose: Copies the current page to the clipboard.
               Should also work with Ctrl+C.
               It can also be called from spd_ui_draw_event

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_copy.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_copy.pro)

## SPD_UI_EXIT

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_EXIT

      Purpose: Exits the GUI

      Inputs: The info structure from the main gui
              The event that led to this function call

    $LastChangedBy: egrimes $
    $LastChangedDate: 2015-06-30 13:45:30 -0700 (Tue, 30 Jun 2015) $
    $LastChangedRevision: 17999 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_exit.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_exit.pro)

## SPD_UI_EXPAND

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_EXPAND

      Purpose: zooms the x axis out of the current plot out

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_expand.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_expand.pro)

## SPD_UI_LOAD_SPEDAS_CDF

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_LOAD_SPEDAS_CDF

      Purpose: Loads data from a CDF chosen by user. Note that only CDFs that conform to SPEDAS standards can be opened.
      CDFs that do not conform may produce unhelpful error messages.

      Inputs: The info structure from the main gui

    $LastChangedBy: nikos $
    $LastChangedDate: 2018-02-07 10:44:31 -0800 (Wed, 07 Feb 2018) $
    $LastChangedRevision: 24665 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_load_spedas_cdf.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_load_spedas_cdf.pro)

## SPD_UI_OPEN

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_OPEN

      Purpose: Opens a spedas document

      Inputs: The info structure from the main gui

    $LastChangedBy: aaflores $
    $LastChangedDate: 2014-07-01 20:07:45 -0700 (Tue, 01 Jul 2014) $
    $LastChangedRevision: 15500 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_open.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_open.pro)

## SPD_UI_OPEN_TEMPLATE

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_OPEN_TEMPLATE

      Purpose: Opens a spedas template

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_open_template.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_open_template.pro)

## SPD_UI_PRINT

[Previous Routine] [Next Routine] [List of Routines]

     NAME:
       SPD_UI_PRINT

     PURPOSE:
       Modularizes the print code.  Mainly so that it can be grouped in its own separate catch block.

     CALLING SEQUENCE:
       spd_ui_print,info,event

     Input:
      Info: The info struct from the main gui block

    $LastChangedBy: nikos $
    $LastChangedDate: 2018-10-11 14:50:09 -0700 (Thu, 11 Oct 2018) $
    $LastChangedRevision: 25964 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_print.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_print.pro)

## SPD_UI_REDUCE

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_REDUCE

      Purpose: zooms the x axis of the current plot in

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_reduce.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_reduce.pro)

## SPD_UI_REFRESH

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_REFRESH

      Purpose: Refreshes the draw area of the GUI

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_refresh.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_refresh.pro)

## SPD_UI_SAVE

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_SAVE

      Purpose: SAVES a spedas document

      Inputs: The info structure from the main gui

    $LastChangedBy: jimmpc1 $
    $LastChangedDate: 2014-05-07 10:48:54 -0700 (Wed, 07 May 2014) $
    $LastChangedRevision: 15065 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_save.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_save.pro)

## SPD_UI_SAVEAS

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_SAVEAS

      Purpose: SAVES a spedas document with a new file name

      Inputs: The info structure from the main gui

    $LastChangedBy: jimmpc1 $
    $LastChangedDate: 2014-05-07 10:48:54 -0700 (Wed, 07 May 2014) $
    $LastChangedRevision: 15065 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_saveas.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_saveas.pro)

## SPD_UI_SAVEAS_TEMPLATE

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_SAVEAS_TEMPLATE

      Purpose: SAVES a spedas template with a new file name

      Inputs: The info structure from the main gui

    $LastChangedBy: egrimes $
    $LastChangedDate: 2018-03-14 15:33:03 -0700 (Wed, 14 Mar 2018) $
    $LastChangedRevision: 24888 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_saveas_template.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_saveas_template.pro)

## SPD_UI_SAVE_TEMPLATE

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_SAVE_TEMPLATE

      Purpose: SAVES a spedas template

      Inputs: The info structure from the main gui

    $LastChangedBy: nikos $
    $LastChangedDate: 2017-10-03 14:12:59 -0700 (Tue, 03 Oct 2017) $
    $LastChangedRevision: 24103 $
    $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas_gui/utilities/spd_ui_main_funcs/spd_ui_save_template.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_save_template.pro)

## SPD_UI_SCROLLB

[Previous Routine] [Next Routine] [List of Routines]

      Name: SCROLLB

      Purpose: Scrolls the current window backwards

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_scrollb.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_scrollb.pro)

## SPD_UI_SCROLLF

[Previous Routine] [Next Routine] [List of Routines]

      Name: SPD_UI_SCROLLF

      Purpose: Scrolls the current window forwards

      Inputs: The info structure from the main gui

    $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/utilities/spd_ui_main_funcs/spd_ui_scrollf.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_scrollf.pro)

## SPD_UI_SCROLL_VIEW

[Previous Routine] [Next Routine] [List of Routines]

      Name: spd_ui_scroll_view

      Purpose: Moves the area viewport of the draw area if the entire viewing area is not displayed

      Inputs: draw_widget: The draw widget for the visible drawing area
              dir: 0=down, 1=up

    $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/utilities/spd_ui_main_funcs/spd_ui_scroll_view.pro $

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_scroll_view.pro)

## SPD_UI_UPDATE_TITLE

[Previous Routine] [List of Routines]

    Purpose:
      Update the GUI's top level base title.

    Input:
      INFO: Info structure from the main GUI

    Notes:
      The base title should be stored in INFO,
      the current page's name will be appended.

(See spedas_gui/utilities/spd_ui_main_funcs/spd_ui_update_title.pro)