@@ -1004,7 +1004,7 @@ def winfo_ismapped(self):
10041004 return self .tk .getint (
10051005 self .tk .call ('winfo' , 'ismapped' , self ._w ))
10061006 def winfo_manager (self ):
1007- """Return the window mananger name for this widget."""
1007+ """Return the window manager name for this widget."""
10081008 return self .tk .call ('winfo' , 'manager' , self ._w )
10091009 def winfo_name (self ):
10101010 """Return the name of this widget."""
@@ -1679,7 +1679,7 @@ def image_names(self):
16791679 return self .tk .splitlist (self .tk .call ('image' , 'names' ))
16801680
16811681 def image_types (self ):
1682- """Return a list of all available image types (e.g. phote bitmap)."""
1682+ """Return a list of all available image types (e.g. photo bitmap)."""
16831683 return self .tk .splitlist (self .tk .call ('image' , 'types' ))
16841684
16851685
@@ -1818,7 +1818,7 @@ def wm_focusmodel(self, model=None):
18181818 return self .tk .call ('wm' , 'focusmodel' , self ._w , model )
18191819 focusmodel = wm_focusmodel
18201820 def wm_forget (self , window ): # new in Tk 8.5
1821- """The window will be unmappend from the screen and will no longer
1821+ """The window will be unmapped from the screen and will no longer
18221822 be managed by wm. toplevel windows will be treated like frame
18231823 windows once they are no longer managed by wm, however, the menu
18241824 option configuration will be remembered and the menus will return
@@ -2527,7 +2527,7 @@ def find_closest(self, x, y, halo=None, start=None):
25272527 """Return item which is closest to pixel at X, Y.
25282528 If several match take the top-most.
25292529 All items closer than HALO are considered overlapping (all are
2530- closests ). If START is specified the next below this tag is taken."""
2530+ closest ). If START is specified the next below this tag is taken."""
25312531 return self .find ('closest' , x , y , halo , start )
25322532 def find_enclosed (self , x1 , y1 , x2 , y2 ):
25332533 """Return all items in rectangle defined
@@ -2587,7 +2587,7 @@ def postscript(self, cnf={}, **kw):
25872587 """Print the contents of the canvas to a postscript
25882588 file. Valid options: colormap, colormode, file, fontmap,
25892589 height, pageanchor, pageheight, pagewidth, pagex, pagey,
2590- rotate, witdh , x, y."""
2590+ rotate, width , x, y."""
25912591 return self .tk .call ((self ._w , 'postscript' ) +
25922592 self ._options (cnf , kw ))
25932593 def tag_raise (self , * args ):
@@ -3522,7 +3522,7 @@ def height(self):
35223522 return self .tk .getint (
35233523 self .tk .call ('image' , 'height' , self .name ))
35243524 def type (self ):
3525- """Return the type of the imgage , e.g. "photo" or "bitmap"."""
3525+ """Return the type of the image , e.g. "photo" or "bitmap"."""
35263526 return self .tk .call ('image' , 'type' , self .name )
35273527 def width (self ):
35283528 """Return the width of the image."""
0 commit comments