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.
UI.TextView.action
-
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
-
def TextArea_tapped(sender): sender.superview['a_button'].enabled = sender.text != ""
See: http://omz-forums.appspot.com/pythonista/post/4995445122138112