R/setTxtProgressBar.R

setTxtProgressBar=function (pb, value, title = NULL, label = NULL) {
  if (!inherits(pb, "txtProgressBar"))
    stop(gettextf("'pb' is not from class %s", dQuote("txtProgressBar")),
         domain = NA)
  oldval <- pb$getVal()
  pb$up(value)
  invisible(oldval)
}
Hlch1992/ARZIMM documentation built on Feb. 11, 2020, 2:34 a.m.