DirMenu (leaf, event)
A ``directory menu'' is a button connected to a
FileBrowser. The button displays the name of the last (nearest)
component of the FileBrowser's current directory.
- For
- (Symbol)
The name of a FileBrowser. This property
is required.
- Behavior
- The directory menu shows the FileBrowser's
parent-directories, one parent per line, down to first component of
the path, which is typically the root directory. Selecting an item in
this menu makes that parent-directory be the FileBrowser's current
directory.
- Shape
- The shape of a TextVBT containing the name of the parent,
plus the shadow.
- Notes
- A DirMenu never generates
events in its own name. It can be accessed in its own name,
but this is not recommended.
- In a typical "Open File..." dialog, the DirMenu is
above the FileBrowser, and the Helper is below. See
Figure [FileBrowserFigure]
- See Also
- FileBrowser and Helper