Skip to content
Discussion options

You must be logged in to vote

For reference, the following is your proposed solution to your problem:

"but each screen should show the same instance of RichLog"

Your problem would be something like this:

"How can I have a log on multiple screens, showing the same data?"

... sure

If your log is a list of text, then I'd recommend storing it in a list, and writing it to your log on ScreenResume. It will do some additional work, but unless your log is extremely large performance won't be an issue.

I have a global list of log entries now, and whenever I append a log, I add it to the active screen's log. The on_screen_resume handler clears the log and then fills it again with all log entries, to avoid duplicates. Thanks…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tronje
Comment options

@tronje
Comment options

@willmcgugan
Comment options

@tronje
Comment options

Answer selected by tronje
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants