NAME
orac_FileSelect.pm - Orac code and Image Viewer
DESCRIPTION
This code is provides a way of traversing directories to examine files.
PUBLIC METHODS
&new() &req_filebox()
new
Sets up the blessed object, and makes sure we can change background colours, give it the correct title etc.
req_filebox
The function called, when in use from the main Orac menu. Pumps up the screen, and sets up the main IconList.
UpDirCmd
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.
ListInvoke
Gets called when user invokes the IconList widget (double-click, Return key, etc).
display_file
Takes the file picked, and then displays it. Varies how it does this on file type, whether POD required, etc.
SetPath
Changes the directory path, or at least gets the process going.
Update
Continues process of changing directory. Once there, fills the IconList widget with the appropriate icons.