widgetdata= {PLOT_COMPOSER_11_0, $
    base:base,  $                             ;ID of top level widget
    composer_type: 'papco', $                 ;to switch papco/scratch pad
    quiet:0, $                                ;1 for quiet, batch operation
    saveFileName:'none', $
    saveStatePath:papco_addpath(defaultdir, 'papco_products'), $
    PrintName:'', $
    printerInfo:printerInfo, $
    batchFileName:'', $
    batchFilePath:papco_addpath(defaultdir, 'papco_products'+papco_dirsep()+'batch'), $
    batchseries:['','',''], $
    outputFilePath:homedir, $
    annotateFileName:'', $
    annotateFilePath:papco_addpath(defaultdir, 'papco_products'+papco_dirsep()+'annotate'), $
    fname:'', $
    mouse_doesSlice:1, $
    mouse_clicked:0, $
    mouse_clicked_position:[0.0, 0.0], $
    mouse_position:[0.0, 0.0], $
    mouse_selectionDrawn:0, $
    mouse_panelNr:-1, $
    panel_editor_size:lonarr(n_elements(plot_types), 2), $
    plotInfos:plotInfos, $
    old_plotinfos:plotInfos, $
    plotsDrawn:plotsDrawn, $
    numberOfplotsDrawn:0, $
    timeRangeDrawn:0, $
    clearTimeRange:clearTimeRange, $          ;empty widget-base
    startTime:{papco_time, mjd:47892l, T:0.0, T90:0l}, $
    endTime:{papco_time, mjd:47893l, T:0.0, T90:86400l}, $
    minTime:{papco_time, mjd:47892l, T:0.0, T90:0l}, $
    maxTime:{papco_time, mjd:47893l, T:0.0, T90:86400l}, $
    satellite_name:'', $
    numberOfPlots:0, $
    selectedPlot:-1, $
    main_base:base, $
    orbitSelect_base:orbitSelect_base, $
    manual_time_Base:manual_time_Base, $
    day_time_Base:day_time_Base, $
    batch_time_Base:batch_time_Base, $
    batch_count:0, $
    label_batch_name:label_batch_name, $
    label_batch_time:label_batch_time, $
    needto_read_data:1, $                     ;set if data needs re-reading
    pb_overplot:pb_overplot, $
    pb_anchored:pb_anchored, $
    anchored:anchored, $
    ef_startTime:ef_startTime, $
    sl_startTime:sl_startTime, $
    ef_endTime:ef_endTime, $
    sl_endTime:sl_endTime, $
    pb_previous:pb_previous, $
    pb_next:pb_next, $
    ef_stepTime:ef_stepTime, $
    ef_orbit:ef_orbit, $
    pdm_satellite:pdm_satellite, $
    pb_orbitSelect:pb_orbitSelect, $
    label_satellite:label_satellite, $
    ef_minTime:ef_minTime, $
    ef_maxTime:ef_maxTime, $
    ef_DayTime:ef_DayTime, $
    lb_plotInfos:lb_plotInfos, $
    dw_draw:0l, $
    dw_plotInfos:dw_plotInfos, $
    spb_step:spb_step, $
    time_choice:time_choice, $
    time_choice_action:0, $
    text_time_choice_action:text_time_choice_action, $
    pdm_mouse_action:pdm_mouse_action, $
    text_mouse_action:text_mouse_action, $
    mouseAction:mouseAction, $
    text_print_action:text_print_action, $
    text_edit_action:text_edit_action, $
    text_slice_action:text_slice_action, $
    printAction:printAction, $
    editAction:editAction, $
    sliceAction:sliceAction, $
    set_printer_file:set_printer_file, $
    edit_choice:1, $
    slice_choice:1, $
    pb_print:pb_print, $
    wid_toEnable:wid_toEnable, $
    edit_buttons:edit_buttons, $
    draw_window:0l, $
    no_draw_window:0l, $
    need_to_draw:1, $                       ;set if redraw needed
    output:0, $                             ;set to output data to file
    old_draw_id:lonarr(100), $
    pb_draw_new:pb_draw_new, $
    pb_output:pb_output, $
    pb_annotate:pb_annotate, $
    pb_rm_annot:pb_rm_annot, $
    current_plotNr:0, $
    panelset:[0, 0, 0], $                   ;contains current panel vector
    screensize:screen, $                    ;contains size of screen, pixels
    truecolor:0, $                          ; 0=8bit, 1,2,3=true color
    unilib:0, $                             ;set to 1 if unilib available
    ;--------------------------------------------------------------------------
    ;all tag names containing "default" will be saved in defaults.dat
    default_redraw:1, $            ;enable redraw logic
    default_vert_slice_size: [500,500], $ ;vertical slice draw window size
    default_ask_wget:1,  $         ;ask confirmation before wget
    default_scroll:1,  $           ;disable scrolling inside papco windows
    default_save_bitmap:1,  $      ;enable saving of bitmap
    default_input_enable:0, $      ;allow disable of widgets
    default_do_plots:1, $          ;do plots or just do read of data
    default_printerno:printerno, $ ;actual number of printers loaded
    default_states:0, $            ;0 turns on papco_state files, 1 turns off
    default_png_format:0, $
    default_right_label:0, $
    default_slice_reload:1, $
    default_multiple_slice:intarr(16), $
    default_draw_on_step:0, $     ;draw on time step or not
    default_adjust_time:0.0, $              ;hours to add to ends of time range
    default_numbering:0, $
    default_satellite:0, $
    default_trap:1, $                       ;set to trap user routine errors
    default_wget:0, $                       ;set to enable remote get
    default_print_choice:1, $
    default_useprinter:printerInfo.useprinter, $
    default_printer:printerInfo.printer, $
    default_askforfilename:printerInfo.askforfilename, $
    default_filetype:printerInfo.filetype, $
    default_filename_tmpl:printerInfo.filename_tmpl, $
    default_orbitInfo:default_orbitInfo, $
    default_layout:0, $
    default_verbose:0, $ ;sets verbose flag in get_error common flag for diag
    default_error_box:1, $
    default_font:FONT_ONLY, $
    default_charfont:3, $
    default_charsize:1.0, $
    default_charthick:1.0, $
    default_output_format:'TXT', $
    default_us_europe:1, $                  ;used to set US/Europe defaults
    default_plot_size:[100.0,100.0],$       ;default plot scaling of full size
    default_gif_size:[570,760], $           ;default output gif size
    default_draw_size:[570,760], $          ;default draw window size
    default_ps_mult:1.0, $                  ;scaling fonts to ps factor
    default_ps_eps:0, $                     ;encapsulated postscript = 1
    default_draw_ident:1, $
    default_bckg_color:200, $
    default_forg_color:0, $
    default_TICKLEN:-0.015, $
    default_XTICKS:6, $
    default_XLINES:2, $
    default_XSTYLE:1, $
    default_XMINOR:10     }


IDL> help, widgetData, /str
** Structure PLOT_COMPOSER_11_0, 144 tags, length=79432:
   BASE            LONG                 1
   COMPOSER_TYPE   STRING    'papco'
   QUIET           INT              0
   SAVEFILENAME    STRING    'none'
   SAVESTATEPATH   STRING    '/home/jbf/ct/papco/papcoUsers/papco_user/papc'...
   PRINTNAME       STRING    '/net/spot/home/jbf/%.png'
   PRINTERINFO     STRUCT    -> PAPCO_PRINTER_INFO Array[1]
   BATCHFILENAME   STRING    ''
   BATCHFILEPATH   STRING    '/home/jbf/papco_user/papco_products/batch/'
   BATCHSERIES     STRING    Array[3]
   OUTPUTFILEPATH  STRING    '/net/spot/home/jbf/'
   ANNOTATEFILENAME                   STRING    = ''
   ANNOTATEFILEPATH                   STRING    = '/home/jbf/ct/papco/papcoUsers/papco_user/papc'...
   FNAME           STRING    ''
   MOUSE_DOESSLICE INT              1
   MOUSE_CLICKED   INT              0
   MOUSE_CLICKED_POSITION                   FLOAT     = Array[2]
   MOUSE_POSITION  FLOAT     Array[2]
   MOUSE_SELECTIONDRAWN                   INT       =        0
   MOUSE_PANELNR   INT             -1
   PANEL_EDITOR_SIZE                   LONG      = Array[33, 2]
   PLOTINFOS       STRUCT    -> PAPCO_PLOTINFO_17 Array[60]
   OLD_PLOTINFOS   STRUCT    -> PAPCO_PLOTINFO_17 Array[60]
   PLOTSDRAWN      STRUCT    -> PLOT_DRAWN_1 Array[60]
   NUMBEROFPLOTSDRAWN                   INT       =        0
   TIMERANGEDRAWN  INT              0
   CLEARTIMERANGE  LONG               132
   STARTTIME       STRUCT    -> PAPCO_TIME Array[1]
   ENDTIME         STRUCT    -> PAPCO_TIME Array[1]
   MINTIME         STRUCT    -> PAPCO_TIME Array[1]
   MAXTIME         STRUCT    -> PAPCO_TIME Array[1]
   SATELLITE_NAME  STRING    'AMPTE'
   NUMBEROFPLOTS   INT              4
   SELECTEDPLOT    INT             -1
   MAIN_BASE       LONG                 1
   ORBITSELECT_BASE                   LONG      =           80
   MANUAL_TIME_BASE                   LONG      =           81
   DAY_TIME_BASE   LONG                82
   BATCH_TIME_BASE LONG                83
   BATCH_COUNT     INT              0
   LABEL_BATCH_NAME                   LONG      =          107
   LABEL_BATCH_TIME                   LONG      =          108
   NEEDTO_READ_DATA                   INT       =        1
   PB_OVERPLOT     LONG               233
   PB_ANCHORED     LONG               234
   ANCHORED        BYTE      Array[60]
   EF_STARTTIME    LONG               125
   SL_STARTTIME    LONG               123
   EF_ENDTIME      LONG               128
   SL_ENDTIME      LONG               131
   PB_PREVIOUS     LONG               135
   PB_NEXT         LONG               136
   EF_STEPTIME     LONG               138
   EF_ORBIT        LONG                86
   PDM_SATELLITE   LONG                90
   PB_ORBITSELECT  LONG                96
   LABEL_SATELLITE LONG                85
   EF_MINTIME      LONG                97
   EF_MAXTIME      LONG               100
   EF_DAYTIME      LONG               103
   LB_PLOTINFOS    LONG               192
   DW_DRAW         LONG                 0
   DW_PLOTINFOS    LONG               190
   SPB_STEP        LONG               140
   TIME_CHOICE     STRUCT    -> CW_PDMENU_S Array[5]
   TIME_CHOICE_ACTION                   INT       =        0
   TEXT_TIME_CHOICE_ACTION                   LONG      =          121
   PDM_MOUSE_ACTION                   LONG      =          142
   TEXT_MOUSE_ACTION                   LONG      =          160
   MOUSEACTION     STRUCT    -> CW_PDMENU_S Array[17]
   TEXT_PRINT_ACTION                   LONG      =          179
   TEXT_EDIT_ACTION                   LONG      =          186
   TEXT_SLICE_ACTION                   LONG      =          167
   PRINTACTION     STRUCT    -> CW_PDMENU_S Array[9]
   EDITACTION      STRUCT    -> CW_PDMENU_S Array[4]
   SLICEACTION     STRUCT    -> CW_PDMENU_S Array[4]
   SET_PRINTER_FILE                   LONG      =          238
   EDIT_CHOICE     INT              1
   SLICE_CHOICE    INT              1
   PB_PRINT        LONG               242
   WID_TOENABLE    LONG      Array[1]
   EDIT_BUTTONS    LONG      Array[4]
   DRAW_WINDOW     LONG                 0
   NO_DRAW_WINDOW  LONG                 0
   NEED_TO_DRAW    INT              1
   OUTPUT          INT              0
   OLD_DRAW_ID     LONG      Array[100]
   PB_DRAW_NEW     LONG               241
   PB_OUTPUT       LONG               243
   PB_ANNOTATE     LONG               244
   PB_RM_ANNOT     LONG               245
   CURRENT_PLOTNR  INT              0
   PANELSET        INT       Array[3]
   SCREENSIZE      FLOAT     Array[2]
   TRUECOLOR       INT              0
   UNILIB          INT              0
   DEFAULT_REDRAW  INT              0
   DEFAULT_VERT_SLICE_SIZE                   INT       = Array[2]
   DEFAULT_ASK_WGET                   INT       =        1
   DEFAULT_SCROLL  INT              1
   DEFAULT_SAVE_BITMAP                   INT       =        1
   DEFAULT_INPUT_ENABLE                   INT       =        1
   DEFAULT_DO_PLOTS                   INT       =        1
   DEFAULT_PRINTERNO                   LONG      =            1
   DEFAULT_STATES  INT              0
   DEFAULT_PNG_FORMAT                   INT       =        0
   DEFAULT_RIGHT_LABEL                   INT       =        0
   DEFAULT_SLICE_RELOAD                   INT       =        1
   DEFAULT_MULTIPLE_SLICE                   INT       = Array[16]
   DEFAULT_DRAW_ON_STEP                   INT       =        1
   DEFAULT_ADJUST_TIME                   FLOAT     =       0.00000
   DEFAULT_NUMBERING                   INT       =        1
   DEFAULT_SATELLITE                   INT       =        0
   DEFAULT_TRAP    INT              0
   DEFAULT_WGET    INT              1
   DEFAULT_PRINT_CHOICE                   INT       =        2
   DEFAULT_USEPRINTER                   INT       =        1
   DEFAULT_PRINTER INT              0
   DEFAULT_ASKFORFILENAME                   INT       =        0
   DEFAULT_FILETYPE                   INT       =        1
   DEFAULT_FILENAME_TMPL                   STRING    = '%.png'
   DEFAULT_ORBITINFO                   STRUCT    = -> ORBIT_INFO Array[1]
   DEFAULT_LAYOUT  INT              1
   DEFAULT_VERBOSE INT              0
   DEFAULT_ERROR_BOX                   INT       =        1
   DEFAULT_FONT    STRING    '6x13'
   DEFAULT_CHARFONT                   INT       =        3
   DEFAULT_CHARSIZE                   FLOAT     =       1.00000
   DEFAULT_CHARTHICK                   FLOAT     =       1.00000
   DEFAULT_OUTPUT_FORMAT                   STRING    = 'TXT'
   DEFAULT_US_EUROPE                   INT       =        1
   DEFAULT_PLOT_SIZE                   FLOAT     = Array[2]
   DEFAULT_GIF_SIZE                   INT       = Array[2]
   DEFAULT_DRAW_SIZE                   INT       = Array[2]
   DEFAULT_PS_MULT FLOAT           1.00000
   DEFAULT_PS_EPS  INT              0
   DEFAULT_DRAW_IDENT                   INT       =        1
   DEFAULT_BCKG_COLOR                   INT       =      200
   DEFAULT_FORG_COLOR                   INT       =        0
   DEFAULT_TICKLEN FLOAT        -0.0150000
   DEFAULT_XTICKS  INT              6
   DEFAULT_XLINES  INT              2
   DEFAULT_XSTYLE  INT              1
   DEFAULT_XMINOR  INT             10
IDL> 



