diff options
author | Guido van Rossum <guido@python.org> | 1996-07-30 18:22:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-30 18:22:31 (GMT) |
commit | 910a671ba0b011cbaa19ff142ab499c7c33e09bc (patch) | |
tree | 43afa4cac32062fe2940661e34b1a0b216028e83 /Doc | |
parent | a29cc97285e7421130d04860c85ba089275aa4cd (diff) | |
download | cpython-910a671ba0b011cbaa19ff142ab499c7c33e09bc.zip cpython-910a671ba0b011cbaa19ff142ab499c7c33e09bc.tar.gz cpython-910a671ba0b011cbaa19ff142ab499c7c33e09bc.tar.bz2 |
Added SetFolder
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/libmacfs.tex | 12 | ||||
-rw-r--r-- | Doc/mac/libmacfs.tex | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Doc/libmacfs.tex b/Doc/libmacfs.tex index 254ed25..f4a7034 100644 --- a/Doc/libmacfs.tex +++ b/Doc/libmacfs.tex @@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional. Return an FSSpec object and a success-indicator. \end{funcdesc} +\begin{funcdesc}{SetFolder}{\optional{fsspec}} +Set the folder that is initially presented to the user when one of +the file selection dialogs is presented. \var{Fsspec} should point to +a file in the folder, not the folder itself (the file need not exist, +though). If no argument is passed the folder will be set to the +current directory, i.e. what \code{os.getcwd()} returns. + +Note that starting with system 7.5 the user can change Standard File +behaviour with the ``general controls'' controlpanel, thereby making +this call inoperative. +\end{funcdesc} + \begin{funcdesc}{FindFolder}{where\, which\, create} Locates one of the ``special'' folders that MacOS knows about, such as the trash or the Preferences folder. \var{Where} is the disk to diff --git a/Doc/mac/libmacfs.tex b/Doc/mac/libmacfs.tex index 254ed25..f4a7034 100644 --- a/Doc/mac/libmacfs.tex +++ b/Doc/mac/libmacfs.tex @@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional. Return an FSSpec object and a success-indicator. \end{funcdesc} +\begin{funcdesc}{SetFolder}{\optional{fsspec}} +Set the folder that is initially presented to the user when one of +the file selection dialogs is presented. \var{Fsspec} should point to +a file in the folder, not the folder itself (the file need not exist, +though). If no argument is passed the folder will be set to the +current directory, i.e. what \code{os.getcwd()} returns. + +Note that starting with system 7.5 the user can change Standard File +behaviour with the ``general controls'' controlpanel, thereby making +this call inoperative. +\end{funcdesc} + \begin{funcdesc}{FindFolder}{where\, which\, create} Locates one of the ``special'' folders that MacOS knows about, such as the trash or the Preferences folder. \var{Where} is the disk to |