GtkSpinner: GTK+ 2 Reference Manual

## GtkSpinner GtkSpinner |

## Functions

GtkWidget * | gtk_spinner_new ()
void | gtk_spinner_start ()
void | gtk_spinner_stop ()

## Properties

gboolean | active | Read / Write

## Style Properties

guint | cycle-duration | Read
guint | num-steps | Read

## Types and Values

struct | GtkSpinner

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkObject
                ╰── GtkWidget
                    ╰── GtkDrawingArea
                        ╰── GtkSpinner

## Implemented Interfaces

GtkSpinner implements AtkImplementorIface and GtkBuildable.

## Includes

    #include <gtk/gtk.h>

## Description

## Functions

### gtk_spinner_new ()

    GtkWidget *
    gtk_spinner_new (void);

Since: 2.20

### gtk_spinner_start ()

    void
    gtk_spinner_start (GtkSpinner *spinner);

Since: 2.20

### gtk_spinner_stop ()

    void
    gtk_spinner_stop (GtkSpinner *spinner);

Since: 2.20

## Types and Values

### struct GtkSpinner

    struct GtkSpinner;

## Property Details

### The `“active”` property

      “active”                   gboolean

Whether the spinner is active.

Flags: Read / Write

Default value: FALSE

## Style Property Details

### The `“cycle-duration”` style property

      “cycle-duration”           guint

The length of time in milliseconds for the spinner to complete a full loop.

Flags: Read

Allowed values: >= 500

Default value: 1000

Since: 2.20

### The `“num-steps”` style property

      “num-steps”                guint

The number of steps for the spinner to complete a full loop. The animation will complete a full cycle in one second by default (see #GtkSpinner:cycle-duration).

Flags: Read

Allowed values: >= 1

Default value: 12

Since: 2.20