Message384513
I have created an enhancement in the Turtle module. When a programmer wants to have an action performed after clicking on a Turtle object, the programmer is currently unable to supply any arguments into the method that is run when "on_clicked" which is extremely limiting, especially to beginners who are looking to modify multiple objects on the screen at one time, such as in a game. I have modified the implementation of the “on_clicked” method to be able to provide keyword arguments into the method through a dictionary that is later unpacked into the target method. Attached is an example of the benefits of this enhancement to the turtle module. |
|
Date |
User |
Action |
Args |
2021-01-06 17:00:12 | sc1341 | set | recipients:
+ sc1341 |
2021-01-06 17:00:12 | sc1341 | set | messageid: <1609952412.13.0.0764333219073.issue42844@roundup.psfhosted.org> |
2021-01-06 17:00:12 | sc1341 | link | issue42844 messages |
2021-01-06 17:00:12 | sc1341 | create | |
|