Progress: set options on the fly #77
-
Hi, i want to implement a simple progress dialog window, but it seems i cant quite specify a 'marquee' option. My usecase for this is to start the progressbar with no progress (eg. the bar itself jumping back and fourth, known as |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
What are you using: the Go package, or the command line zenity? Which platform? |
Beta Was this translation helpful? Give feedback.
-
Go, Linux, Wayland |
Beta Was this translation helpful? Give feedback.
-
Sorry, memory fails me. This isn't possible, especially on Linux. You can try this on the command line, run: $ zenity --progress Then update the progress bar by inputing a percentage on each line: $ zenity --progress
10
20
30 It works! But if you add pulsate, it doesn't, anymore: $ zenity --progress --pulsate
10
20
30 So there's no way I can make it work for One way to make the dialog more useful in that case, which works only on Linux, is to add |
Beta Was this translation helpful? Give feedback.
Sorry, memory fails me. This isn't possible, especially on Linux.
You can try this on the command line, run:
Then update the progress bar by inputing a percentage on each line:
It works! But if you add pulsate, it doesn't, anymore:
So there's no way I can make it work for
zenity
, and per policy described in #1, I left it out for other platforms where I could maybe make it work.One way to make the dialog more useful in that case, which works only on Linux, is to add
zenity.TimeRemaining
.