Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c296651e
Commit
c296651e
authored
Apr 10, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add image_types() and image_names() as methods to Misc class.
parent
a16a509d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Lib/lib-tk/Tkinter.py
Lib/lib-tk/Tkinter.py
+8
-0
No files found.
Lib/lib-tk/Tkinter.py
View file @
c296651e
...
...
@@ -731,6 +731,14 @@ class Misc:
return
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
'event'
,
'info'
,
virtual
))
# Image related commands
def
image_names
(
self
):
return
self
.
tk
.
call
(
'image'
,
'names'
)
def
image_types
(
self
):
return
self
.
tk
.
call
(
'image'
,
'types'
)
class
CallWrapper
:
def
__init__
(
self
,
func
,
subst
,
widget
):
...
...
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