X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Aug 2011 11:45 AM by  anon
Undocumented ENVI/IDL routine: WIDGET_ENVI_LAB
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Aug 2011 11:45 AM
    In the examples ITT Vis provides of ENVI/IDL programming, there is a function called user_ev.pro (pasted below). There's a function called WIDGET_ENVI_LAB that is not a part of ENVI or IDL's help menu. Does anyone know what it does? Thanks. ; ******************************************************* ; This routine is an example of an auto-managed compound ; widget. This widget prompts the user for a long integer ; and an output filename. ; ; For more information see the ENVI Programmer's Guide. ; ******************************************************* ; Copyright (c) 1995-2010, ITT Visual Information Solutions. All ; rights reserved. Unauthorized reproduction is prohibited. ; ******************************************************* pro user_ev, ev envi_select, title='User Input File', fid=fid, dims=dims, pos=pos if (fid eq -1) then return envi_file_query, fid, data_type=data_type base = widget_auto_base(title='User Parameters') wl = widget_envi_lab(base, fid=fid, dims=dims, pos=pos) sb = widget_base(base, /row, /frame) wp = widget_param(sb, prompt='User Value', dt=3, $ uvalue='value', /auto) sb = widget_base(base, /row, /frame) wf = widget_outfm(sb, uvalue='outf', /auto) result = auto_wid_mng(base) if (result.accept eq 0) then return value = long(result.value) ; Now the processing routine would be called end
    You are not authorized to post a reply.