renderCheck

fnvoid renderCheck(gtk.style_context.StyleContext context, cairo.context.Context cr, double x, double y, double width, double height)

Renders a checkmark (as in a #GtkCheckButton).

The [gtk.types.StateFlags.Checked] state determines whether the check is on or off, and [gtk.types.StateFlags.Inconsistent] determines whether it should be marked as undefined.

Typical checkmark rendering:

![](checks.png)

Parameters

contexta #GtkStyleContext
cra #cairo_t
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height