Home > Archive > PerlTk > December 2007 > chooseDirectory via ActivePerl in Komodo Pro, GUIbuilder or
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
chooseDirectory via ActivePerl in Komodo Pro, GUIbuilder or
|
|
| consultmac2 2007-12-19, 8:06 am |
| I'm experimenting with the Komodo GUIBuilder (under Win XP) for the
first time starting this w . It looks promising for building the GUI
that I need for my Perl project, however there's one thing in
particular that I need and don't see available.
In my project I need an easy way for the user to navigate to available
disks and directories in order to specify the directory that contains
the files that I will process with my perl script. On Mac OSX I would
call that an 'Open dialog box' or Nav Dialog, or something like that.
I'd rather offer that standard interface over requiring the user to
type the full path to the directory into a text field.
Is there a widget or combination for use in GUIbuilder that I have
missed that will accomplish it?
If not, pointing me to some code resource for doing it with Perl/Tk
would be much appreciated! Some research indicates that this should
be via 'chooseDirectory', but I don't find any full working examples
posted anywhere; not even in documentation, that will compile and run
on my Komodo Pro 3.5 environment.
Thanks VERY much
-bC
| |
|
| On Dec 19, 8:00 am, consultmac2 <barryc....@gmail.com> wrote:
> I'm experimenting with the Komodo GUIBuilder (under Win XP) for the
> first time starting this w . It looks promising for building the GUI
> that I need for my Perl project, however there's one thing in
> particular that I need and don't see available.
>
> In my project I need an easy way for the user to navigate to available
> disks and directories in order to specify the directory that contains
> the files that I will process with my perl script. On Mac OSX I would
> call that an 'Open dialog box' or Nav Dialog, or something like that.
> I'd rather offer that standard interface over requiring the user to
> type the full path to the directory into a text field.
>
> Is there a widget or combination for use in GUIbuilder that I have
> missed that will accomplish it?
>
> If not, pointing me to some code resource for doing it with Perl/Tk
> would be much appreciated! Some research indicates that this should
> be via 'chooseDirectory', but I don't find any full working examples
> posted anywhere; not even in documentation, that will compile and run
> on my Komodo Pro 3.5 environment.
>
> Thanks VERY much
>
> -bC
Not familiar with GUIbuilder. For Perl/Tk take a look at the
Win32::Fileop module (BrowseForFolder function). Of course this is a
Windows-specific solution.
HTH, Ken
|
|
|
|
|