-
-
Notifications
You must be signed in to change notification settings - Fork 75
Progress bar example when button is pressed #209
Comments
@jpercyasnet You not tried do something like https://stackoverflow.com/a/8383141/2604116 ? |
This is the rust code when button is clicked. addition code is added later to update the progress bar but even the first set does not update. //----------------- list button start -----------------------------------
. |
from your suggested discussion, to execute progressbar.set_fraction one has to use this code: |
GTK signals are always blocking operations. This means that if you need to do a long-running task, it should be spawned in the background. How you keep up with progress is up to you -- atomics are often a good idea alongside a |
when I try to do progress bar update when a button is clicked, nothing is updated until the button click code is completed. Does any one have an example for using the Progress Bar?
The text was updated successfully, but these errors were encountered: