in reply to Re: Tk::FileDialog: can't make ".filedialog" its own master
in thread Tk::FileDialog: can't make ".filedialog" its own master

Your Google-fu is apparently more powerful than mine. Thanks for the link. I didn't find a Tk::getFileOpen, but searching CPAN for getopenfile brought up chooseDirectory, and its file-selecting counterpart, getOpenFile, which appears to be undocumented on CPAN (but it's in chooseDirectory's SEE ALSO, and it works when I try it — and perldoc covers it). These are very fine widgets indeed.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^3: Tk::FileDialog: can't make ".filedialog" its own master
by elef (Friar) on Jan 31, 2011 at 20:49 UTC
    Thanks for this one. It's been three years since your posts, but the bug hasn't been fixed. I just came up against it on a Win7 system with ActivePerl 5.10.0.
    GetOpenFile works fine for me, so I'll just use that. Here's the documentation on getOpenFile. It comes with Tk, no install needed.
      Hmmm, I'm getting this problem on a debian install perl. not activeperl. i'm using it to select only directories and i tried Gtk2::Ex::Dialogs::ChooseDirectory and came up against hell with it too until i realized that everything else in the app is tk. tia