Add image_types() and image_names() as methods to Misc class.

This commit is contained in:
Guido van Rossum 1998-04-10 19:16:10 +00:00
parent a16a509dfc
commit c296651e10
1 changed files with 8 additions and 0 deletions

View File

@ -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):