mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
This commit is contained in:
parent
a00d440edb
commit
4b685bf719
2 changed files with 7 additions and 6 deletions
|
@ -3533,7 +3533,7 @@ class Image:
|
|||
self.tk.call('image', 'width', self.name))
|
||||
|
||||
class PhotoImage(Image):
|
||||
"""Widget which can display colored images in GIF, PPM/PGM format."""
|
||||
"""Widget which can display images in PGM, PPM, GIF, PNG format."""
|
||||
def __init__(self, name=None, cnf={}, master=None, **kw):
|
||||
"""Create an image with NAME.
|
||||
|
||||
|
@ -3597,7 +3597,7 @@ class PhotoImage(Image):
|
|||
self.tk.call(args)
|
||||
|
||||
class BitmapImage(Image):
|
||||
"""Widget which can display a bitmap."""
|
||||
"""Widget which can display images in XBM format."""
|
||||
def __init__(self, name=None, cnf={}, master=None, **kw):
|
||||
"""Create a bitmap with NAME.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue