Spinner


Object Hierarchy:

Gtk.Spinner Gtk.Spinner Gtk.Spinner Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Spinner GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.Spinner Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.Spinner Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.Spinner Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "gtk_spinner_get_type ()" ) ]
public class Spinner : Widget, Accessible, Buildable, ConstraintTarget

A `GtkSpinner` widget displays an icon-size spinning animation.

It is often used as an alternative to a [[email protected]] for displaying indefinite activity, instead of actual progress.

![An example GtkSpinner](spinner.png)

To start the animation, use [[email protected]], to stop it use [[email protected]].

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



2022 vala-language.org