GtkCellRendererSpinner: GTK+ 4 Reference Manual

## GtkCellRendererSpinner GtkCellRendererSpinner — Renders a spinning animation in a cell |

## Functions

GtkCellRenderer * | gtk_cell_renderer_spinner_new ()

## Types and Values

struct | GtkCellRendererSpinner

## Includes

    #include <gtk/gtk.h>

## Description

GtkCellRendererSpinner renders a spinning animation in a cell, very similar to GtkSpinner. It can often be used as an alternative to a GtkCellRendererProgress for displaying indefinite activity, instead of actual progress.

To start the animation in a cell, set the “active” property to `TRUE` and increment the “pulse” property at regular intervals. The usual way to set the cell renderer properties for each cell is to bind them to columns in your tree model using e.g. `gtk_tree_view_column_add_attribute()`.

## Functions

### gtk_cell_renderer_spinner_new ()

    GtkCellRenderer *
    gtk_cell_renderer_spinner_new (void);

Returns a new cell renderer which will show a spinner to indicate activity.

#### Returns

a new GtkCellRenderer

Since: 2.20

## Types and Values

### struct GtkCellRendererSpinner

    struct GtkCellRendererSpinner {
      GtkCellRenderer                parent;
    };

## See Also

GtkSpinner, GtkCellRendererProgress