A fileBrowser can be either started by the
launcher
or by evaluating the smalltalk expression
in a
workspace
or from within your program.
FileBrowser open
The above starts the fileBrowser in the current directory.
To start a browser on some other directory, evaluate:
FileBrowser openOn:'someDirectory'
Typically, after startup it looks like:
It consists of 4 subviews; these are:
To see the contents of a file, simply double-click on the
corresponding name entry in the file list. If the clicked-upon
name represents a directory, a change-directory into this
directory will be performed.
When changing directories, the fileBrowser will automatically look for
a file named ".dir.info"
and show its contents if present.
The
file list will only show files matching the pattern in
the pattern field, which is by default "*"
, thus matching all
files. Directories are always shown, unaffected by the match pattern.
To change the match pattern, move the mouse-pointer into the pattern
field, edit the pattern and type return
(or use
accept
in the pattern-fields own popup-menu).
All of the above mentioned subviews provide a popup menu, which is activated by the middle mouse button (or the right button, if you use a 2-button mouse).