merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
I use an application which when opening a file gives a window which has an button that give a list of recently opened files.
I use getOpenFile with Perl /Tk to provide a file opening fnction.
Is there a way of adding the ‘recent file list’ button that I use on that other, none Perl based, application?
Comment on List of recent files for getOpenFile (perl Tk)
As far as I know, there's no such widget provided in Tk; but you can easily create it yourself: Just keep a list of recently opened files, add each opened file to it, and probably make it persistent by saving the list into a file. Don't forget to store the full path, not just the file name.