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', '*'] ]; print "\nbefore getOpenFile\n"; 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: Perl Tk - getopenFile failure
by GotToBTru (Prior) on Sep 03, 2015 at 15:22 UTC | |
by merrymonk (Hermit) on Sep 03, 2015 at 15:53 UTC | |
|
Re: Perl Tk - getopenFile failure
by Anonymous Monk on Sep 03, 2015 at 20:02 UTC |