| Allegro CL version 8.1 Unrevised from 8.0 to 8.1. 8.0 version |
Arguments: &key prompt stream root dont-go-below-domain browse-include-files
Displays a dialog showing directories. The chosen directory is returned as a pathname object. Note that the pathname of the directory is stored in a buffer and if the buffer is too small, an error will be signaled. The buffer size is determined by file-selection-buffer-size. The default size is large enough to hold at least 12 pathnames so this should not be a problem for this function, which returns one pathname only.
Note too that it is not possible to specify the initially-selected directory or which subdirectories are initially open in the hierarchy that is presented.
The arguments are:
nil
,
the prompt "Select a folder." is used.
nil
, indicating the directory that will
appear as the root node in the dialog's directory tree. Only this
directory and its subdirectory descendents will be presented for
selection by the end user. nil
means to
include all available file systems. Note that if a namestring
is passed, backslashes must be used rather than forward
slashes. The final slash is optional when either a pathname or
namestring is passed.
nil
, directories on both the
local computer and networked computers are accessible. .
The similar function ask-user-for-new-or-existing-directory invokes a dialog that has more options than this function does. But this function invokes the directory dialog that is provided by the operating system and therefore may be more familiar to users of that operating system.
See also ask-user-for-existing-pathname and ask-user-for-new-pathname.
Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.9.22.
| Allegro CL version 8.1 Unrevised from 8.0 to 8.1. 8.0 version |