you are drawing instead
paintSpinner
fn
void paintSpinner(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.widget.Widget widget, string detail, uint step, int x, int y, int width, int height)Draws a spinner on window using the given parameters.
Parameters
style | a #GtkStyle |
cr | a #cairo_t |
stateType | a state |
widget | the widget (may be null) |
detail | a style detail (may be null) |
step | the nth step |
x | the x origin of the rectangle in which to draw the spinner |
y | the y origin of the rectangle in which to draw the spinner |
width | the width of the rectangle in which to draw the spinner |
height | the height of the rectangle in which to draw the spinner |
Deprecated
Use [gtk.global.renderIcon] and the #GtkStyleContext