renderCheck

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:

void
renderCheck

Parameters

context gtk.style_context.StyleContext

a #GtkStyleContext

cr cairo.context.Context

a #cairo_t

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height