Class

GtkSpinner

[]

Description [src]

class Gtk.Spinner : Gtk.Widget
  implements Atk.ImplementorIface, Gtk.Buildable {
  /* No available fields */
}

A GtkSpinner widget displays an icon-size spinning animation. It is often used as an alternative to a GtkProgressBar for displaying indefinite activity, instead of actual progress.

To start the animation, use gtk_spinner_start(), to stop it use gtk_spinner_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.

[]

Hierarchy

hierarchy this GtkSpinner implements_0 AtkImplementorIface this--implements_0 implements_1 GtkBuildable this--implements_1 ancestor_0 GtkWidget ancestor_0--this ancestor_1 GInitiallyUnowned ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1
[]

Constructors

gtk_spinner_new

Returns a new spinner widget. Not yet started.

since: 2.20

[]

Instance methods

gtk_spinner_start

Starts the animation of the spinner.

since: 2.20

gtk_spinner_stop

Stops the animation of the spinner.

since: 2.20

Methods inherited from GtkWidget (263)
Methods inherited from GObject (43)
Methods inherited from GtkBuildable (10)
[]

Properties

Gtk.Spinner:active
No description available.

Properties inherited from GtkWidget (39)
[]

Signals

Signals inherited from GtkWidget (69)
Signals inherited from GObject (1)

Class structure