Can't understand how to create/delegate action method for ui.TextView (like ui.TextFiled.action that gets called when text field has finished editing).
Is it possible?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Can't understand how to create/delegate action method for ui.TextView (like ui.TextFiled.action that gets called when text field has finished editing).
Is it possible?
Thanks for the answer, only what I want:
to start func TextArea_tapped() after any action in TextView
def TextArea_tapped(sender):
if len(textarea.text) > 0:
a_button.enabled = True
else:
a_button.enabled = False