@@ -1004,7 +1004,7 @@ def winfo_ismapped(self):
1004
1004
return self .tk .getint (
1005
1005
self .tk .call ('winfo' , 'ismapped' , self ._w ))
1006
1006
def winfo_manager (self ):
1007
- """Return the window mananger name for this widget."""
1007
+ """Return the window manager name for this widget."""
1008
1008
return self .tk .call ('winfo' , 'manager' , self ._w )
1009
1009
def winfo_name (self ):
1010
1010
"""Return the name of this widget."""
@@ -1679,7 +1679,7 @@ def image_names(self):
1679
1679
return self .tk .splitlist (self .tk .call ('image' , 'names' ))
1680
1680
1681
1681
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)."""
1683
1683
return self .tk .splitlist (self .tk .call ('image' , 'types' ))
1684
1684
1685
1685
@@ -1818,7 +1818,7 @@ def wm_focusmodel(self, model=None):
1818
1818
return self .tk .call ('wm' , 'focusmodel' , self ._w , model )
1819
1819
focusmodel = wm_focusmodel
1820
1820
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
1822
1822
be managed by wm. toplevel windows will be treated like frame
1823
1823
windows once they are no longer managed by wm, however, the menu
1824
1824
option configuration will be remembered and the menus will return
@@ -2527,7 +2527,7 @@ def find_closest(self, x, y, halo=None, start=None):
2527
2527
"""Return item which is closest to pixel at X, Y.
2528
2528
If several match take the top-most.
2529
2529
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."""
2531
2531
return self .find ('closest' , x , y , halo , start )
2532
2532
def find_enclosed (self , x1 , y1 , x2 , y2 ):
2533
2533
"""Return all items in rectangle defined
@@ -2587,7 +2587,7 @@ def postscript(self, cnf={}, **kw):
2587
2587
"""Print the contents of the canvas to a postscript
2588
2588
file. Valid options: colormap, colormode, file, fontmap,
2589
2589
height, pageanchor, pageheight, pagewidth, pagex, pagey,
2590
- rotate, witdh , x, y."""
2590
+ rotate, width , x, y."""
2591
2591
return self .tk .call ((self ._w , 'postscript' ) +
2592
2592
self ._options (cnf , kw ))
2593
2593
def tag_raise (self , * args ):
@@ -3522,7 +3522,7 @@ def height(self):
3522
3522
return self .tk .getint (
3523
3523
self .tk .call ('image' , 'height' , self .name ))
3524
3524
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"."""
3526
3526
return self .tk .call ('image' , 'type' , self .name )
3527
3527
def width (self ):
3528
3528
"""Return the width of the image."""
0 commit comments