Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?


Replies are listed 'Best First'.
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.


      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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-12-07 03:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found