if you want a filename for reading or writing respectively.my $filename = $widget->getOpenFile( ARGS ); # or my $filename = $widget->getSaveFile( ARGS );
This will open a standard Tk file-dialog window that allows the user to select or type a filename/path.
More info in Tk::getOpenFile.
In reply to Re: PerlTk File Input
by Joost
in thread PerlTk File Input
by paul99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |