Skip to content

Progress: set options on the fly #77

Answered by ncruces
apprehensions asked this question in Q&A
Discussion options

You must be logged in to vote

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 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.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@apprehensions
Comment options

Answer selected by apprehensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants