Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
910a671b
Kaydet (Commit)
910a671b
authored
Tem 30, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added SetFolder
üst
a29cc972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
libmacfs.tex
Doc/libmacfs.tex
+12
-0
libmacfs.tex
Doc/mac/libmacfs.tex
+12
-0
No files found.
Doc/libmacfs.tex
Dosyayı görüntüle @
910a671b
...
@@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional.
...
@@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional.
Return an FSSpec object and a success-indicator.
Return an FSSpec object and a success-indicator.
\end{funcdesc}
\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
}
\begin{funcdesc}
{
FindFolder
}{
where
\,
which
\,
create
}
Locates one of the ``special'' folders that MacOS knows about, such as
Locates one of the ``special'' folders that MacOS knows about, such as
the trash or the Preferences folder.
\var
{
Where
}
is the disk to
the trash or the Preferences folder.
\var
{
Where
}
is the disk to
...
...
Doc/mac/libmacfs.tex
Dosyayı görüntüle @
910a671b
...
@@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional.
...
@@ -66,6 +66,18 @@ dialog. \var{prompt} is the prompt string, and the optional.
Return an FSSpec object and a success-indicator.
Return an FSSpec object and a success-indicator.
\end{funcdesc}
\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
}
\begin{funcdesc}
{
FindFolder
}{
where
\,
which
\,
create
}
Locates one of the ``special'' folders that MacOS knows about, such as
Locates one of the ``special'' folders that MacOS knows about, such as
the trash or the Preferences folder.
\var
{
Where
}
is the disk to
the trash or the Preferences folder.
\var
{
Where
}
is the disk to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment