comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Undocumented ENVI/IDL routine: widget_envi_lab
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Undocumented ENVI/IDL routine: widget_envi_lab [message #77125] Fri, 05 August 2011 07:54
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
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
[Message index]
 
Read Message
Previous Topic: Re: How do I change time on a dataset
Next Topic: Gabor filter

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:37:06 PDT 2025

Total time taken to generate the page: 0.16631 seconds