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 gtk.check_button.CheckButton).

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 gtk.style_context.StyleContext
cra cairo.context.Context
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height