Function gtk4::render_activity[][src]

pub fn render_activity<P: IsA<StyleContext>>(
    context: &P,
    cr: &Context,
    x: f64,
    y: f64,
    width: f64,
    height: f64
)
Expand description

Renders an activity indicator (such as in Spinner). The state StateFlags::CHECKED determines whether there is activity going on.

context

a StyleContext

cr

a cairo::Context

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height