Replies: 1 comment 2 replies
-
|
Hi @kjhermans. Sorry for the delay in answering, I've been away for a few days. What you're describing is a specific case of a synchronous application. In that case, you should use https://nappgui.com/en/osapp/osapp.html#h2 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am - amongst others - using NappGUI to write a new GUI component, based on a View, that tracks and displays the contents of a log file. The displaying I've got working now - it's the tracking that I have a question about. Say I want to keep the code strictly to within the component and I wanted to get a callback every second or so, so I can see if the log file has grown and when it has, call 'update' on the component - how would I go about it? I could just spawn a thread, but I'm not sure that GUI component code is reentrant.
I found this: #101 but that doesn't seem to quite do what I want.
Beta Was this translation helpful? Give feedback.
All reactions