pdwidgets.widgets.progress_bar

Progress bar widget.

class pdwidgets.widgets.progress_bar.ProgressBar(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=0.0, padding=None, vertical=False, reverse=False)[source]

Bases: Widget

Horizontal or vertical progress indicator (0–1).

draw_ends()[source]

Draw the circular ends of the progress bar.

draw(_=None)[source]

Draw the progress bar on the screen.

changed()[source]

Invalidate after the progress value changes.