It derives from <GObject>.
A paintable showing a loading spinner.
<AdwSpinnerPaintable> size varies
depending on the available space, but is capped at 64×64 pixels.
To be able to animate,
<AdwSpinnerPaintable> needs a widget. It
will be animated according to that widget’s frame clock, and only if
that widget is mapped. Ideally it should be the same widget the
paintable is displayed in, but that’s not a requirement.
Most applications should be using Spinner instead.
<AdwSpinnerPaintable> is provided for the
cases where using a widget is impractical or impossible, such as
StatusPage:paintable:
<object class="AdwStatusPage" id="status_page">
<property name="paintable">
<object class="AdwSpinnerPaintable">
<property name="widget">status_page</property>
</object>
</property>
<!-- ... -->
</object>
The widget the spinner uses for frame clock.
Its value is a <GtkWidget>, or #f.
Set it with (set! (spinner-paintable:widget self) value).
Gets the widget used for frame clock.
Passed: a <AdwSpinnerPaintable>.
a spinner paintable
Returned: a <GtkWidget>, or #f.
the widget
Creates a new <AdwSpinnerPaintable> for
widget.
Passed, or left out: a <GtkWidget>, or
#f.
the widget used for frame clock
Returned: a <AdwSpinnerPaintable>.
the newly created <AdwSpinnerPaintable>
Sets the widget used for frame clock.
Passed: a <AdwSpinnerPaintable>.
a spinner paintable
Passed, or left out: a <GtkWidget>, or
#f.
the widget to use for frame clock