Function

Gtkpaint_spinner

deprecated: 3.0 

Declaration [src]

void
gtk_paint_spinner (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkWidget* widget,
  const gchar* detail,
  guint step,
  gint x,
  gint y,
  gint width,
  gint height
)

Description [src]

Draws a spinner on window using the given parameters.

Deprecated since: 3.0

Use gtk_render_icon() and the GtkStyleContext you are drawing instead.

Parameters

style

Type: GtkStyle

A GtkStyle.

The data is owned by the caller of the function.
cr

Type: cairo_t

A #cairo_t.

The data is owned by the caller of the function.
state_type

Type: GtkStateType

A state.

widget

Type: GtkWidget

The widget (may be NULL).

The argument can be NULL.
The data is owned by the caller of the function.
detail

Type: const gchar*

A style detail (may be NULL).

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
step

Type: guint

The nth step.

x

Type: gint

The x origin of the rectangle in which to draw the spinner.

y

Type: gint

The y origin of the rectangle in which to draw the spinner.

width

Type: gint

The width of the rectangle in which to draw the spinner.

height

Type: gint

The height of the rectangle in which to draw the spinner.