Function gtk4::render_check

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

Renders a checkmark (as in a CheckButton).

The StateFlags::CHECKED state determines whether the check is on or off, and StateFlags::INCONSISTENT determines whether it should be marked as undefined.

Typical checkmark rendering:

§Deprecated since 4.10


a StyleContext


a cairo::Context


X origin of the rectangle


Y origin of the rectangle


rectangle width


rectangle height