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
a288a234
Kaydet (Commit)
a288a234
authored
Kas 05, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document that images go away when they go away. Fixes #632323.
üst
da2525ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
tkinter.tex
Doc/lib/tkinter.tex
+18
-0
No files found.
Doc/lib/tkinter.tex
Dosyayı görüntüle @
a288a234
...
...
@@ -881,6 +881,24 @@ that matches for menu items labelled \code{last}, \code{active}, or
\end{itemize}
\end{description}
\subsubsection
{
Images
}
Bitmap/Pixelmap images can be created through the subclasses of
\class
{
Tkinter.Image
}
:
\begin{itemize}
\item
\class
{
BitmapImage
}
can be used for X11 bitmap data.
\item
\class
{
PhotoImage
}
can be used for GIF and PPM/PGM color bitmaps.
\end{itemize}
Either type of image is created through either the
\code
{
file
}
or the
\code
{
data
}
option (other options are available as well).
The image object can then be used whereever an
\code
{
image
}
option is
supported by some widget (e.g. labels, buttons, menus). In these
cases, Tk will not keep a reference to the image. When the last Python
reference to the image object is deleted, the image data is deleted as
well, and Tk will display an empty box wheerever the image was used.
\section
{
\module
{
Tix
}
---
Extension widgets for Tk
}
...
...
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