Commit c296651e authored by Guido van Rossum's avatar Guido van Rossum

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

parent a16a509d
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment