Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Directory selection dialog

by foxcorner (Initiate)
on Aug 27, 2007 at 22:57 UTC ( [id://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

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.

    -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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-03-19 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found