S or /

SourceClass Spinner

from egui import Spinner
class Spinner:

A spinner widget used to indicate loading.

See also: egui.ProgressBar.

Methods§

Sourcedef color(self, /, color: Color32) -> Spinner§

Sets the spinner's color.

Sourcedef paint_at(self, /, ui: Ui, rect: Rect) -> None§

Paint the spinner in the given rectangle.

def show(self, /, ui: Ui) -> Response§
Sourcedef size(self, /, size: float) -> Spinner§

Sets the spinner's size. The size sets both the height and width, as the spinner is always square. If the size isn't set explicitly, the active style's interact_size is used.