@@ -1352,7 +1352,7 @@ def onclick(self, fun, btn=1, add=None):
1352
1352
Arguments:
1353
1353
fun -- a function with two arguments, the coordinates of the
1354
1354
clicked point on the canvas.
1355
- num -- the number of the mouse-button, defaults to 1
1355
+ btn -- the number of the mouse-button, defaults to 1
1356
1356
1357
1357
Example (for a TurtleScreen instance named screen)
1358
1358
@@ -3526,7 +3526,7 @@ def onclick(self, fun, btn=1, add=None):
3526
3526
Arguments:
3527
3527
fun -- a function with two arguments, to which will be assigned
3528
3528
the coordinates of the clicked point on the canvas.
3529
- num -- number of the mouse-button defaults to 1 (left mouse button).
3529
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3530
3530
add -- True or False. If True, new binding will be added, otherwise
3531
3531
it will replace a former binding.
3532
3532
@@ -3547,7 +3547,7 @@ def onrelease(self, fun, btn=1, add=None):
3547
3547
Arguments:
3548
3548
fun -- a function with two arguments, to which will be assigned
3549
3549
the coordinates of the clicked point on the canvas.
3550
- num -- number of the mouse-button defaults to 1 (left mouse button).
3550
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3551
3551
3552
3552
Example (for a MyTurtle instance named joe):
3553
3553
>>> class MyTurtle(Turtle):
@@ -3572,7 +3572,7 @@ def ondrag(self, fun, btn=1, add=None):
3572
3572
Arguments:
3573
3573
fun -- a function with two arguments, to which will be assigned
3574
3574
the coordinates of the clicked point on the canvas.
3575
- num -- number of the mouse-button defaults to 1 (left mouse button).
3575
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3576
3576
3577
3577
Every sequence of mouse-move-events on a turtle is preceded by a
3578
3578
mouse-click event on that turtle.
0 commit comments