Hi all. I have a relatively straightforward question.
If I have a function running in a new thread in kivy, will the class attributes that it updates be accessible in "real time" to the main thread?
Some background. I have a function which takes lots of time to run. So I decided to place it on a new thread, and then subsequently found out that I cannot update the GUI from a new thread (the update being a progress bar).
Now I have been trying to do something along the lines of having a clock_schedule event updating the progress bar on the main thread, while the heavy function runs on the new thread and updates the value parameter for the progress bar.
Does this make sense? I'll readily admit that I don't fully understand threads, but if they work they way I think they do (which they might not!), this should work?