Function gtk4::render_activity

source ·
pub fn render_activity(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    x: f64,
    y: f64,
    width: f64,
    height: f64
👎Deprecated: Since 4.10
Expand description

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

§Deprecated since 4.10


a StyleContext


a cairo::Context


X origin of the rectangle


Y origin of the rectangle


rectangle width


rectangle height