Replies: 1 comment
-
in effect, I don't want to create an application from scratch but use hope, this would be possible via the concept explained above. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering how I would be able to use the
ProgressBar
widget in order to represent the inner workings of a large function stored within a library.I thought about this concept:
ProgressBar
widget within my GUIreactive
variable to store / update the current progress statusreactive
variable within the target library functionreactive
variable within the most outer loop within that library functionhere is the example code.
gui.py
test__mllicmgt.py
When Clicking on the Button, the library method gets called, and the
reactive
variable should get updated. But theProgressBar
in the GUI is not updated. After about 9 seconds, the GUI gets reactive again so that I can exit the application using the<Q>
key.I am sure, I disregarded the whole
asyncio
subject, and maybe some more...Are there any tips to get the
ProgressBar
updated in the GUI while representing the progress of the library method's loop?Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions