When I run my app - clicking on that textinput gives...
File "C:\cygwin64\home\ian.collins\Kivy-1.9.0-py2.7-win32-x64\kivy27\kivy\uix\textinput.py", line 1047, in on_touch_down
if super(TextInput, self).on_touch_down(touch):
File "C:\cygwin64\home\ian.collins\Kivy-1.9.0-py2.7-win32-x64\kivy27\kivy\uix\behaviors.py", line 843, in on_touch_down
self.focus = True
File "kivy\properties.pyx", line 397, in kivy.properties.Property.__set__ (kivy\properties.c:4680)
File "kivy\properties.pyx", line 429, in kivy.properties.Property.set (kivy\properties.c:5203)
File "kivy\properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy\properties.c:5852)
File "kivy\_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy\_event.c:12154)
File "kivy\_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (kivy\_event.c:11451)
TypeError: on_focus() takes exactly 2 arguments (3 given)
Process finished with exit code -1
Thats with...
def on_focus(self, value):
if value:
Logger.debug('CRV: ti focused')
else:
Logger.debug('CRV: ti DEfocused')
super(BTextInput, self).on_focus(value)
and,
self.bind(focus=self.on_focus)
???
Regards, Ian.