I have a TextInput I add to an already existing and visible window, a Popup. I'd like to make it focused when it appears. How do I do that? I've tried:
1. Add it to the already-visible window with add_widget(), then set the "focus" property to True.
2. Set up a Clock callback in the TextInput's __init__, like this:
Clock.schedule_once(self.check_connected)
and then
def check_connected(self, *args):
if not self.disabled and self.get_root_window() is not None:
self.focus = True
else:
Clock.schedule_once(self.check_connected)
Neither works.
Bill