A new fileBrowser can be either started by the
launcher
or by evaluating the smalltalk expression
in a
workspace
or from within your program.
FileBrowserV2 open
The above starts the browser in the last visited directory.
To start a browser on some other directory, evaluate:
FileBrowserV2 openOn:'someDirectory'
Typically, after startup, it looks like:
It consists of 3 subviews pluse various menu panels and pathFields; these are:
To see the contents of a file, simply double-click on the
corresponding name entry in the directory contents list.
If the selected item is a text file, its contents is shown in the
contents-view.
The contents view knows how to present certain files; for example,
if you select a bitmap file, the bitmap image is shown.
The directory contents list will only show files matching the pattern in the pattern field (if a pattern was entered).
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).