Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tar.tcl for progress bar callback #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Meshparts
Copy link

Update of tar.tcl to support optional progress bar callback. The new optional parameter can be added to the args list of tar::create like below:

tar::create $fd $paths -chan -progress [list ::ProgressBar]

The procedure ::UIProgressBar should be defined as in the case of http package, only that a token is not needed here:

proc Progress {total current} {
## Update a global variable that is linked to the progress bar widget
}

Hello. Attention please

You are currently using the github mirror of the Tcllib sources.

This is not the location where Tcllib development takes place.

We are not tracking issues entered here. With the exception of the
maintainer of the mirroring setup nobody will even see such issues.

Please go to the
official location of the sources
and enter your ticket into the
official ticket tracker
instead.

Thank you for your consideration.

Update of tar.tcl to support optional progress bar callback. 
The new optional parameter can be added to the args list of tar::create like below:

tar::create $fd $paths -chan -progress [list ::ProgressBar]

The procedure ::UIProgressBar should be defined as in the case of http package, only that a token is not needed here:

proc Progress {total current} {
    ## Update a global variable that is linked to the progress bar widget
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant