pdwidgets.widgets.spinner

Busy spinner widget.

class pdwidgets.widgets.spinner.Spinner(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=0, padding=None, period_ms=80)[source]

Bases: Widget

Animated circular busy indicator.

start()[source]

Begin spinning.

stop()[source]

Stop spinning and hide.

draw(_=None)[source]

Draw a partial ring whose start angle tracks value.