Interesting exchange today on the slack channel about how you might approach getting the contents of the textport into a window for your output. I don’t know if there’s a direct way to access the contents of the textport, and I don’t think I’d actually want that. Instead you might write up a little method to help handle just those things.
In the provided example you can see how you might go about setting up an extension to smartly handle updating a table with a string as well as how to clean up that table, and make sure that the latest message still manages to get displayed.
I don’t know if it’s handy for anyone else, but figured that it was worth sharing even if it helped one person.
base_printDispExample.tox (2.92 KB)
For a more complete description see the doc strings in the extension.