Function

Gtk-3.0Gtkpaint_spinnerDeprecated 3.0

  • Draws a spinner on window using the given parameters.

    Parameters

    • Deprecatedstyle: Gtk.Style
    • Deprecatedcr: default.Context
    • Deprecatedstate_type: Gtk.StateType

      a state

    • Deprecatedwidget: Gtk.Widget

      the widget (may be null)

    • Deprecateddetail: string

      a style detail (may be null)

    • Deprecatedstep: number

      the nth step

    • Deprecatedx: number

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

    • Deprecatedy: number

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

    • Deprecatedwidth: number

      the width of the rectangle in which to draw the spinner

    • Deprecatedheight: number

      the height of the rectangle in which to draw the spinner

    Returns void

    since 3.0: Use gtk_render_icon() and the Gtk.StyleContext you are drawing instead