Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Directory selection dialog

by foxcorner (Initiate)
on Aug 27, 2007 at 22:57 UTC ( #635441=perlquestion: print w/ replies, xml ) Need Help??
foxcorner has asked for the wisdom of the Perl Monks concerning the following question:

Hello venerable monks,

I am going crazy trying to find a directory selection dialog for Perl on Windows (using Tk or Win32) which has the following characteristics:

* Must allow users to select directories (this rules out getOpenFile)

* Must allow users to create a new directory (this rules out most of the other Tk widgets, and also Win32::FileOp::BrowseForFolder)

* Must actually work with recent Tk (this rules out Tk::FileDialog. Sadly, the "replacement" Tk::JFileDialog loses the ability to create a new directory...)

* Should look reasonably nice on Windows XP (this rules out the *horrible* DirSelect widget, which my users will have no idea how to use)

I have failed to find *anything* that fits the bill!

The ideal solution would be an implementation of getOpenFile which allows the selection of directories.

Is there such a thing? Or anything that would work?

Thanks,
Dan

Comment on Directory selection dialog
Re: Directory selection dialog
by erroneousBollock (Curate) on Aug 28, 2007 at 03:12 UTC
    Um, you have PerlTK ;)

    Perhaps you could write a few widgets to suit your needs.

    I understand that is not a small undertaking (writing a nice once will take time), but if nothing out there meets your needs then it's an option you can't really ignore.

    -David.

      Yes, I know, but not being an expert, it would be quite a burden. I'm hoping someone will come out of the woodwork with something already baked. :-)

      Thanks, Dan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://635441]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-08-22 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls