Spinner
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_spinner_get_type ()" ) ]
public sealed class Spinner : Widget, Accessible, Buildable, ConstraintTarget
public sealed class Spinner : Widget, Accessible, Buildable, ConstraintTarget
A `GtkSpinner` widget displays an icon-size spinning animation.
It is often used as an alternative to a [class@Gtk.ProgressBar] for displaying indefinite activity, instead of actual progress.
![An example GtkSpinner](spinner.png)
To start the animation, use [method@Gtk.Spinner.start], to stop it use [method@Gtk.Spinner.stop].
CSS nodes
`GtkSpinner` has a single CSS node with the name spinner. When the animation is active, the GtkSpinner:checked
pseudoclass is
added to this node.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable