'Set focus for python turtle textinput
In my python project (game) I have a function to get player (2) names:
def get_names(self):
self.lp_name = turtle.textinput("Left Player", "Enter your Name")
self.rp_name = turtle.textinput("Right Player", "Enter your Name")
For the first (Left Player) the textinput field is active - has focus but NOT for the second (Right Player)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
