orac_FileSelect.pm - Orac code and Image Viewer
This code is provides a way of traversing directories to examine files.
&new() &req_filebox()
Sets up the blessed object, and makes sure we can change background colours, give it the correct title etc.
The function called, when in use from the main Orac menu. Pumps up the screen, and sets up the main IconList.
When the user presses the "Up Directory" button, this takes the user to the desired location. Should stop them moving outside of the Orac distribution.
Gets called when user invokes the IconList widget (double-click, Return key, etc).
Takes the file picked, and then displays it. Varies how it does this on file type, whether POD required, etc.
Changes the directory path, or at least gets the process going.
Continues process of changing directory. Once there, fills the IconList widget with the appropriate icons.
To install orac_Font, copy and paste the appropriate command in to your terminal.
cpanm
cpanm orac_Font
CPAN shell
perl -MCPAN -e shell install orac_Font
For more information on module installation, please visit the detailed CPAN module installation guide.