Package org.gnome.gtk

Class Spinner

java.lang.Object
All Implemented Interfaces:
Accessible, Buildable, ConstraintTarget, Proxy

@Generated("io.github.jwharm.JavaGI") public class Spinner extends Widget implements Accessible, Buildable, ConstraintTarget
Displays an icon-size spinning animation.

It is often used as an alternative to a ProgressBar for displaying indefinite activity, instead of actual progress.

An example GtkSpinner

To start the animation, use start(), to stop it use stop().

CSS nodes
GtkSpinner has a single CSS node with the name spinner. When the animation is active, the :checked pseudoclass is added to this node.