render_activity

function render_activity(context:Gtk.StyleContext, cr:cairo.Context, x:Number, y:Number, width:Number, height:Number):void {
    // Gjs wrapper for gtk_render_activity()
}

Renders an activity area (Such as in Gtk.Spinner or the fill line in Gtk.Range), the state Gtk.StateFlags.active determines whether there is activity going on.

Since 3.0

context

a Gtk.StyleContext

cr

a #cairo_t

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height