Gtk.Spinner
const Gtk = imports.gi.Gtk;
let spinner = new Gtk.Spinner({
active: value,
});
A GtkSpinner widget displays an icon-size spinning animation. It is often used as an alternative to a Gtk.ProgressBar for displaying indefinite activity, instead of actual progress.
To start the animation, use Gtk.start, to stop it use Gtk.stop.
Hierarchy
-
GObject.Object
-
GObject.InitiallyUnowned
-
Gtk.Widget
- Gtk.Spinner
-
-