@@ -855,7 +855,7 @@ def winfo_ismapped(self):
855
855
return getint (
856
856
self .tk .call ('winfo' , 'ismapped' , self ._w ))
857
857
def winfo_manager (self ):
858
- """Return the window mananger name for this widget."""
858
+ """Return the window manager name for this widget."""
859
859
return self .tk .call ('winfo' , 'manager' , self ._w )
860
860
def winfo_name (self ):
861
861
"""Return the name of this widget."""
@@ -1522,7 +1522,7 @@ def image_names(self):
1522
1522
return self .tk .splitlist (self .tk .call ('image' , 'names' ))
1523
1523
1524
1524
def image_types (self ):
1525
- """Return a list of all available image types (e.g. phote bitmap)."""
1525
+ """Return a list of all available image types (e.g. photo bitmap)."""
1526
1526
return self .tk .splitlist (self .tk .call ('image' , 'types' ))
1527
1527
1528
1528
@@ -2364,7 +2364,7 @@ def find_closest(self, x, y, halo=None, start=None):
2364
2364
"""Return item which is closest to pixel at X, Y.
2365
2365
If several match take the top-most.
2366
2366
All items closer than HALO are considered overlapping (all are
2367
- closests ). If START is specified the next below this tag is taken."""
2367
+ closest ). If START is specified the next below this tag is taken."""
2368
2368
return self .find ('closest' , x , y , halo , start )
2369
2369
def find_enclosed (self , x1 , y1 , x2 , y2 ):
2370
2370
"""Return all items in rectangle defined
@@ -2424,7 +2424,7 @@ def postscript(self, cnf={}, **kw):
2424
2424
"""Print the contents of the canvas to a postscript
2425
2425
file. Valid options: colormap, colormode, file, fontmap,
2426
2426
height, pageanchor, pageheight, pagewidth, pagex, pagey,
2427
- rotate, witdh , x, y."""
2427
+ rotate, width , x, y."""
2428
2428
return self .tk .call ((self ._w , 'postscript' ) +
2429
2429
self ._options (cnf , kw ))
2430
2430
def tag_raise (self , * args ):
@@ -3355,7 +3355,7 @@ def height(self):
3355
3355
return getint (
3356
3356
self .tk .call ('image' , 'height' , self .name ))
3357
3357
def type (self ):
3358
- """Return the type of the imgage , e.g. "photo" or "bitmap"."""
3358
+ """Return the type of the image , e.g. "photo" or "bitmap"."""
3359
3359
return self .tk .call ('image' , 'type' , self .name )
3360
3360
def width (self ):
3361
3361
"""Return the width of the image."""
0 commit comments