bar.pyi 366 B

1234567891011121314
  1. from typing import Sequence
  2. from .widgets import WidgetBase
  3. class ProgressBar:
  4. def __init__(
  5. self,
  6. widgets: Sequence[str | WidgetBase] = ...,
  7. max_value: int = ...,
  8. min_poll_interval: float = ...,
  9. ) -> None: ...
  10. def start(self) -> None: ...
  11. def update(self, value: int) -> None: ...
  12. def finish(self) -> None: ...