
D
Version 3.2 and the File Chooser
The XView File Chooser is an implementation of the OPENLOOK Application File Choosing
Specification. The Application File Choosing Specification supercedes the traditional
OPEN LOOK Style Guide on the subject of opening and saving files from an application,
without the use of the File Manager. The file chooser also lets the user easily navigate
through the file system. Note that the file chooser is not intended to replace the File Man-
ager; any application supporting the file chooser is also required by the File Choosing Speci-
fication to support drag and drop with the File Manager, in accordance with the OPEN LOOK
Drag and Drop Specification.
File choosers provide a simple and consistent interface for opening and saving files to the
UNIX File System. File choosers also provide a Go To Menu for going to different direc-
tories which allows the user to easily select a directory from a predefined list, an application
defined list or a dynamicly created history list. Normally a file chooser will be presented
from an application’s File Menu. The user will then have selections for opening a document,
saving a document, or saving a document to a new name. Once one of these selections is
made, a file chooser object is presented.
D.1 Creating File Choosers
To use the FILE_CHOOSER package, include the header file <xview/file_chsr.h>. The object
type is File_chooser. The ...