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
8f512a22
Kaydet (Commit)
8f512a22
authored
May 16, 2003
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add docs for MessageBeep.
üst
993bc3a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
libwinsound.tex
Doc/lib/libwinsound.tex
+30
-0
No files found.
Doc/lib/libwinsound.tex
Dosyayı görüntüle @
8f512a22
...
@@ -37,6 +37,16 @@ two functions and several constants.
...
@@ -37,6 +37,16 @@ two functions and several constants.
\exception
{
RuntimeError
}
is raised.
\exception
{
RuntimeError
}
is raised.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
MessageBeep
}{
\optional
{
type=
\code
{
MB
_
OK
}}}
Call the underlying
\cfunction
{
MessageBeep()
}
function from the
Platform API. This plays a sound as specified in the registry. The
\var
{
type
}
argument specifies which sound to play; possible values
are
\code
{
-1
}
,
\code
{
MB
_
ICONASTERISK
}
,
\code
{
MB
_
ICONEXCLAMATION
}
,
\code
{
MB
_
ICONHAND
}
,
\code
{
MB
_
ICONQUESTION
}
, and
\code
{
MB
_
OK
}
, all
described below. The value
\code
{
-1
}
produces a ``simple beep'';
this is the final fallback if a sound cannot be played otherwise.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{datadesc}
{
SND
_
FILENAME
}
\begin{datadesc}
{
SND
_
FILENAME
}
The
\var
{
sound
}
parameter is the name of a WAV file.
The
\var
{
sound
}
parameter is the name of a WAV file.
...
@@ -110,3 +120,23 @@ winsound.PlaySound("*", winsound.SND_ALIAS)
...
@@ -110,3 +120,23 @@ winsound.PlaySound("*", winsound.SND_ALIAS)
\begin{datadesc}
{
SND
_
NOWAIT
}
\begin{datadesc}
{
SND
_
NOWAIT
}
Return immediately if the sound driver is busy.
Return immediately if the sound driver is busy.
\end{datadesc}
\end{datadesc}
\begin{datadesc}
{
MB
_
ICONASTERISK
}
Play the
\code
{
SystemDefault
}
sound.
\end{datadesc}
\begin{datadesc}
{
MB
_
ICONEXCLAMATION
}
Play the
\code
{
SystemExclamation
}
sound.
\end{datadesc}
\begin{datadesc}
{
MB
_
ICONHAND
}
Play the
\code
{
SystemHand
}
sound.
\end{datadesc}
\begin{datadesc}
{
MB
_
ICONQUESTION
}
Play the
\code
{
SystemQuestion
}
sound.
\end{datadesc}
\begin{datadesc}
{
MB
_
OK
}
Play the
\code
{
SystemDefault
}
sound.
\end{datadesc}
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