diff options
Diffstat (limited to 'Lib/lib-tk/Tkinter.py')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 51bcb676..7ac6a0f 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -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): |