merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
use strict "vars"; use Tk; my ($mw); sub org_select { my $filetypes = [ ['Drawing Files', '.drg'], ['All files', '*'] ]; my $select_file_full = $mw->getOpenFile( -filetypes => $filetypes); } $mw = MainWindow->new; $mw->Button(-text => 'Select File', -command => \&org_select )->pack; MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getOpenFile & -filetypes option probem
by zentara (Cardinal) on Nov 01, 2007 at 17:06 UTC | |
by merrymonk (Hermit) on Nov 01, 2007 at 23:45 UTC | |
by zentara (Cardinal) on Nov 02, 2007 at 12:02 UTC | |
by merrymonk (Hermit) on Nov 03, 2007 at 16:38 UTC |