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

Home » Public Forums » archive » file selection widget and returning filters
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: file selection widget and returning filters [message #42589 is a reply to message #42454] Mon, 14 February 2005 17:24 Go to previous messageGo to previous message
Rob[1] is currently offline  Rob[1]
Messages: 5
Registered: January 2005
Junior Member
Dear Paul and Craig,

Actually that *is* the behavior that I intended even though it may not
be obvious why. Each time I launched the dialog I did not want to load
in the contents of the entire directory hierarchy (in the interest of
speed). I only wanted to display the contents of the current directory
(subdirectories + files). Each time you double click on a subdirectory
then you go into it and the tree widget contents are updated to show
that directory's files and subdirectories. The "root" folder behaves
slightly differently in that if you double-click on it, you go up one
directory. Note that the +/- only expands or compresses the view of
the contents of the current directory. I probably could have done this
so that it was more intuitive (I'm certainly open to ideas :) )

Thanks for the feedback.

Rob

P.S. Craig, sorry for the gratuitous use of IDL 6 syntax.


Craig Markwardt wrote:
> Paul Van Delst <paul.vandelst@noaa.gov> writes:
>
>
>> Rob wrote:
>>> For those who are interested, I wrote a file selection utility
that
>>> uses tree widgets that does what I specified in my original
posting.
>>> In particular it allows you to specify a file type filter with an
input
>>> keyword and, if the user changes the filter while the dialog is
>>> displayed, an output keyword will return the updated filter.
>>
>> Very cool.
>>
>> I downloaded it and tried it on my linux box:
>>
>> IDL> print, !version
>> { x86 linux unix linux 6.0.3 Feb 26 2004 32 64}
>>
>> and I note that the little "+/-" icons next to directories don't
>> work. That is, the only way I can look at the contents of a
>> subdirectory is enter it via a double-click. The little
manila-folder
>> subdirectory icons do open and close when I single-click the "+/-"
>> bitties, but there is no display of files. (Does this explanation
even make sense?)
>
> Yep, I get the same thing on
> { x86 linux unix linux 6.1 Jul 14 2004 32 64}
>
> And I give it a slight ding for gratuitous use of IDL 6 syntax. :-)
> Otherwise it works in IDL 5.6. And it's pretty darn cool!
>
> Craig
>
> --
>
------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL:
craigmnet@REMOVEcow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better
response
>
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Structure as a parameter
Next Topic: handling dicomdir with IDLffDICOM

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

Current Time: Fri Oct 10 04:13:53 PDT 2025

Total time taken to generate the page: 0.88086 seconds