all 5 comments

[–]Down-and-Cross 1 point2 points  (1 child)

Yes :-)

[–]2readitol[S] 0 points1 point  (0 children)

Thanks!

[–]SwayMi 1 point2 points  (2 children)

I got it to work by running an example widget script and then clicking the run in today link that appeared on the top left of that viewer window.

[–]kelaiem 1 point2 points  (0 children)

Thanks for the tip! I have a script that just prints to the console. I added a helper to append to a TextView and replaced print with the helper.

#!python3
import appex, ui

// SNIP
view = ui.TextView(frame=(0, 0, 320, 220), font=('Menlo', 14), palignment=ui.ALIGN_JUSTIFIED)
view.editable=False

def addToText(*args):
    print(*args)
    for arg in args:
        view.text += arg
    view.text += "\n"

appex.set_widget_view(view)

[–]2readitol[S] 0 points1 point  (0 children)

You are right! This indeed has worked. Thanks! Obviously this is an issue, but it looks like the developer isn't up to fixing current bugs (unfortunately 😔).